:root {
  --paper: #faf1ee;
  --ink: #3d2c2f;
  --soft: #7d6a69;
  --gold: #a07a35;
  --gold-hi: #c9a456;
  --gold-ink: #fffaf3;
  --line: rgba(61, 44, 47, .14);
  --veil: rgba(250, 241, 238, .82);
  --serif:
    "Cormorant Garamond",
    "Cormorant",
    Garamond,
    "Times New Roman",
    serif;
  --sans:
    "Jost",
    "Futura",
    "Century Gothic",
    sans-serif;
  --gut: clamp(16px, 4.4vw, 64px);
  --hh: 76px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --out: cubic-bezier(.4, 0, .9, .6);
}
* {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  background: var(--paper);
  scroll-padding-top: var(--hh);
  interpolate-size: allow-keywords;
}
html.lock,
html.menu-open {
  overflow: hidden;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 300 16px/1.6 var(--sans);
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color .25s;
}
a:hover {
  color: var(--gold);
  text-decoration: none;
}
:focus-visible {
  outline: 1.5px solid var(--gold);
  outline-offset: 3px;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 400;
  margin: 0;
  line-height: 1.15;
  text-wrap: balance;
}
p {
  margin: 0 0 1em;
}
.nw {
  white-space: nowrap;
}
.sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 60;
  background: var(--paper);
  padding: 8px 14px;
  border: 1px solid var(--line);
}
.skip:focus {
  top: 12px;
}
html.wait #view,
html.wait #foot,
html.wait header#top {
  opacity: 0;
}
#view,
#foot {
  transition: opacity .7s var(--ease);
}
#view.leaving {
  opacity: 0;
  transition: opacity .18s var(--out);
}
#view:focus {
  outline: none;
}
#view {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  overflow-x: clip;
}
body:not(.home) #view {
  padding-top: var(--hh);
}
#loader {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  background: var(--paper);
  transition: opacity .8s var(--ease), visibility 0s .8s;
  animation: loader-safety .6s 14s forwards;
}
#loader .bloom {
  width: min(46vw, 200px);
  aspect-ratio: 1;
  transition: transform .9s var(--ease);
}
#loader svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  animation: loader-breath 3.4s ease-in-out infinite;
}
#loader .pt {
  opacity: 0;
  transform: scale(.35) rotate(-14deg);
  transition: opacity .55s var(--ease), transform .75s var(--ease);
  transition-delay: calc(var(--i) * 18ms);
  mix-blend-mode: multiply;
}
#loader .pt.on {
  opacity: .62;
  transform: none;
}
#loader .heart {
  fill: var(--gold-hi);
  animation: loader-pulse 1.5s ease-in-out infinite;
}
#loader.out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
#loader.out .bloom {
  transform: scale(1.4);
}
@keyframes loader-breath {
  50% {
    transform: rotate(5deg) scale(1.035);
  }
}
@keyframes loader-pulse {
  50% {
    opacity: .45;
  }
}
@keyframes loader-safety {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
#loader .still-peony {
  --iw: min(100vw, 100vh * 1.7915, 1600px);
  position: absolute;
  inset: 0 0 auto 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
}
#loader .still-peony {
  background: url(assets/peony/hero-still.webp) right bottom / var(--iw) auto no-repeat;
}
#loader .bloom,
html:not(.boot-away) #loader .still-small,
html.boot-away #loader .still-peony {
  display: none;
}
#loader .still-small {
  width: min(30vw, 130px);
  height: auto;
}
html:not(.boot-away) #loader.out {
  transition: opacity .8s var(--ease) .6s, visibility 0s 1.4s;
}
#sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#dawn {
  position: absolute;
  inset: -20%;
  opacity: 0;
  background:
    radial-gradient(
      closest-side at 50% 58%,
      rgba(244, 196, 208, .7) 0%,
      rgba(240, 214, 200, .45) 42%,
      rgba(232, 214, 170, .22) 66%,
      rgba(250, 241, 238, 0) 100%);
}
#garden {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.gf {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  transform-origin: 50% 50%;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.gf.in {
  opacity: .92;
}
.gf.in.out {
  opacity: 0;
  transition: opacity .25s var(--out);
}
.bloom-host .painted {
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
#hero .bloom-host .painted {
  filter: saturate(.84) contrast(.9) brightness(1.04);
}
#hero .bloom-host.in .painted {
  opacity: .9;
}
.bloom-host.in .painted {
  opacity: 1;
}
.bloom-host .painted.still {
  object-fit: contain;
}
header#top {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 36px);
  height: var(--hh);
  padding: 0 var(--gut);
  background: rgba(250, 241, 238, 0);
  transition:
    opacity .7s var(--ease),
    background-color .5s var(--ease),
    height .5s var(--ease),
    box-shadow .5s var(--ease);
}
header#top.scrolled {
  height: 62px;
  background: var(--veil);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  flex: none;
}
.brand img {
  width: 40px;
  height: auto;
  transition: width .5s var(--ease);
}
.brand span {
  font: italic 500 27px/1 var(--serif);
  letter-spacing: .01em;
  white-space: nowrap;
  transition: font-size .5s var(--ease);
}
header.scrolled .brand img {
  width: 32px;
}
header.scrolled .brand span {
  font-size: 23px;
}
.brand:hover {
  color: var(--gold);
}
#nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  padding-right: clamp(8px, 1.2vw, 20px);
}
.nav-links {
  display: flex;
  gap: clamp(14px, 1.6vw, 28px);
}
.nav-links a {
  position: relative;
  font: 400 13.5px/1 var(--sans);
  letter-spacing: .04em;
  padding: 10px 0;
  color: var(--ink);
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform .35s var(--ease);
}
.nav-links a:hover,
.nav-links a[aria-current=page] {
  color: var(--gold);
}
.nav-links a[aria-current=page]::after {
  transform: scale(1);
}
.nav-prefs {
  display: none;
}
.tools {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: none;
}
.icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  transition: background-color .25s, color .25s;
}
.icon:hover {
  color: var(--gold);
  background: rgba(160, 122, 53, .08);
}
.icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon svg path {
  transition: transform .35s var(--ease);
  transform-origin: center;
  transform-box: fill-box;
}
.count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--gold);
  color: var(--gold-ink);
  font: 500 10.5px/17px var(--sans);
  text-align: center;
}
#menu-btn {
  display: none;
}
html.menu-open #menu-btn .l1 {
  transform: translateY(3px) rotate(45deg);
}
html.menu-open #menu-btn .l2 {
  transform: translateY(-3px) rotate(-45deg);
}
.pop {
  position: relative;
}
.pop > button {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 8px;
  font: 400 17px/1 var(--serif);
  transition: color .25s;
}
#lang-pop > button .lbl {
  display: none;
}
#cur-pop > button .lbl {
  font: 400 12.5px/1 var(--sans);
  letter-spacing: .06em;
}
.pop > button:hover {
  color: var(--gold);
}
.pop > button::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1px solid;
  border-bottom: 1px solid;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .3s var(--ease);
}
.pop.open > button::after {
  transform: translateY(1px) rotate(225deg);
}
.pop ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 5;
  margin: 0;
  padding: 6px;
  list-style: none;
  min-width: 164px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: 0 18px 40px -22px rgba(61, 44, 47, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity .2s var(--out),
    transform .25s var(--out),
    visibility 0s .25s;
}
.pop.open ul {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition:
    opacity .25s var(--ease),
    transform .3s var(--ease),
    visibility 0s;
}
.pop li button {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border-radius: 3px;
  font: 400 15px/1.2 var(--sans);
  text-align: left;
  transition: background-color .2s, color .2s;
}
.pop li button:hover {
  background: rgba(160, 122, 53, .09);
  color: var(--gold);
}
.pop li button[aria-current=true] {
  color: var(--gold);
}
.sym {
  width: 22px;
  font: 500 18px/1 var(--serif);
  text-align: center;
}
.flag {
  width: 21px;
  height: 14px;
  border-radius: 2px;
  flex: none;
  box-shadow: 0 0 0 .5px rgba(61, 44, 47, .25);
}
.search {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 50px -40px rgba(61, 44, 47, .45);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .2s var(--out), transform .25s var(--out);
}
.search.open {
  opacity: 1;
  transform: none;
  transition: opacity .3s var(--ease), transform .35s var(--ease);
}
.search-in {
  max-width: 760px;
  margin: 0 auto;
  padding: 22px var(--gut) 26px;
}
.search input {
  width: 100%;
  font: 400 26px/1.3 var(--serif);
  color: var(--ink);
  background: none;
  border: 0;
  border-bottom: 1px solid var(--gold);
  padding: 6px 0 10px;
  border-radius: 0;
}
.search input:focus {
  outline: none;
  border-bottom-width: 2px;
  padding-bottom: 9px;
}
.search input::placeholder {
  color: var(--soft);
  font-style: italic;
}
.search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  cursor: pointer;
  background:
    linear-gradient(
      45deg,
      transparent 46%,
      var(--gold) 46% 54%,
      transparent 54%),
    linear-gradient(
      -45deg,
      transparent 46%,
      var(--gold) 46% 54%,
      transparent 54%);
}
#search-res {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  max-height: min(60vh, 520px);
  overflow-y: auto;
}
#search-res .hint {
  padding: 12px 0;
  color: var(--soft);
}
#search-res a {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
#search-res img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
}
#search-res b {
  display: block;
  font: italic 400 21px/1.2 var(--serif);
}
#search-res small {
  color: var(--soft);
  font-size: 13.5px;
}
.r-price {
  font: 400 18px var(--serif);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font: 400 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  transition:
    background-color .3s var(--ease),
    color .3s var(--ease),
    border-color .3s var(--ease);
}
.btn.gold {
  background: var(--gold);
  color: var(--gold-ink);
}
.btn.gold:hover {
  background: #8c6a2c;
  border-color: #8c6a2c;
  color: var(--gold-ink);
}
.btn.gold[aria-pressed=true] {
  background: transparent;
  color: var(--gold);
}
.btn.ghost {
  color: var(--ink);
}
.btn.ghost:hover {
  background: rgba(160, 122, 53, .1);
  color: var(--ink);
}
.btn.small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 11px;
}
.btn.wide {
  width: 100%;
}
.link {
  color: var(--soft);
  font-size: 13px;
  letter-spacing: .04em;
  transition: color .25s;
}
.link:hover {
  color: var(--gold);
}
.prose {
  font: 500 clamp(19px, .5vw + 16px, 21px)/1.62 var(--serif);
}
.prose p {
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 7 3 3;
}
.prose blockquote {
  margin: 1.4em 0;
  font-style: italic;
  font-size: 1.12em;
  color: var(--gold);
  text-align: center;
}
.prose h4 {
  font: italic 400 1.25em var(--serif);
  margin: 1.6em 0 .5em;
  color: var(--gold);
}
.prose a.inline {
  color: var(--gold);
  border-bottom: 1px solid currentColor;
}
.prose a.inline:hover {
  color: var(--ink);
}
.kicker {
  font: 400 11.5px/1 var(--sans);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.page {
  padding: clamp(48px, 9vh, 110px) var(--gut) clamp(64px, 12vh, 140px);
  position: relative;
  z-index: 2;
}
.page.text {
  max-width: calc(700px + 2 * var(--gut));
  margin: 0 auto;
}
.page .prose,
.page h1,
.page h2,
.page h3,
.work .info {
  text-shadow:
    0 0 18px var(--paper),
    0 0 6px var(--paper),
    0 0 2px var(--paper);
}
.page.wide {
  max-width: 1320px;
  margin: 0 auto;
}
.page-title {
  font: italic 400 clamp(40px, 4.2vw, 64px)/1.08 var(--serif);
  margin-bottom: .5em;
}
.page.text h2 {
  font: 400 clamp(27px, 2.3vw, 34px)/1.2 var(--serif);
  margin: 1.9em 0 .6em;
}
.tagline {
  font: italic 400 clamp(23px, 1.8vw, 28px)/1.35 var(--serif);
  color: var(--gold);
  margin: -.2em 0 1.4em;
}
.after {
  margin-top: 2.2em;
}
.ink {
  position: relative;
  display: block;
}
.ink img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.art::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: soft-light;
  background:
    linear-gradient(
      112deg,
      transparent 38%,
      rgba(255, 240, 205, .95) 50%,
      transparent 62%) 0 0 / 260% 100% no-repeat;
  background-position: 115% 0;
}
#hero {
  position: relative;
  height: 270vh;
  height: 270svh;
}
.hero-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
}
#hero {
  --hy: calc(var(--hh) + (100vh - var(--hh)) * .51);
}
.hero-copy {
  position: absolute;
  left: 8vw;
  top: var(--hy);
  width: 38vw;
  transform: translateY(-50%);
  text-align: left;
  z-index: 2;
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}
.lockup {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 1.3vw, 24px);
  margin: 0 0 clamp(18px, 3vh, 34px) -.3vw;
}
.lockup img {
  width: clamp(58px, 5.4vw, 108px);
  height: auto;
}
.lockup span {
  font: italic 500 clamp(64px, 6.4vw, 124px)/.95 var(--serif);
  color: var(--ink);
  letter-spacing: -.01em;
  white-space: nowrap;
}
.vow {
  margin: 0;
  font: 400 clamp(24px, 2.1vw, 40px)/1.34 var(--serif);
  color: var(--ink);
  text-shadow: 0 0 22px var(--paper), 0 0 8px var(--paper);
}
.vow > span {
  display: block;
}
.vow em {
  font-style: italic;
  color: #8a5a2a;
}
.lockup,
.vow > span {
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}
.vow > span:nth-child(1) {
  transition-delay: .35s;
}
.vow > span:nth-child(2) {
  transition-delay: .6s;
}
.vow > span:nth-child(3) {
  transition-delay: .85s;
}
html.wait .lockup,
html.wait .vow > span {
  opacity: 0;
  transform: translateY(16px);
}
#hero.gone .hero-copy {
  opacity: 0;
  transform: translateY(calc(-50% - 40px));
  transition-duration: .6s;
  pointer-events: none;
}
.bloom-rise {
  --fh: min(58vw, 112vh);
  --rot: -80deg;
  position: absolute;
  height: var(--fh);
  width: calc(var(--fh) * 720 / 894);
  left: calc(64.5vw + var(--fh) * .621 - var(--fh) * 720 / 894 * .5);
  top: calc(var(--hy) + var(--fh) * .052 - var(--fh) * .92);
  z-index: 1;
  transform-origin: 50% 92%;
  transform: translateX(36vw) rotate(var(--rot));
}
.bloom-rise.up {
  transform: rotate(var(--rot));
  transition: transform 2.8s cubic-bezier(.2, .7, .15, 1) .1s;
}
#hero.scene {
  --iw: min(100vw, 100vh * 1.7915, 1600px);
  --ih: calc(var(--iw) / 1.7915);
  --hy: calc(100vh - var(--ih) * .68);
}
#hero.scene .hero-copy {
  left: 7vw;
  width: 35vw;
}
#hero.scene .bloom-rise {
  --rot: 0deg;
  left: auto;
  right: 0;
  top: auto;
  bottom: 0;
  width: var(--iw);
  height: var(--ih);
  transform-origin: 100% 100%;
  transform: translate(3vw, 5vh);
}
#hero.scene .bloom-rise.up {
  transform: none;
  transition: transform 3s cubic-bezier(.2, .7, .15, 1) .1s;
}
#hero.scene .bloom-host {
  transform-origin: 76% 32%;
  -webkit-mask-position: 62% 45%;
  mask-position: 62% 45%;
}
#hero.scene .bloom-host.open {
  -webkit-mask-size: 600% 600%;
  mask-size: 600% 600%;
}
#hero.scene .bloom-host,
#hero.scene .bloom-host.open {
  -webkit-mask: none;
  mask: none;
}
#hero.scene .bloom-host .painted,
#hero.scene .bloom-host.in .painted {
  filter: none;
  opacity: 0;
  transition: opacity 2.2s cubic-bezier(.25, .6, .2, 1) .1s;
}
#hero.scene .bloom-host.open .painted {
  opacity: 1;
}
.bloom-host.done {
  -webkit-mask: none;
  mask: none;
}
#hero.still {
  height: 170vh;
  height: 170svh;
}
#hero.still .bloom-rise,
#hero.still .bloom-rise.up {
  transform: none;
  transition: none;
}
#hero.still .bloom-host .painted {
  opacity: 1;
  transition: none;
}
#hero.scene .burst {
  display: none;
}
.heart {
  position: absolute;
  left: 43%;
  top: 30%;
  width: 0;
  height: 0;
}
.bloom-host {
  position: absolute;
  inset: 0;
  transform-origin: 43% 30%;
  will-change: transform, opacity;
  -webkit-mask: var(--blot) 43% 34% / 6% 6% no-repeat;
  mask: var(--blot) 43% 34% / 6% 6% no-repeat;
}
.bloom-host.open {
  -webkit-mask-size: 340% 340%;
  mask-size: 340% 340%;
  transition: -webkit-mask-size 3.2s cubic-bezier(.3, .1, .2, 1), mask-size 3.2s cubic-bezier(.3, .1, .2, 1);
}
.bloom-host .painted {
  width: 100%;
  height: 100%;
  display: block;
}
.burst {
  position: fixed;
  left: 50%;
  top: 46%;
  width: 0;
  height: 0;
  z-index: 2;
  mix-blend-mode: multiply;
}
.burst img {
  position: absolute;
  width: 46px;
  height: auto;
  margin: -29px 0 0 -23px;
  opacity: 0;
  will-change: transform, opacity;
}
.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: clamp(26px, 4.5vh, 48px);
  font: 400 12.5px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  transition: opacity 1s var(--ease) 1.3s, color .25s;
}
.scroll-cue:hover {
  color: var(--ink);
}
html.wait .scroll-cue {
  opacity: 0;
}
.scroll-cue i {
  position: relative;
  width: 44px;
  height: 1px;
  background: rgba(160, 122, 53, .35);
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
}
.brand {
  transition: opacity .6s var(--ease);
}
body.hero-top .brand {
  opacity: 0;
  pointer-events: none;
}
body.home header#top:not(.scrolled) {
  background: transparent;
}
body.home header#top.scrolled {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(250, 241, 238, .94);
}
body:not(.home) header#top {
  background: var(--veil);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  box-shadow: 0 1px 0 var(--line);
}
.works {
  position: relative;
  z-index: 2;
  margin-top: -55vh;
  padding: 0 0 12vh;
  overflow-x: clip;
}
.works-intro {
  text-align: center;
  padding: 0 var(--gut) 2vh;
}
.section-title {
  font: italic 400 clamp(46px, 5.4vw, 86px)/1 var(--serif);
}
.work {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 72px);
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4vh var(--gut);
  perspective: 1600px;
}
.work.from-r {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
}
.work.from-r .fly {
  order: 2;
  justify-content: flex-start;
}
.work.from-r .info {
  order: 1;
  justify-self: end;
}
.work .fly {
  margin: 0;
  display: flex;
  justify-content: flex-end;
  will-change: opacity;
  opacity: 0;
}
.work .info {
  position: relative;
  isolation: isolate;
  max-width: 400px;
  will-change: opacity;
  opacity: 0;
}
.work .info::before {
  content: "";
  position: absolute;
  inset: -100px -130px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      closest-side,
      rgba(250, 241, 238, .96) 0%,
      rgba(250, 241, 238, .9) 50%,
      rgba(250, 241, 238, 0) 100%);
}
.art {
  display: block;
  width: 100%;
  padding: 0;
  cursor: zoom-in;
  transition: filter .5s var(--ease);
}
.art:hover {
  filter: brightness(1.03) saturate(1.04);
}
.title {
  font: italic 400 clamp(38px, 3.6vw, 58px)/1.05 var(--serif);
  margin-bottom: .25em;
}
.subtitle {
  display: block;
  font-size: .48em;
  margin-top: .35em;
  color: var(--soft);
}
.facts {
  color: var(--soft);
  font-size: 14px;
  letter-spacing: .02em;
  margin: 0 0 22px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--soft);
}
.price-row .price,
.price-row.total span:last-child {
  font: 400 23px/1 var(--serif);
  color: var(--ink);
}
.price-row .state {
  font: italic 400 23px/1 var(--serif);
  color: var(--ink);
}
.acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 8px;
}
.story {
  margin-top: 20px;
  border-bottom: 1px solid var(--line);
}
.story summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  font: italic 400 21px/1.2 var(--serif);
  color: var(--gold);
  transition: color .25s;
}
.story summary::-webkit-details-marker {
  display: none;
}
.story summary::after {
  content: "+";
  font: 300 22px/1 var(--sans);
  transition: transform .35s var(--ease);
}
.story[open] summary::after {
  transform: rotate(45deg);
}
.story summary:hover {
  color: var(--ink);
}
.story .prose {
  padding: 6px 0 18px;
  font-size: 19px;
}
.story .room-photo {
  width: 100%;
  max-width: 360px;
  margin: 1.4em auto;
}
details::details-content {
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transition:
    block-size .5s var(--ease),
    opacity .4s var(--ease),
    content-visibility .5s allow-discrete;
}
details[open]::details-content {
  block-size: auto;
  opacity: 1;
}
.works-end {
  position: relative;
  text-align: center;
  padding: 16vh var(--gut) 10vh;
}
.works-end .sig {
  width: min(320px, 62vw);
  margin: 0 auto 5vh;
}
.sig.end .ink {
  flood-color: var(--gold);
}
.sig.end.draw .s1 {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s cubic-bezier(.55, .05, .35, 1) .2s;
}
.sig.end.draw .s2 {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .6s cubic-bezier(.4, 0, .2, 1) 2.9s;
}
.end-acts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s var(--ease) 1.4s, transform .9s var(--ease) 1.4s;
}
.sig.end.draw + .end-acts {
  opacity: 1;
  transform: none;
}
.collection .page-title {
  text-align: left;
}
.grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(36px, 4vw, 64px) clamp(22px, 2.8vw, 44px);
}
.grid li {
  opacity: 0;
  transition: opacity 1s var(--ease) var(--d);
}
.grid li.seen {
  opacity: 1;
}
.grid li:nth-child(4n+2),
.grid li:nth-child(4n+4) {
  margin-top: clamp(30px, 5vw, 80px);
}
.card {
  display: block;
}
.frame {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  aspect-ratio: 4 / 5;
  margin-bottom: 14px;
}
.frame .ink {
  aspect-ratio: var(--ar);
  width: min(100%, calc(var(--ar) * 100%));
  transition: transform .7s var(--ease);
}
.c-title {
  display: block;
  font: italic 400 22px/1.2 var(--serif);
  transition: color .25s;
}
.c-facts {
  display: block;
  font-size: 13px;
  color: var(--soft);
  margin-top: 3px;
}
.card:hover .c-title {
  color: var(--gold);
}
.back {
  font-size: 13px;
  letter-spacing: .06em;
  color: var(--soft);
}
.sheet-in {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 110px);
  align-items: center;
  margin-top: 30px;
}
.sheet .art {
  width: min(100%, calc(var(--ar) * 72vh));
  margin-left: auto;
  aspect-ratio: var(--ar);
}
.sheet .info {
  max-width: 440px;
}
.pager {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(50px, 9vh, 100px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.pager a {
  font: italic 400 22px/1.3 var(--serif);
}
.pager a:last-child {
  text-align: right;
}
.pager small {
  display: block;
  font: 400 11.5px/1.6 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--soft);
  font-style: normal;
}
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 100px);
  align-items: start;
}
.portrait {
  margin: 0;
  position: sticky;
  top: calc(var(--hh) + 32px);
}
.portrait img {
  width: 100%;
}
.about .prose {
  max-width: 640px;
}
.sig {
  display: block;
  overflow: visible;
}
.sig path {
  fill: none;
  stroke: #fff;
  stroke-width: 62;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 1.2;
  stroke-dashoffset: 1.1;
}
.sig .ink {
  flood-color: var(--gold);
}
.sig.on-photo {
  position: absolute;
  right: 2%;
  bottom: 3%;
  width: 54%;
}
.sig.on-photo .ink {
  flood-color: #e7cf8f;
}
.sig.on-photo.draw .s1 {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 2.6s cubic-bezier(.55, .05, .35, 1) .5s;
}
.sig.on-photo.draw .s2 {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .6s cubic-bezier(.4, 0, .2, 1) 3.2s;
}
.sig.ink path {
  stroke-dashoffset: 0;
}
.choose fieldset {
  border: 0;
  padding: 0;
  margin: 2.6em 0 0;
  min-width: 0;
}
.choose legend {
  font: 400 clamp(27px, 2.3vw, 34px)/1.2 var(--serif);
  padding: 0;
  margin-bottom: .6em;
}
.packs {
  border-top: 1px solid var(--line);
}
.pack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px 28px;
  align-items: baseline;
  padding: 16px 14px 16px 44px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: background-color .3s var(--ease);
}
.pack:hover {
  background: rgba(160, 122, 53, .06);
}
.pack input,
.pal input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pack::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  transition: box-shadow .3s var(--ease);
}
.pack:has(input:checked) {
  background: rgba(160, 122, 53, .08);
}
.pack:has(input:checked)::before {
  box-shadow: inset 0 0 0 4px var(--paper), inset 0 0 0 9px var(--gold);
}
.pack:has(input:focus-visible) {
  outline: 1.5px solid var(--gold);
  outline-offset: -2px;
}
.p-name {
  font: italic 400 24px/1.2 var(--serif);
}
.p-size {
  color: var(--soft);
  font-size: 14px;
}
.p-price {
  font: 400 22px/1 var(--serif);
  min-width: 5.5em;
  text-align: right;
}
.pals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.pal {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 16px 10px 14px;
  border: 1px solid var(--line);
  cursor: pointer;
  text-align: center;
  font: italic 400 19px/1.2 var(--serif);
  background: rgba(250, 241, 238, .6);
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.pal:hover {
  border-color: rgba(160, 122, 53, .5);
}
.pal:has(input:checked) {
  border-color: var(--gold);
  background: rgba(240, 228, 220, .8);
}
.pal:has(input:focus-visible) {
  outline: 1.5px solid var(--gold);
  outline-offset: 2px;
}
.sw {
  position: relative;
  display: block;
  width: 112px;
  height: 70px;
}
.sw i {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 47% 53% 44% 56% / 52% 45% 55% 48%;
  background:
    radial-gradient(
      circle at 42% 40%,
      var(--c) 0 46%,
      color-mix(in srgb, var(--c) 70%, transparent) 62%,
      transparent 72%);
  mix-blend-mode: multiply;
}
.sw i:nth-child(1) {
  left: 0;
  top: 14px;
}
.sw i:nth-child(2) {
  left: 26px;
  top: 2px;
  width: 54px;
  height: 54px;
}
.sw i:nth-child(3) {
  left: 54px;
  top: 16px;
}
.sw i:nth-child(4) {
  left: 74px;
  top: 4px;
  width: 34px;
  height: 34px;
  mix-blend-mode: normal;
}
.sw.free i {
  --c: #e48aa5;
}
.sw.free i:nth-child(2) {
  --c: #2b5fa8;
}
.sw.free i:nth-child(3) {
  --c: #1f8fb8;
}
.sw.free i:nth-child(4) {
  --c: #d4b454;
}
.sw.free {
  filter: saturate(.85);
}
.sr-sum {
  margin-top: 2.4em;
}
.sum-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  color: var(--soft);
  margin-bottom: 10px;
}
.sum-line span:last-child {
  color: var(--ink);
  text-align: right;
}
.legal {
  margin-top: 4em;
  padding-top: 1em;
  border-top: 1px solid var(--line);
}
.page.text .legal h2 {
  margin-top: .8em;
}
.legal h3 {
  font: italic 400 22px/1.3 var(--serif);
  margin: 1.6em 0 .4em;
}
.legal .prose {
  font-size: 18px;
}
.qa {
  margin-top: 1.6em;
}
.qa h3 {
  font: italic 500 23px/1.3 var(--serif);
  margin-bottom: .45em;
}
.outro {
  margin-top: 2.4em;
}
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: center;
}
.c-main {
  max-width: 600px;
}
.mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 4px 0 30px;
  font: italic 400 24px/1.3 var(--serif);
}
.mail a {
  color: var(--gold);
}
.mail a:hover {
  color: var(--ink);
}
.copied {
  font: 400 13px var(--sans);
  color: var(--gold);
  opacity: 0;
  transition: opacity .3s;
}
.copied.on {
  opacity: 1;
}
#contact-form label {
  display: block;
  margin-bottom: 18px;
}
#contact-form label > span {
  display: block;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 6px;
}
input,
textarea {
  width: 100%;
  font: 400 17px/1.5 var(--sans);
  color: var(--ink);
  background: rgba(255, 255, 255, .55);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 11px 14px;
  transition: border-color .25s;
}
input:hover,
textarea:hover {
  border-color: rgba(160, 122, 53, .5);
}
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.note {
  margin-top: 14px;
  color: var(--gold);
}
.c-sign {
  display: flex;
  justify-content: flex-end;
}
.c-sign .sig {
  width: min(100%, 420px);
}
#foot {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--line);
  padding: 30px var(--gut) 36px;
  text-align: center;
  font-size: 13px;
  color: var(--soft);
  letter-spacing: .02em;
  background: var(--paper);
}
#foot p {
  margin: 0 auto 6px;
  max-width: 1000px;
}
#scrim {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(250, 241, 238, .62);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s var(--out);
}
#scrim.open {
  opacity: 1;
  transition: opacity .4s var(--ease);
}
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  width: min(440px, 100%);
  background: var(--paper);
  box-shadow: -30px 0 60px -40px rgba(61, 44, 47, .5);
  display: flex;
  flex-direction: column;
  padding: 0 28px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .38s var(--out);
}
.drawer.open {
  transform: none;
  transition: transform .5s var(--ease);
}
.drawer:focus {
  outline: none;
}
.d-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 16px;
  border-bottom: 1px solid var(--line);
}
.d-head h2 {
  font: italic 400 30px/1.1 var(--serif);
}
.items {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.items li {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.thumb img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 46% 54% 50% 50% / 52% 48% 52% 48%;
}
.thumb .sw {
  width: 72px;
  height: 72px;
  transform: scale(.64);
  transform-origin: top left;
}
.items b {
  display: block;
  font: italic 400 21px/1.2 var(--serif);
}
.items small {
  display: block;
  color: var(--soft);
  font-size: 13px;
  margin: 2px 0 6px;
}
.i-price {
  font: 400 19px/1.2 var(--serif);
}
.d-foot {
  padding-top: 18px;
}
.d-foot .price-row {
  border-top: 0;
  margin-bottom: 14px;
}
.fx {
  font-size: 12.5px;
  color: var(--soft);
  margin: -4px 0 14px;
}
.pay {
  text-align: center;
  font-size: 12.5px;
  color: var(--soft);
  margin: 12px 0 0;
  letter-spacing: .03em;
}
.empty,
.soon {
  text-align: center;
  padding: 40px 6px;
}
.empty p {
  font: italic 400 24px var(--serif);
}
.soon img {
  width: 140px;
  margin: 0 auto 18px;
  mix-blend-mode: multiply;
}
.soon h3 {
  font: italic 400 30px/1.15 var(--serif);
  margin-bottom: .5em;
}
.soon p {
  color: var(--soft);
}
.mail-plain {
  font: italic 400 20px var(--serif);
  color: var(--gold) !important;
  user-select: all;
}
dialog {
  color: var(--ink);
  background: var(--paper);
  border: 0;
  padding: 0;
  max-width: none;
  max-height: none;
  opacity: 0;
  transition:
    opacity .3s var(--out),
    display .3s allow-discrete,
    overlay .3s allow-discrete;
}
dialog[open] {
  opacity: 1;
  transition:
    opacity .4s var(--ease),
    display .4s allow-discrete,
    overlay .4s allow-discrete;
}
@starting-style {
  dialog[open] {
    opacity: 0;
  }
}
dialog::backdrop {
  background: rgba(250, 241, 238, .9);
  opacity: 0;
  transition:
    opacity .3s var(--out),
    display .3s allow-discrete,
    overlay .3s allow-discrete;
}
dialog[open]::backdrop {
  opacity: 1;
}
@starting-style {
  dialog[open]::backdrop {
    opacity: 0;
  }
}
.lightbox {
  width: 100vw;
  height: 100dvh;
  background: var(--paper);
  display: none;
  outline: none;
}
.lightbox::backdrop {
  background: var(--paper);
}
.lightbox[open] {
  display: flex;
  flex-direction: column;
}
.lb-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px var(--gut) 0;
}
.lb-art {
  position: relative;
  flex: none;
}
.lb-art > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: none;
  touch-action: none;
  user-select: none;
  -webkit-user-drag: none;
}
.lens {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(150px, 18vw, 240px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 0;
  box-shadow: 0 18px 44px -14px rgba(61, 44, 47, .6), 0 0 0 1px rgba(160, 122, 53, .35);
  background-color: var(--paper);
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s var(--out);
}
.lens.on {
  opacity: 1;
  transition: opacity .25s var(--ease);
}
.lb-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 28px;
  padding: 16px var(--gut) 20px;
}
.lb-bar p {
  margin: 0;
}
#lens-title i {
  font: italic 400 24px var(--serif);
}
#lens-title > span {
  color: var(--soft);
  font-size: 13.5px;
  margin-left: 10px;
}
.hint {
  color: var(--soft);
  font-size: 13px;
}
.room {
  width: min(1100px, 100vw - 32px);
  max-height: calc(100dvh - 32px);
  padding: 0 24px 22px;
  box-shadow: 0 40px 80px -40px rgba(61, 44, 47, .6);
  overflow: auto;
}
.room[open] {
  display: flex;
  flex-direction: column;
}
.rm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
.rm-head h2 {
  font: 400 26px/1.2 var(--serif);
}
.rm-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #efe5dd;
  touch-action: none;
}
.rm-stage .scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.rm-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rm-art {
  position: absolute;
  left: 0;
  top: 0;
  max-width: none;
  object-fit: fill;
  box-shadow: 0 2px 3px rgba(40, 25, 20, .25), 0 14px 26px -10px rgba(40, 25, 20, .45);
  user-select: none;
  -webkit-user-drag: none;
}
.room.photo .rm-art {
  cursor: grab;
}
.rm-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 14px;
}
.rm-note {
  margin: 0;
  color: var(--soft);
  font-size: 14px;
}
.rm-width {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.rm-width > span {
  font-size: 13px;
  color: var(--soft);
}
.rm-width input {
  width: 180px;
  padding: 0;
  accent-color: var(--gold);
  background: none;
  border: 0;
}
.rm-acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.file {
  cursor: pointer;
  margin: 0;
}
@media (max-width: 1240px) {
  #menu-btn {
    display: grid;
  }
  header#top {
    justify-content: space-between;
  }
  #nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 34px;
    padding: calc(var(--hh) + 20px) calc(var(--gut) + 4vw) 40px;
    background: var(--paper);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--out), visibility 0s .3s;
    overflow-y: auto;
  }
  #nav.open {
    opacity: 1;
    visibility: visible;
    transition: opacity .45s var(--ease), visibility 0s;
  }
  .nav-links {
    flex-direction: column;
    gap: 4px;
  }
  .nav-links a {
    font: italic 400 clamp(30px, 7vw, 46px)/1.15 var(--serif);
    letter-spacing: 0;
    padding: 4px 0;
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity .3s var(--out),
      transform .3s var(--out),
      color .25s;
  }
  .nav-links a::after {
    display: none;
  }
  #nav.open .nav-links a {
    opacity: 1;
    transform: none;
    transition:
      opacity .6s var(--ease),
      transform .7s var(--ease),
      color .25s;
  }
  #nav.open .nav-links a:nth-child(2) {
    transition-delay: 40ms;
  }
  #nav.open .nav-links a:nth-child(3) {
    transition-delay: 80ms;
  }
  #nav.open .nav-links a:nth-child(4) {
    transition-delay: 120ms;
  }
  #nav.open .nav-links a:nth-child(5) {
    transition-delay: 160ms;
  }
  #nav.open .nav-links a:nth-child(6) {
    transition-delay: 200ms;
  }
  #nav.open .nav-links a:nth-child(7) {
    transition-delay: 240ms;
  }
  .nav-prefs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
    width: 100%;
    max-width: 420px;
  }
  .nav-prefs > div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .nav-prefs button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 2px;
    font: 400 14px/1 var(--sans);
    transition: border-color .25s, color .25s;
  }
  .nav-prefs button[aria-current=true] {
    border-color: var(--gold);
    color: var(--gold);
  }
  .nav-prefs .sym {
    width: auto;
    font-size: 16px;
  }
  html.menu-open header#top {
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid li:nth-child(n) {
    margin-top: 0;
  }
  .grid li:nth-child(3n+2) {
    margin-top: clamp(30px, 5vw, 70px);
  }
}
@media (max-width: 860px) {
  :root {
    --hh: 64px;
  }
  .work,
  .work.from-r {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 6vh var(--gut) 5vh;
  }
  .work .fly,
  .work.from-r .fly {
    order: 0;
    justify-content: center;
  }
  .work .info,
  .work.from-r .info {
    order: 1;
    justify-self: center;
    max-width: 520px;
    width: 100%;
  }
  .sheet-in {
    grid-template-columns: minmax(0, 1fr);
  }
  .sheet .art {
    margin: 0 auto;
    width: min(100%, calc(var(--ar) * 62vh));
  }
  .about {
    grid-template-columns: minmax(0, 1fr);
  }
  .portrait {
    position: relative;
    top: 0;
    max-width: 520px;
  }
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid li:nth-child(n) {
    margin-top: 0;
  }
  .grid li:nth-child(even) {
    margin-top: 44px;
  }
}
@media (max-width: 560px) {
  body.hero-top .brand {
    opacity: 1;
    pointer-events: auto;
  }
  #hero .lockup {
    display: none;
  }
  #hero.scene {
    --iw: 240vw;
    --ih: calc(240vw / 1.7915);
  }
  #hero.scene .hero-copy {
    top: calc(var(--hh) + (100vh - var(--hh) - var(--ih)) * .5);
    transform: translateY(-50%);
  }
  #hero.scene.gone .hero-copy {
    transform: translateY(calc(-50% - 30px));
  }
  #hero .vow {
    font-size: clamp(21px, 6.2vw, 26px);
    line-height: 1.36;
  }
  .brand {
    min-height: 44px;
  }
  #foot a,
  .mail a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .icon {
    width: 44px;
    height: 44px;
  }
  .btn.small {
    min-height: 44px;
  }
  .nav-prefs button {
    min-height: 44px;
  }
  .link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .pager a {
    display: block;
    padding: 8px 0;
  }
  .back {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .work,
  .work.from-r {
    padding: 5vh var(--gut) 4vh;
    gap: 18px;
  }
  .works-end {
    padding: 10vh var(--gut) 8vh;
  }
  :root {
    --hh: 58px;
  }
  header#top {
    gap: 8px;
  }
  header#top.scrolled {
    height: 54px;
  }
  .brand {
    gap: 9px;
  }
  .brand img,
  header.scrolled .brand img {
    width: 30px;
  }
  .brand span,
  header.scrolled .brand span {
    font-size: 22px;
  }
  .tools .pop {
    display: none;
  }
  .hero-copy {
    left: var(--gut);
    right: var(--gut);
    width: auto;
    top: calc(var(--hh) + 3vh);
    transform: none;
    text-align: center;
  }
  #hero.gone .hero-copy {
    transform: translateY(-30px);
  }
  .lockup {
    justify-content: center;
  }
  .lockup {
    margin-bottom: 12px;
  }
  .lockup img {
    width: 40px;
  }
  .lockup span {
    font-size: 44px;
  }
  .lockup {
    margin-left: 0;
  }
  .vow {
    font-size: clamp(20px, 5.6vw, 24px);
  }
  #hero.scene {
    --iw: 205vw;
    --ih: calc(205vw / 1.7915);
  }
  #loader .still-peony {
    --iw: 205vw;
  }
  #hero.scene .hero-copy {
    left: var(--gut);
    width: auto;
  }
  .bloom-rise {
    --fh: min(112vw, 58vh);
    --rot: -76deg;
    left: calc(106vw - var(--fh) * 720 / 894 * .5);
    top: calc(76vh - var(--fh) * .92);
  }
  .vow {
    font-size: clamp(20px, 5.6vw, 24px);
  }
  .scroll-cue {
    display: none;
  }
  .title {
    font-size: 34px;
  }
  .acts .btn {
    flex: 1 1 100%;
  }
  .prose {
    font-size: 19px;
  }
  .pack {
    grid-template-columns: 1fr auto;
    padding-left: 40px;
  }
  .p-size {
    grid-column: 1;
    grid-row: 2;
  }
  .p-price {
    grid-row: 1 / 3;
    grid-column: 2;
    align-self: center;
    min-width: 0;
  }
  .pals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid {
    gap: 30px 16px;
  }
  .c-title {
    font-size: 20px;
  }
  .room {
    width: 100vw;
    max-height: 100dvh;
    padding: 0 14px 16px;
  }
  .rm-stage {
    aspect-ratio: 4 / 5;
  }
  .rm-head h2 {
    font-size: 21px;
  }
  .drawer {
    padding: 0 18px 20px;
  }
  .lb-bar {
    gap: 4px 16px;
  }
  #lens-title > span {
    display: block;
    margin: 2px 0 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  #hero.scene .bloom-rise {
    transform: none;
  }
  .end-acts {
    opacity: 1;
    transform: none;
  }
  .bloom-rise {
    transform: rotate(var(--rot));
  }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .sig.on-photo path {
    stroke-dashoffset: 0;
  }
  .work .fly,
  .work .info {
    opacity: 1;
  }
  .grid li {
    opacity: 1;
    transform: none;
  }
}
