.home-gallery { line-height: 1.65; }
.home-script { font-family: var(--script); font-weight: 400; }
.home-parchment {
  background: #d7ba99 url("/assets/home/parchment.webp") center / cover no-repeat;
  color: var(--walnut);
}
.home-parchment :is(h1, h2, h3) { color: inherit; }
.home-parchment .button { color: var(--warm-gold); }
.home-hero {
  --rug-blend: clamp(1rem, 3.45vw, 3.65rem);
  position: relative;
  container-type: inline-size;
  width: min(100%, 186.6667svh);
  margin-inline: auto;
}
.home-banner {
  width: 100%;
  height: auto;
}
.home-banner, .hero-lamp-scene, .hero-scene::after, .hero-room-tone::before, .hero-room-tone::after {
  mask: linear-gradient(#000, #000) top / 100% calc(100% - var(--rug-blend) + 1px) no-repeat,
    url("/assets/home/rug-parchment-mask.png") bottom / 100% var(--rug-blend) no-repeat;
}
.home-introduction {
  position: absolute;
  inset: auto 0 clamp(.48rem, 2.15cqw, 2.5rem);
  width: min(91%, 39rem);
  color: var(--ivory);
  font-size: clamp(.42rem, 1.47cqw, .96rem);
  line-height: 1.22;
  text-align: center;
  text-shadow: 0 1px 2px #000, 0 0 4px rgb(0 0 0 / .8);
}
.home-introduction .home-ruled {
  color: var(--warm-gold);
  font-size: clamp(.86rem, 3.35cqw, 2.85rem);
  line-height: 1;
  text-shadow: var(--brand-shadow);
  translate: 0 calc(-1 * clamp(4px, 1.4cqw, 20px));
}
.home-introduction .home-ruled::before, .home-introduction .home-ruled::after {
  flex-basis: clamp(1.15rem, 5cqw, 3.9rem);
}
.home-introduction p:last-child, .home-journal article > p { margin-bottom: 0; }
.home-introduction-lead {
  margin: .12em 0 .25em;
  font: 500 clamp(.47rem, 1.68cqw, 1.12rem)/1.2 var(--serif);
}
@container (max-width: 35rem) {
  .home-introduction {
    bottom: clamp(.38rem, 1.8cqw, .78rem);
    font-size: clamp(.4rem, 2.02cqw, .7rem);
    line-height: 1.16;
  }
  .home-introduction .home-ruled { font-size: clamp(.78rem, 3.6cqw, 1.2rem); }
  .home-introduction-lead { font-size: clamp(.45rem, 2.18cqw, .78rem); line-height: 1.14; }
  .home-introduction br { display: none; }
}
.home-ruled {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4em;
  margin: 0;
  color: var(--walnut);
  font-size: clamp(2.1rem, 4.3vw, 3.35rem);
  line-height: 1.2;
}
.home-ruled::before, .home-ruled::after {
  flex: 0 1 clamp(1.4rem, 6vw, 4.35rem);
  height: clamp(.65rem, 1.55vw, 1rem);
  background: url("/assets/home/heading-flourish.svg") center / contain no-repeat;
  content: "";
}
.home-ruled::after { transform: scaleX(-1); }
.home-section {
  padding-block: 0 clamp(1.35rem, 3vw, 2.45rem);
}
.home-section::before, .home-philosophy::before, .home-journal article::after,
body:has(.home-gallery) .site-footer::before {
  display: block;
  width: min(72%, 24rem);
  height: clamp(1rem, 3vw, 1.7rem);
  margin: 0 auto clamp(.65rem, 1.6vw, 1.15rem);
  background: url("/assets/home/divider-flourish.svg") center / contain no-repeat;
  content: "";
}
.home-section-heading { margin-bottom: clamp(1.2rem, 2.8vw, 2rem); text-align: center; }
.home-section-heading h2, .home-philosophy h2 {
  margin: .05rem 0 0;
  font-size: clamp(1.45rem, 2.65vw, 2.25rem);
}
.home-collection {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5.3vw, 5rem);
}
.home-collection-image {
  display: block;
  padding: clamp(.35rem, 1.4vw, .85rem);
  border: 1px solid rgb(166 139 88 / .48);
}
.home-collection-image img, .home-journal img { width: 100%; height: auto; }
.home-collection-image .home-collection-reference { aspect-ratio: 1100 / 824; object-fit: contain; }
.home-collection-copy .eyebrow, .home-collection-copy .series-line { margin-bottom: .35rem; }
.home-collection-copy h3 {
  font: 400 clamp(2.4rem, 5vw, 4.1rem)/.95 var(--brand-serif);
  letter-spacing: .065em;
  margin-bottom: .4rem;
}
.home-collection-copy .series-line { font-family: var(--brand-serif); }
.home-collection-lead { margin-bottom: .55rem; color: var(--walnut); }
.home-collection-copy > p:last-of-type { max-width: 28rem; margin-bottom: 1rem; }
.home-journal {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.6vw, 2rem);
}
.home-journal article { padding-bottom: .9rem; }
.home-journal article::after {
  width: min(52%, 8rem);
  height: .75rem;
  margin: .65rem auto 0;
}
.home-journal img { aspect-ratio: 4 / 3; object-fit: cover; }
.home-journal article a { display: block; text-decoration: none; }
.home-journal article a:hover h3 { text-decoration: underline; text-decoration-color: var(--bronze); }
.home-journal .eyebrow { margin: .7rem 0 .3rem; }
.home-journal h3 { margin-bottom: .3rem; font-size: clamp(1.2rem, 2.35vw, 1.62rem); }
.home-journal article > p { color: var(--walnut); font-size: .94rem; }
.home-philosophy {
  background: var(--forest);
  color: var(--ivory);
  padding-block: clamp(.85rem, 1.8vw, 1.5rem) clamp(1.9rem, 4.6vw, 3.6rem);
  text-align: center;
}
.home-philosophy .home-ruled { color: var(--warm-gold); text-shadow: var(--brand-shadow); }
.home-philosophy h2, .home-philosophy a { color: var(--ivory); }
.home-philosophy h2 { margin-bottom: .8rem; }
.home-philosophy p:not(.home-script) { margin-bottom: .6rem; }
.home-philosophy a {
  display: inline-block;
  margin-top: .4rem;
  text-decoration-color: var(--bronze);
}
body:has(.home-gallery) .site-footer::before { margin-bottom: 0; }
@media (max-width: 760px) {
  .home-collection { grid-template-columns: minmax(0, 1fr); }
  .home-journal { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 500px) {
  .home-philosophy br { display: none; }
  .home-journal { grid-template-columns: minmax(0, 1fr); }
}

/* The artwork remains the sizing element for every original-coordinate layer. */
.hero-scene {
  --gallery-light-cycle: 36s -2s;
  position: relative;
  isolation: isolate;
}
.hero-scene::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to right, transparent 43%, rgb(12 9 7 / .045) 50%,
    rgb(12 9 7 / .105) 64%, rgb(12 9 7 / .17) 86%, rgb(12 9 7 / .21));
  mix-blend-mode: multiply;
  content: "";
}
.hero-room-tone,
.hero-room-tone::before, .hero-room-tone::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-room-tone { visibility: hidden; }
.hero-motion-layer:not([hidden]) + .hero-room-tone { visibility: visible; }
.hero-room-tone::before, .hero-room-tone::after { content: ""; }
.hero-room-tone::before {
  background: linear-gradient(90deg, rgb(13 10 7 / .19), rgb(13 10 7 / .11) 49%, rgb(13 10 7 / .055));
  mix-blend-mode: multiply;
  animation: gallery-room-dim var(--gallery-light-cycle) ease-in-out infinite paused;
}
.hero-room-tone::after {
  background: linear-gradient(90deg, rgb(232 187 124 / .095), rgb(232 187 124 / .053) 48%, rgb(232 187 124 / .026));
  mix-blend-mode: screen;
  animation: gallery-room-warm var(--gallery-light-cycle) ease-in-out infinite paused;
}
.home-hero.is-animating .hero-room-tone::before,
.home-hero.is-animating .hero-room-tone::after { animation-play-state: running; }
.hero-lamp-scene, .hero-motion-layer, .hero-globe, .hero-window-foliage {
  position: absolute;
  pointer-events: none;
  user-select: none;
}
.hero-lamp-scene, .hero-motion-layer {
  inset: 0;
  width: 100%;
  height: 100%;
}
@property --lamp-power {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}
.hero-lamp-ambient { opacity: var(--lamp-power); }
.hero-lamp-reflections { opacity: var(--lamp-power); }
.hero-lamp-filament-ember { opacity: clamp(0, calc((var(--lamp-power) - .10) / .20), 1); }
.hero-lamp-filament-gold { opacity: clamp(0, calc((var(--lamp-power) - .30) / .70), 1); }
.hero-lamp-halo {
  transform-box: fill-box;
  transform-origin: center;
  scale: calc(.62 + .38 * var(--lamp-power));
}
.hero-clockwork { visibility: hidden; }
.home-hero.has-live-clocks .hero-clockwork { visibility: visible; }
.hero-light-layer { mix-blend-mode: screen; }
.hero-motion-cycle { opacity: 0; }
.hero-table-light { animation: gallery-table 59s -5s ease-in-out infinite; }
.hero-brass-light { animation: gallery-brass 37s -2s ease-in-out infinite; }
.hero-glass-light { animation: gallery-glass 53s -15s ease-in-out infinite; }
.hero-rug-light { animation: gallery-rug 57s -3s ease-in-out infinite; }
.hero-cast-level { animation: gallery-cast-level var(--gallery-light-cycle) ease-in-out infinite; }
.hero-beam-level { animation: gallery-beam-level var(--gallery-light-cycle) ease-in-out infinite; }
.hero-window-light, .hero-floor-cast, .hero-wall-light, .hero-table-shadow {
  animation: gallery-window-cast var(--gallery-light-cycle) ease-in-out infinite;
  transform-box: fill-box;
}
.hero-window-light {
  --cast-x: .025;
  --cast-y: .075;
  --cast-turn: .70;
  transform-origin: 3% 4%;
}
.hero-floor-cast {
  --cast-x: -.46;
  --cast-y: .72;
  --cast-turn: -.78;
  --cast-offset-x: 9px;
  transform-origin: 13% 34%;
}
.hero-wall-light {
  --cast-x: .045;
  --cast-y: 1.24;
  --cast-turn: .63;
  transform-origin: 15% 32%;
}
.hero-table-shadow {
  --cast-x: -1.05;
  --cast-y: 0;
  --cast-turn: -.85;
  --cast-stretch: 1;
  transform-origin: 22% 40%;
}
.hero-motion-layer .hero-motion-cycle { animation-play-state: paused; }
.home-hero.is-animating .hero-motion-layer .hero-motion-cycle { animation-play-state: running; }
.hero-dust-speck { animation: gallery-dust var(--dust-life) linear both; }
@keyframes gallery-beam-level {
  0%, 100% { opacity: .67; }
  27% { opacity: .26; }
  68% { opacity: .94; }
}
@keyframes gallery-cast-level {
  0%, 100% { opacity: .94; }
  27% { opacity: .75; }
  68% { opacity: 1; }
}
@keyframes gallery-room-dim {
  0%, 100% { opacity: .04; }
  27% { opacity: .90; }
  68% { opacity: 0; }
}
@keyframes gallery-room-warm {
  0%, 100% { opacity: .11; }
  27% { opacity: 0; }
  68% { opacity: .93; }
}
@keyframes gallery-table {
  0%, 100% { opacity: .13; translate: -18px 0; }
  19% { opacity: .57; translate: 17px 4px; }
  64% { opacity: .32; translate: 33px 0; }
}
@keyframes gallery-brass {
  0%, 100% { opacity: .07; translate: -3px 0; }
  21% { opacity: .65; translate: 5px -1px; }
  64% { opacity: .38; translate: 2px 1px; }
}
@keyframes gallery-glass {
  0%, 100% { opacity: .07; translate: -2px 0; }
  19% { opacity: .54; translate: 3px -1px; }
  54% { opacity: .18; translate: 1px 0; }
}
@keyframes gallery-rug {
  0%, 100% { opacity: .07; translate: -22px 0; }
  23% { opacity: .51; translate: 22px -5px; }
  59% { opacity: .31; translate: 42px -8px; }
}
@keyframes gallery-window-cast {
  0%, 100% {
    opacity: var(--cast-opacity, .94);
    translate: calc(var(--cast-offset-x, 0px) - 20px * var(--cast-x, 1)) calc(-13px * var(--cast-y, 1));
    rotate: calc(-3.2deg * var(--cast-turn, 1));
    scale: calc(1 - .18 * var(--cast-stretch, 0)) calc(1 - .13 * var(--cast-stretch, 0));
  }
  33% {
    opacity: var(--cast-opacity, .94);
    translate: calc(var(--cast-offset-x, 0px) + 137px * var(--cast-x, 1)) calc(40px * var(--cast-y, 1));
    rotate: calc(5.5deg * var(--cast-turn, 1));
    scale: calc(1 + .18 * var(--cast-stretch, 0)) calc(1 + .10 * var(--cast-stretch, 0));
  }
  55% {
    opacity: var(--cast-opacity, .94);
    translate: calc(var(--cast-offset-x, 0px) + 117px * var(--cast-x, 1)) calc(31px * var(--cast-y, 1));
    rotate: calc(3.6deg * var(--cast-turn, 1));
    scale: calc(1 + .08 * var(--cast-stretch, 0)) calc(1 + .025 * var(--cast-stretch, 0));
  }
}
@keyframes gallery-dust {
  0% { opacity: 0; translate: 0 0; }
  23% { opacity: var(--dust-light); }
  67% { opacity: var(--dust-light); }
  100% { opacity: 0; translate: var(--dust-x) var(--dust-y); }
}
.gallery-hero:has(> .hero-motion-toggle) { position: relative; }
.hero-motion-toggle {
  position: absolute;
  inset: .65rem .65rem auto auto;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--warm-gold);
}
.hero-motion-toggle::before {
  position: absolute;
  inset: .24rem;
  border: 1px solid rgb(197 166 106 / .45);
  border-radius: inherit;
  background: rgb(24 44 37 / .72);
  content: "";
}
.hero-motion-toggle svg { position: relative; width: .78rem; height: .78rem; fill: currentColor; }
.hero-motion-toggle .hero-play-icon,
.hero-motion-toggle[aria-pressed="true"] .hero-pause-icon { display: none; }
.hero-motion-toggle[aria-pressed="true"] .hero-play-icon { display: block; }
.hero-sand-stream { animation: gallery-sand .96s linear infinite paused; }
.hero-hourglass:nth-of-type(even) .hero-sand-stream { animation-duration: 1.27s; }
.home-hero.is-animating .hero-sand-stream { animation-play-state: running; }
@keyframes gallery-sand { to { stroke-dashoffset: -7.4; } }
.wordmark { position: relative; }
.wordmark-sweep, .wordmark-glint {
  position: absolute;
  pointer-events: none;
  visibility: hidden;
}
.wordmark.is-animating :is(.wordmark-sweep, .wordmark-glint) { visibility: visible; }
.wordmark-sweep {
  inset: 0;
  overflow: hidden;
  mask: url("/assets/antiques-wordmark-mask.svg") center / 100% 100% no-repeat;
}
.wordmark-sweep::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(103deg, transparent 39%, rgb(128 85 30 / .17) 42%,
    rgb(177 132 54 / .35) 46%, rgb(197 166 106 / .66) 49%,
    rgb(241 213 138 / .93) 50.5%, #FFF3CE 51.5%, rgb(241 213 138 / .77) 53%,
    rgb(177 132 54 / .31) 56%, transparent 61%);
  animation: wordmark-sweep 13s ease-in-out infinite paused;
}
.wordmark-glint {
  top: 4%;
  right: .15rem;
  width: .55rem;
  aspect-ratio: 1;
  background: radial-gradient(#FFF3CE, #F1D58A 38%, #B18436 78%);
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%);
  animation: wordmark-glint 13s ease-out infinite paused;
}
.wordmark.is-animating .wordmark-sweep::after,
.wordmark.is-animating .wordmark-glint { animation-play-state: running; }
@keyframes wordmark-sweep {
  0%, 4% { transform: translateX(-66%); }
  25.54%, 100% { transform: translateX(66%); }
}
@keyframes wordmark-glint {
  0%, 24.2% { opacity: 0; transform: scale(.35); }
  25.6% { opacity: .82; transform: scale(1); }
  29.58%, 100% { opacity: 0; transform: scale(.15); }
}

