/* Gu Xiang — everyday things, thoughtfully made. */
:root {
  --paper: #f3efe6;
  --ink: #292922;
  --red: #ad3825;
  --line: rgba(41, 41, 34, 0.2);
  --gutter: clamp(24px, 5vw, 88px);
  --sans: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  border: 0;
  cursor: pointer;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
img {
  display: block;
  max-width: 100%;
}
::selection {
  background: #ba452e;
  color: #fff8e9;
}
:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 20px;
  padding: 14px;
  background: var(--ink);
  color: var(--paper);
  z-index: 200;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  height: 86px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  padding: 0 var(--gutter);
  gap: 40px;
}
.brand {
  font-size: 31px;
  letter-spacing: -2px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.brand-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  margin: 14px 0 0 2px;
}
.header-note {
  font-size: 11px;
  letter-spacing: 0.08em;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 35px;
  font-size: 12px;
}
.site-header nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  position: relative;
}
.site-header nav a:after {
  content: "";
  position: absolute;
  bottom: 8px;
  height: 1px;
  background: currentColor;
  left: 0;
  right: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-count {
  font-size: 9px;
  align-self: flex-start;
  padding-top: 10px;
  opacity: 0.55;
}
/* A full-bleed, paper-like opening poster. */
.hero {
  height: 100svh;
  min-height: 680px;
  max-height: 1100px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #f3efe6;
}
.hero-art {
  position: absolute;
  inset: -4% -14% -4% 16%;
  z-index: -1;
  mask-image: linear-gradient(90deg, transparent, black 20%);
  transform: translate3d(var(--hero-x, 0px), var(--hero-y, 0px), 0) scale(1.035);
  will-change: transform;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-content {
  position: absolute;
  left: var(--gutter);
  top: 20%;
  z-index: 2;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 0.17em;
  font-weight: 500;
}
.hero-kicker {
  margin-bottom: 28px;
}
.hero-statement {
  font-family: var(--serif);
  font-size: clamp(30px, 2.8vw, 45px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.03em;
  margin-top: 44px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}
.hero-link {
  margin-top: 30px;
}
.round-arrow {
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 17px;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.35s var(--ease);
}
.hero-side-note {
  position: absolute;
  top: 130px;
  right: var(--gutter);
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: 0.12em;
}
.hero-bottom {
  position: absolute;
  bottom: 25px;
  left: var(--gutter);
  right: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.hero-edition {
  font-size: 9px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.12em;
}
.scroll-cue {
  font-size: 24px;
  min-height: 35px;
  min-width: 35px;
  display: grid;
  place-items: center;
}
/* Exhibition introduction. */
.work-intro {
  padding: 110px var(--gutter) 95px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px 60px;
  align-items: end;
}
.section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  display: flex;
  gap: 12px;
  align-items: center;
}
.work-intro .section-label {
  grid-column: 1/-1;
}
.tiny-cross {
  font-size: 20px;
  margin-right: 4px;
}
.muted {
  opacity: 0.55;
}
.work-intro h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.1vw, 64px);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.03em;
}
.soft {
  color: #85847b;
}
.intro-note {
  justify-self: end;
  font-size: 13px;
  line-height: 1.95;
  margin-right: 4vw;
  margin-bottom: 9px;
  color: #65645d;
}
/* Two full-width product chapters. */
.project {
  position: relative;
  padding: 32px var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}
.project-youyu {
  background: #ad3825;
  color: #fff0db;
}
.project-kidbucks {
  background: #dce9d5;
  color: #193f35;
}
.project-topline {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.12em;
  position: relative;
  z-index: 3;
  border-bottom: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 25%, transparent);
  padding-bottom: 23px;
}
.project-topline span:nth-child(2) {
  position: absolute;
  left: 45%;
  letter-spacing: 0.08em;
}
.project-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  min-height: 750px;
  align-items: center;
}
.project-copy {
  position: relative;
  z-index: 2;
  padding: 55px 0 75px;
}
.app-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  margin-bottom: 34px;
}
.project h2 {
  font-family: var(--serif);
  font-size: clamp(55px, 6.4vw, 96px);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.05em;
  white-space: nowrap;
}
.project-youyu h2 span {
  font-size: 0.46em;
  letter-spacing: 0;
  margin-left: 12px;
}
.project-tagline {
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 40px);
  line-height: 1.55;
  margin-top: 29px;
  letter-spacing: 0.02em;
}
.project-description {
  font-size: 12px;
  line-height: 1.95;
  opacity: 0.78;
  margin-top: 26px;
  letter-spacing: 0.03em;
}
.project-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid currentColor;
  width: 195px;
  padding: 18px 0;
  font-size: 12px;
  margin-top: 33px;
  transition: width 0.3s var(--ease);
}
.project-cta span {
  font-size: 21px;
  transition: transform 0.3s var(--ease);
}
.project-stage {
  position: relative;
  align-self: stretch;
  min-width: 0;
}
.stage-lettering {
  position: absolute;
  left: -10%;
  bottom: 4%;
  font-size: clamp(220px, 25vw, 450px);
  font-family: var(--serif);
  color: #c66143;
  opacity: 0.42;
  letter-spacing: -0.12em;
  white-space: nowrap;
  z-index: -1;
  line-height: 1;
  pointer-events: none;
}
.phone-position {
  position: absolute;
  width: clamp(195px, 21vw, 320px);
  transform: translateY(var(--shift, 0px));
  will-change: transform;
}
.phone {
  padding: 7px;
  border-radius: 42px;
  background: linear-gradient(
    130deg,
    #e5dbca,
    #625950 40%,
    #c0b7a7 60%,
    #4a4540
  );
  box-shadow:
    20px 35px 45px -20px rgba(40, 15, 8, 0.5),
    inset 0 0 0 1px #e5dccc;
  transition: transform 0.55s var(--ease);
}
.phone img {
  width: 100%;
  height: auto;
  border: 3px solid #242321;
  border-radius: 35px;
}
.phone-back {
  left: 0;
  top: 15%;
  width: clamp(185px, 19.3vw, 290px);
  z-index: 1;
}
.phone-back .phone {
  transform: rotate(-13deg);
}
.phone-front {
  left: 41%;
  top: 10%;
  z-index: 2;
}
.phone-front .phone {
  transform: rotate(9deg);
}
.stage-caption {
  position: absolute;
  bottom: 31px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 8px;
  letter-spacing: 0.17em;
  opacity: 0.7;
}
.gallery-trigger {
  display: none;
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 73px;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  font-size: 11px;
  min-height: 44px;
}
.has-gallery .gallery-trigger {
  display: flex;
}
.gallery-trigger > span {
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  font-size: 21px;
  transition:
    transform 0.35s var(--ease),
    background 0.25s,
    color 0.25s;
}
.project-bottomline {
  border-top: 1px solid color-mix(in srgb, currentColor 25%, transparent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 0 29px;
  font-size: 10px;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 3;
}
.project-bottomline i {
  font-style: normal;
  opacity: 0.4;
  margin: 0 16px;
}
.product-signature {
  font-family: var(--serif);
  font-size: 16px;
  letter-spacing: 0.05em;
}
.project-kidbucks h2 {
  font-family: var(--sans);
  font-size: clamp(46px, 5.8vw, 89px);
  font-weight: 500;
  letter-spacing: -0.065em;
  position: relative;
  width: max-content;
}
.title-spark {
  position: absolute;
  top: -20px;
  right: -23px;
  font-size: 24px;
  color: #467355;
}
.project-kidbucks .project-layout {
  min-height: 750px;
}
.phone-main {
  left: 30%;
  top: 8%;
  width: clamp(210px, 22vw, 335px);
  z-index: 2;
}
.phone-main .phone {
  transform: rotate(-8deg);
  background: linear-gradient(
    130deg,
    #e5f2df,
    #7b8c7a 40%,
    #c2cfbc 60%,
    #546653
  );
  box-shadow: 20px 35px 45px -20px rgba(25, 63, 53, 0.33);
}
.coin {
  position: absolute;
  object-fit: contain;
  z-index: 3;
  transform: translateY(var(--shift, 0px)) rotate(var(--coin-rotation, 0deg));
  will-change: transform;
  pointer-events: none;
}
.coin-one {
  width: 43%;
  left: -6%;
  top: 44%;
  --coin-rotation: -20deg;
  filter: drop-shadow(7px 24px 18px rgba(71, 79, 34, 0.15));
}
.coin-two {
  width: 30%;
  right: -4%;
  top: 7%;
  --coin-rotation: 17deg;
  z-index: 1;
}
.orbit {
  position: absolute;
  border: 1px solid #92b092;
  opacity: 0.34;
  width: 105%;
  height: 65%;
  left: 2%;
  top: 12%;
  border-radius: 50%;
  transform: rotate(-35deg);
}
.orbit-two {
  transform: rotate(30deg);
  width: 89%;
  height: 50%;
  top: 24%;
  left: 8%;
}
/* A short note from the maker. */
.about {
  padding: 110px var(--gutter) 45px;
}
.about-body {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 70px;
  align-items: end;
  margin: 67px 0 74px;
}
.about h2 {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 69px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.serif-emphasis {
  position: relative;
  color: var(--red);
}
.serif-emphasis:after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: -3px;
  right: -3px;
  height: 8px;
  border-top: 1px solid var(--red);
  border-radius: 50%;
  transform: rotate(-3deg);
}
.about-note {
  justify-self: end;
  min-width: 230px;
}
.about-note p {
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.03em;
}
.maker-signature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  margin-top: 35px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 24px;
}
.maker-signature span {
  font-family: var(--sans);
  font-style: normal;
  font-size: 17px;
}
.about-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.15em;
}
.little-flower {
  color: var(--red);
  font-size: 58px;
  line-height: 1;
}
.contact {
  background: #282a24;
  color: #f0eddf;
  padding: 39px var(--gutter) 26px;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.contact-top .section-label {
  font-size: 9px;
  color: #aeafa3;
}
.back-top {
  font-size: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 44px;
}
.back-top span {
  font-size: 20px;
}
.hello-link {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(72px, 15.6vw, 260px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.07em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 63px 0 52px;
}
.hello-arrow {
  font-family: var(--sans);
  font-size: 0.68em;
  line-height: 1;
  margin-right: 1vw;
  transition: transform 0.45s var(--ease);
  font-weight: 300;
}
.contact-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 75px;
  font-size: 12px;
}
.contact-details > p {
  color: #b5b7aa;
  font-family: var(--serif);
  font-size: 16px;
}
.email-row {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}
.email-row > a {
  border-bottom: 1px solid #797c6c;
  padding: 8px 0;
}
.copy-button {
  width: 40px;
  height: 40px;
  background: transparent;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s;
}
.copy-button svg {
  width: 18px;
  height: 18px;
}
#copy-status {
  position: absolute;
  right: 0;
  top: 48px;
  color: #d5ddbf;
  font-size: 11px;
  white-space: nowrap;
}
.footer-line {
  border-top: 1px solid #535648;
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.07em;
  color: #b5b7aa;
}
/* Native, keyboard-accessible image viewer. */
.gallery-dialog {
  background: var(--paper);
  color: var(--ink);
  border: 0;
  width: min(840px, calc(100% - 48px));
  max-width: none;
  max-height: calc(100svh - 48px);
  margin: auto;
  padding: 28px 34px;
  box-shadow: 0 25px 100px #0003;
  overflow: auto;
}
.gallery-dialog::backdrop {
  background: #161b18b8;
  backdrop-filter: blur(12px);
}
.gallery-heading,
.gallery-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.gallery-heading {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.gallery-heading h2 {
  font-size: 14px;
  font-weight: 500;
}
.gallery-close {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  min-height: 36px;
}
.gallery-close span {
  font-size: 28px;
  font-weight: 300;
}
.gallery-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 45px;
  padding: 23px 0;
  min-height: 160px;
}
#gallery-image {
  max-height: calc(100svh - 235px);
  max-width: calc(100% - 180px);
  width: auto;
  height: auto;
  border-radius: 22px;
  box-shadow: 0 8px 25px #29292218;
}
.gallery-nav {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  font-size: 21px;
}
.gallery-footer {
  font-size: 11px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
#gallery-count {
  font-variant-numeric: tabular-nums;
  font-size: 10px;
  letter-spacing: 0.1em;
}
/* Progressive enhancement: content remains visible without JavaScript. */
.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
}
.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-content {
    animation: hero-enter 1.1s var(--ease) both;
  }
  .hero-art img {
    animation: art-enter 1.7s var(--ease) both;
  }
  .hero-bottom,
  .hero-side-note {
    animation: fade-enter 1.3s 0.25s both;
  }
  @keyframes hero-enter {
    from {
      opacity: 0;
      transform: translateY(24px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  @keyframes art-enter {
    from {
      opacity: 0;
      transform: scale(1.035);
    }
    to {
      opacity: 1;
      transform: scale(1);
    }
  }
  @keyframes fade-enter {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
@media (hover: hover) and (pointer: fine) {
  .site-header nav a:hover:after {
    transform: scaleX(1);
  }
  .hero-link:hover .round-arrow {
    background: var(--ink);
    color: var(--paper);
    transform: translateY(3px);
  }
  .project-cta:hover {
    width: 211px;
  }
  .project-cta:hover span {
    transform: translate(3px, -3px);
  }
  .gallery-trigger:hover > span {
    transform: rotate(45deg);
  }
  .hello-link:hover .hello-arrow {
    transform: translate(12px, -12px);
  }
  .copy-button:hover,
  .gallery-nav:hover {
    background: #a3a58d26;
  }
  .phone-front:hover .phone {
    transform: rotate(6deg) translateY(-8px);
  }
  .phone-main:hover .phone {
    transform: rotate(-5deg) translateY(-8px);
  }
}
@media (min-width: 1600px) {
  .project-layout {
    min-height: 870px;
  }
  .project-kidbucks .project-layout {
    min-height: 870px;
  }
  .phone-back {
    left: 8%;
    top: 13%;
  }
  .phone-front {
    left: 46%;
    top: 10%;
  }
  .phone-main {
    top: 8%;
  }
  .hero-content {
    top: 22%;
  }
}
@media (max-width: 1050px) {
  .hero-content {
    top: 24%;
  }
  .hero-statement {
    font-size: 31px;
    margin-top: 32px;
  }
  .hero-art {
    left: 6%;
    right: -28%;
  }
  .project-layout,
  .project-kidbucks .project-layout {
    min-height: 690px;
    grid-template-columns: 43% 57%;
  }
  .project h2 {
    font-size: 62px;
  }
  .project-kidbucks h2 {
    font-size: 53px;
  }
  .phone-back {
    left: 0;
    top: 22%;
    width: 190px;
  }
  .phone-front {
    left: 39%;
    top: 14%;
    width: 215px;
  }
  .phone-main {
    left: 27%;
    top: 14%;
    width: 230px;
  }
  .project-copy {
    padding: 45px 0;
  }
  .project-tagline {
    font-size: 28px;
  }
  .project-topline span:nth-child(2) {
    left: 44%;
  }
  .stage-caption {
    font-size: 7px;
    left: 52%;
  }
  .coin-one {
    width: 50%;
    top: 45%;
  }
  .coin-two {
    width: 35%;
    top: 9%;
  }
  .work-intro {
    padding-top: 80px;
    padding-bottom: 75px;
  }
  .about {
    padding-top: 85px;
  }
  .about-body {
    gap: 35px;
  }
  .about-note {
    min-width: 200px;
  }
  .hello-link {
    margin-top: 60px;
  }
}
@media (max-width: 700px) {
  :root {
    --gutter: 24px;
  }
  html {
    scroll-padding-top: 20px;
  }
  .site-header {
    height: 76px;
    gap: 20px;
  }
  .brand {
    font-size: 29px;
  }
  .header-note {
    display: none;
  }
  .site-header nav {
    gap: 24px;
    font-size: 11px;
  }
  .hero {
    height: 100svh;
    min-height: 720px;
    max-height: 980px;
  }
  .hero-content {
    top: 16%;
    left: var(--gutter);
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 0.12em;
    margin-bottom: 25px;
  }
  .hero-statement {
    font-size: 25px;
    line-height: 1.5;
    margin-top: 27px;
  }
  .hero-link {
    margin-top: 22px;
    font-size: 11px;
    gap: 20px;
  }
  .round-arrow {
    width: 32px;
    height: 32px;
  }
  .hero-art {
    inset: 16% -51% -5% -21%;
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 28%,
      #000 88%,
      transparent 100%
    );
  }
  .hero-art img {
    object-position: 52% 65%;
  }
  .hero-side-note {
    display: none;
  }
  .hero-bottom {
    bottom: 22px;
    font-size: 9px;
    padding-top: 15px;
  }
  .hero-edition {
    display: none;
  }
  .scroll-cue {
    font-size: 22px;
  }
  .work-intro {
    padding: 63px var(--gutter) 56px;
    gap: 32px;
    grid-template-columns: 1fr;
  }
  .section-label {
    font-size: 9px;
    gap: 9px;
  }
  .work-intro h2 {
    font-size: 37px;
  }
  .intro-note {
    justify-self: start;
    margin: 0;
    font-size: 11px;
    line-height: 1.9;
  }
  .project {
    padding-top: 23px;
  }
  .project-topline {
    font-size: 8px;
    padding-bottom: 19px;
    letter-spacing: 0.08em;
  }
  .project-topline span:nth-child(2) {
    position: static;
    margin-left: auto;
  }
  .project-year {
    display: none;
  }
  .project-layout,
  .project-kidbucks .project-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
  }
  .project-copy {
    padding: 39px 0 15px;
  }
  .app-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    margin-bottom: 20px;
  }
  .project h2 {
    font-size: 61px;
  }
  .project-youyu h2 span {
    font-size: 0.45em;
    margin-left: 12px;
  }
  .project-kidbucks h2 {
    font-size: 55px;
  }
  .project-tagline {
    font-size: 25px;
    line-height: 1.5;
    margin-top: 21px;
  }
  .project-description {
    font-size: 11px;
    margin-top: 17px;
  }
  .project-cta {
    font-size: 11px;
    width: 173px;
    margin-top: 18px;
    padding: 13px 0;
  }
  .project-stage {
    height: 520px;
    min-height: 0;
    margin-left: -6px;
    margin-right: -6px;
  }
  .phone-back {
    width: 175px;
    top: 15%;
    left: 6%;
  }
  .phone-front {
    width: 190px;
    top: 10%;
    left: 43%;
  }
  .phone {
    padding: 5px;
    border-radius: 29px;
  }
  .phone img {
    border-width: 2px;
    border-radius: 24px;
  }
  .stage-lettering {
    font-size: 250px;
    left: 0;
    bottom: 14%;
  }
  .gallery-trigger {
    bottom: 29px;
    right: 5px;
    font-size: 10px;
    gap: 8px;
  }
  .gallery-trigger > span {
    width: 37px;
    height: 37px;
    font-size: 17px;
  }
  .stage-caption {
    bottom: 11px;
    font-size: 6px;
    left: 0;
    transform: none;
    letter-spacing: 0.11em;
  }
  .project-bottomline {
    padding: 23px 0 25px;
    font-size: 8px;
    letter-spacing: 0;
  }
  .project-bottomline i {
    margin: 0 9px;
  }
  .product-signature {
    font-size: 13px;
  }
  .phone-main {
    width: 206px;
    left: 30%;
    top: 7%;
  }
  .coin-one {
    width: 49%;
    left: -10%;
    top: 43%;
  }
  .coin-two {
    width: 35%;
    right: -4%;
    top: 4%;
  }
  .orbit {
    top: 13%;
    height: 58%;
    left: 0;
    width: 100%;
  }
  .orbit-two {
    top: 22%;
    height: 44%;
    left: 9%;
    width: 87%;
  }
  .project-kidbucks .project-stage {
    height: 520px;
  }
  .title-spark {
    right: -21px;
    top: -12px;
    font-size: 21px;
  }
  .about {
    padding: 64px var(--gutter) 29px;
  }
  .about-body {
    display: block;
    margin: 39px 0 40px;
  }
  .about h2 {
    font-size: 35px;
  }
  .about-note {
    margin-top: 34px;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: end;
  }
  .about-note p {
    font-size: 11px;
    line-height: 1.9;
  }
  .maker-signature {
    margin: 0;
    min-width: 115px;
    font-size: 21px;
    gap: 15px;
    padding-top: 13px;
  }
  .maker-signature span {
    font-size: 14px;
  }
  .about-bottom {
    font-size: 7px;
    letter-spacing: 0.08em;
  }
  .little-flower {
    font-size: 43px;
  }
  .contact {
    padding-top: 23px;
  }
  .contact-top .section-label {
    font-size: 6px;
    letter-spacing: 0.08em;
  }
  .back-top {
    font-size: 8px;
    gap: 8px;
  }
  .back-top span {
    font-size: 18px;
  }
  .hello-link {
    font-size: 19vw;
    margin: 36px 0 30px;
    letter-spacing: -0.075em;
  }
  .hello-arrow {
    font-size: 0.7em;
  }
  .contact-details {
    align-items: start;
    flex-direction: column;
    gap: 18px;
    padding-bottom: 43px;
    font-size: 11px;
  }
  .contact-details > p {
    font-size: 13px;
  }
  .email-row {
    gap: 16px;
  }
  .footer-line {
    font-size: 7px;
    letter-spacing: 0;
    padding-top: 23px;
  }
  .gallery-dialog {
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    padding: 16px;
  }
  .gallery-heading h2 {
    font-size: 12px;
  }
  .gallery-view {
    gap: 12px;
    padding: 18px 0;
  }
  .gallery-nav {
    width: 34px;
    height: 40px;
    border: 0;
    font-size: 23px;
  }
  #gallery-image {
    max-width: calc(100% - 86px);
    max-height: calc(100svh - 200px);
    border-radius: 16px;
  }
  .gallery-footer {
    font-size: 10px;
    padding-top: 14px;
  }
  .gallery-close {
    font-size: 10px;
    gap: 9px;
  }
}
@media (max-width: 380px) {
  :root {
    --gutter: 20px;
  }
  .hero {
    min-height: 680px;
  }
  .hero-statement {
    font-size: 23px;
  }
  .hero-art {
    inset: 19% -63% -5% -22%;
  }
  .phone-back {
    width: 151px;
    left: 4%;
  }
  .phone-front {
    width: 169px;
    left: 41%;
  }
  .project-stage,
  .project-kidbucks .project-stage {
    height: 460px;
  }
  .phone-main {
    width: 183px;
    left: 28%;
  }
  .project-kidbucks h2 {
    font-size: 48px;
  }
  .about h2 {
    font-size: 31px;
  }
  .about-note {
    gap: 12px;
  }
  .maker-signature {
    min-width: 102px;
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .hero-art,
  .phone-position,
  .coin {
    transform: none !important;
    will-change: auto;
  }
  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
/* Keep asset proportions, including decorative transparent coins. */
.coin {
  height: auto;
}
.gallery-heading {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
}
.gallery-heading h2 {
  margin-right: auto;
}
.gallery-zoom {
  font-size: 12px;
  background: transparent;
  min-height: 36px;
  padding: 0 12px;
  border-left: 1px solid var(--line);
}
#gallery-image {
  max-height: calc(100svh - 255px);
}
.gallery-dialog.is-zoomed #gallery-image {
  max-height: none;
  width: 620px;
  max-width: calc(100% - 100px);
}
.gallery-dialog.is-zoomed .gallery-view {
  gap: 6px;
  align-items: flex-start;
}
.gallery-dialog.is-zoomed .gallery-nav {
  position: sticky;
  top: 105px;
}
@media (max-width: 700px) {
  .gallery-zoom {
    font-size: 10px;
    padding: 0 7px;
  }
  #gallery-image {
    max-height: calc(100svh - 200px);
  }
  .gallery-dialog.is-zoomed #gallery-image {
    max-width: calc(100% - 50px);
  }
  .gallery-dialog.is-zoomed .gallery-nav {
    width: 22px;
  }
  .gallery-dialog.is-zoomed .gallery-view {
    gap: 3px;
  }
}
@media (max-width: 700px) {
  .hero {
    min-height: 620px;
  }
  .hero-art {
    inset: auto;
    top: 36%;
    left: -30%;
    width: 160%;
    height: 51%;
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 20%,
      #000 82%,
      transparent 100%
    );
  }
  .hero-art img {
    object-position: center;
  }
  .hero-content {
    top: 15%;
  }
}
/* Readable small labels and comfortable short-viewport spacing. */
.project-description {
  font-size: 14px;
}
#copy-status {
  left: 0;
  right: auto;
  max-width: calc(100vw - 48px);
  white-space: normal;
}
@media (min-width: 701px) and (max-height: 800px) {
  .hero-content {
    top: 18%;
  }
  .hero-statement {
    margin-top: 30px;
  }
  .hero-link {
    margin-top: 24px;
  }
}
@media (max-width: 700px) {
  .site-header nav,
  .project-cta {
    font-size: 12px;
  }
  .project-description {
    font-size: 12px;
  }
  .project-topline,
  .project-bottomline,
  .hero-kicker,
  .stage-caption,
  .about-bottom,
  .contact-top .section-label,
  .footer-line {
    font-size: 9px;
  }
  .back-top {
    font-size: 10px;
  }
  .about-note p {
    font-size: 12px;
  }
  .stage-caption {
    letter-spacing: 0.06em;
  }
}
/* Compact personal wordmark in the navigation. */
.brand {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.brand-dot {
  width: 5px;
  height: 5px;
  margin: 9px 0 0 0;
}
@media (max-width: 700px) {
  .brand {
    font-size: 18px;
    letter-spacing: -0.04em;
  }
  .site-header nav {
    gap: 21px;
  }
}
@media (max-width: 380px) {
  .brand {
    font-size: 16px;
  }
  .site-header nav {
    gap: 17px;
  }
}
@media (min-width: 701px) and (max-width: 1050px) and (orientation: portrait) {
  .hero-content {
    top: 15%;
  }
  .hero-art {
    inset: auto;
    top: 32%;
    left: -2%;
    width: 126%;
    height: 60%;
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 18%,
      #000 85%,
      transparent 100%
    );
  }
  .hero-art img {
    object-position: center;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .hero-content {
    top: 13%;
  }
  .hero-art {
    top: 40%;
    height: 49%;
  }
}
.copy-button,
.gallery-nav {
  min-width: 44px;
  min-height: 44px;
}
.gallery-close,
.gallery-zoom {
  min-height: 44px;
}
.maker-signature span {
  color: var(--red);
}
@media (max-width: 700px) {
  .gallery-dialog.is-zoomed .gallery-nav {
    min-width: 22px;
  }
  .gallery-dialog.is-zoomed #gallery-image {
    max-width: calc(100% - 50px);
  }
}
@media (max-width: 700px) {
  .gallery-view {
    gap: 8px;
  }
  #gallery-image {
    max-width: calc(100% - 104px);
  }
}

/* The opening message and artwork carry the composition. */
.hero-content {
  top: 30%;
}
.hero-statement {
  font-size: clamp(44px, 4.8vw, 76px);
  font-weight: 500;
  line-height: 1.45;
  margin-top: 0;
  letter-spacing: 0.015em;
}
.hero-link {
  margin-top: 32px;
}
@media (min-width: 701px) and (max-width: 1050px) and (orientation: portrait) {
  .hero-content {
    top: 20%;
  }
}
@media (max-width: 700px) {
  .hero-content {
    top: 19%;
  }
  .hero-statement {
    font-size: clamp(32px, 9.3vw, 48px);
    line-height: 1.5;
    margin-top: 0;
  }
  .hero-link {
    margin-top: 26px;
  }
}
@media (max-width: 700px) and (max-height: 740px) {
  .hero-content {
    top: 18%;
  }
}
