@font-face {
  font-family: Rosarivo;
  src: url("/assets/fonts/rosarivo.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Outfit;
  src: url("/assets/fonts/outfit.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("/assets/fonts/cormorant-garamond-normal.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: Cormorant;
  src: url("/assets/fonts/cormorant-garamond-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --night: #151623;
  --paper: #eee9e1;
  --ink: #302b39;
  --soft: #c8c0cb;
  --accent: #c5aed1;
  --warm: #dfcfb9;
  --gutter: 24px;
  --display: Rosarivo, Georgia, serif;
  --text: Outfit, sans-serif;
}
*,
::before,
::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scrollbar-color: #89728d var(--night);
}
body {
  margin: 0;
  background: var(--night);
  color: var(--paper);
  font: 350 16px/1.65 var(--text);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2 {
  font: 400 clamp(34px, 3.8vw, 53px)/1.16 var(--display);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
h3 {
  font: 450 19px/1.4 var(--text);
}
a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 6px;
}
button,
input {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
::selection {
  background: #c9b0d4;
  color: #211c2b;
}
[hidden] {
  display: none !important;
}
.shell {
  width: min(1180px, 100% - var(--gutter) * 2);
  margin-inline: auto;
}
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  vertical-align: middle;
  flex: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
section[id],
.work-anchor {
  scroll-margin-top: 100px;
}
.masthead {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  padding: 21px 0;
  transition:
    background 0.3s,
    padding 0.3s;
}
.masthead[data-scrolled] {
  padding: 12px 0;
  background: #151623f5;
}
.masthead .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: none;
}
.brand img {
  width: 113px;
  height: auto;
  filter: brightness(0) invert(0.94);
}
.brand span {
  font: 450 11px/1.2 var(--text);
  letter-spacing: 0.34em;
  padding-left: 17px;
}
.main-nav {
  display: flex;
  gap: 13px;
}
.main-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 11.5px;
  position: relative;
}
.main-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 7px;
  width: 19px;
  height: 1px;
  background: var(--warm);
  transition: width 0.3s;
}
.main-nav a:is(:hover, :focus-visible, [aria-current]):after {
  width: 100%;
}
.hero {
  height: 100svh;
  height: 100dvh;
  min-height: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #141524;
}
.hero-copy {
  position: relative;
  padding-top: 128px;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(35px, 8.9vw, 48px);
  max-width: 650px;
  line-height: 1.17;
  letter-spacing: -0.035em;
}
.hero h1 span {
  display: block;
}
.hero h1 span:last-child {
  color: #e0cfe7;
}
.hero-copy p {
  font-size: 15px;
  max-width: 35ch;
  margin-top: 20px;
  color: #ddd4dd;
  line-height: 1.65;
}
.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  min-height: 48px;
  padding: 12px 20px;
  background: #e7daca;
  color: #292331;
  font: 450 13px/1.4 var(--text);
  border-radius: 2px;
  transition: background 0.25s;
}
.button:hover {
  background: #f7ede2;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-height: 44px;
  font-size: 13px;
}
.text-link span {
  border-bottom: 1px solid #b3a0b575;
}
.hero .actions .text-link {
  display: none;
}
.hero-base {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.07em;
  color: #cfc4ce;
}
.light {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: var(--paper);
  overflow: hidden;
}
.light:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/studio/material.webp") center / cover no-repeat;
  opacity: 0.65;
}
.light:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #eee9e172, transparent 70%);
  pointer-events: none;
}
.approach {
  padding: 74px 0 76px;
}
.approach-layout {
  display: grid;
  gap: 26px;
}
.approach-heading {
  position: relative;
}
.approach-heading h2 {
  max-width: 560px;
}
.approach-gem {
  position: relative;
  width: 230px;
  margin: 22px auto 0;
}
.approach-gem > img:last-child {
  position: relative;
  z-index: 1;
}
.approach-gem .gem-twig {
  position: absolute;
  width: 84%;
  max-width: none;
  height: auto;
  left: -9%;
  bottom: 16%;
  rotate: -18deg;
  opacity: 0.9;
  filter: drop-shadow(0 5px 5px #4937461a);
}
.approach-gem img {
  width: 100%;
  height: auto;
}
.approach-copy > p {
  font-size: 17px;
  line-height: 1.75;
  max-width: 45ch;
}
.services {
  margin-top: 28px;
}
.service {
  padding: 22px 0;
  border-top: 1px solid #76667532;
}
.service:last-child {
  padding-bottom: 0;
}
.service h3 {
  font-size: 17px;
  font-weight: 500;
}
.service p {
  font-size: 14px;
  color: #625767;
  margin-top: 6px;
  max-width: 43ch;
}
.quiet-relief {
  position: absolute;
  width: 850px;
  right: -410px;
  top: -70px;
  opacity: 0.055;
  rotate: -23deg;
  pointer-events: none;
  filter: grayscale(1);
}
.work {
  position: relative;
  isolation: isolate;
  padding: 76px 0 74px;
  background: #171622;
  overflow: hidden;
}
.work:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/derman-details/restaurant-ambience.webp") center
    54% / cover no-repeat;
  filter: blur(10px) brightness(0.33) saturate(0.4);
  opacity: 0.32;
}
.work:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(#171622 3%, #17162276 42%, #171622e8 96%);
}
.work-head {
  display: grid;
  gap: 25px;
  margin-bottom: 40px;
}
.work-head h2 {
  max-width: 650px;
}
.work-head > p {
  color: #c9bfca;
  font-size: 15px;
  max-width: 40ch;
  align-self: end;
}
.case {
  max-width: 1040px;
  margin-inline: auto;
}
.project-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
  font-size: 12px;
  color: #cbbecb;
}
.project-name {
  font-weight: 500;
  font-size: 14px;
  color: #efe3d8;
}
.project-row .scope {
  display: none;
}
.case-tabs {
  display: flex;
  gap: 24px;
  margin-bottom: 12px;
}
.case-tabs button {
  position: relative;
  min-height: 44px;
  padding: 6px 0;
  font-size: 13px;
  color: #b7acb8;
}
.case-tabs button[aria-selected="true"] {
  color: #f4e9dc;
}
.case-tabs button:after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 0;
  right: 0;
  height: 1px;
  background: #d9c5ac;
  scale: 0 1;
  transform-origin: left;
  transition: scale 0.3s;
}
.case-tabs button[aria-selected="true"]:after,
.case-tabs button:hover:after {
  scale: 1 1;
}
.comparison {
  position: relative;
  aspect-ratio: 390/650;
  --split: 0%;
  container-type: inline-size;
}
.screens {
  position: absolute;
  inset: 0;
  background: #0e0e0d;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: 0 24px 55px #05040b6e;
}
.panel,
.before,
.after,
.cover,
.shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.before img,
.after .cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.after {
  clip-path: inset(0 0 0 var(--split));
}
.shade {
  background: linear-gradient(0deg, #100d0ae0, #100d0a16 72%);
}
.reference-header {
  position: absolute;
  inset: 4% 6.5% auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.reference-logo {
  width: 38cqw;
}
.reference-nav {
  display: none;
}
.derman-content {
  position: absolute;
  left: 6.5%;
  bottom: 12%;
  right: 5%;
}
.derman-content h3 {
  font:
    400 14.2cqw/0.94 Cormorant,
    Georgia,
    serif;
  letter-spacing: -0.035em;
}
.derman-content em {
  color: #d0ae71;
}
.derman-content p {
  font: 350 3.45cqw/1.65 var(--text);
  margin-top: 3cqw;
}
.reference-actions {
  display: flex;
  gap: 2cqw;
  margin-top: 4cqw;
}
.reference-actions span {
  font-size: 2.5cqw;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid #cfb8887a;
  padding: 2.2cqw;
}
.reference-actions span:first-child {
  background: #d0ae71;
  color: #19130a;
}
.photos .before {
  background: #d5bb94;
}
.photos .after {
  background: #0e0e0d;
  display: grid;
  place-items: center;
}
.photos .after img {
  width: 95%;
  height: 76%;
  object-fit: contain;
  margin-top: 6%;
}
.details {
  background: #0e0e0d;
}
.details:before,
.photos .after:before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/derman-details/menu-relief.webp") right center/80%;
  opacity: 0.1;
  mask-image: linear-gradient(90deg, transparent, #000);
}
.detail-subject {
  position: absolute;
  left: 6%;
  top: 23%;
  width: 78%;
  height: 60%;
  object-fit: contain;
}
.detail-rosemary {
  position: absolute;
  right: 0;
  bottom: 12%;
  width: 18%;
}
.detail-choices {
  position: absolute;
  bottom: 4%;
  left: 6%;
  right: 6%;
  display: flex;
  justify-content: center;
  gap: 25px;
  z-index: 3;
}
.detail-choices button {
  font-size: 12px;
  min-height: 44px;
  padding: 0;
  border-bottom: 1px solid transparent;
  color: #b9b1a4;
}
.detail-choices button[aria-pressed="true"] {
  border-color: #d4bc93;
  color: #f0e1c8;
}
.case-insight {
  position: absolute;
  color: #d9c5a6;
  z-index: 3;
}
.case-insight h3 {
  font: 350 max(12px, 3.25cqw)/1.3 var(--text);
}
.case-insight.one {
  top: 9%;
  left: 7%;
}
.case-insight.two {
  right: 7%;
  bottom: 16%;
  text-align: right;
}
.case-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  stroke: #d6c3a3;
  fill: none;
  stroke-width: 1.9;
  vector-effect: non-scaling-stroke;
  opacity: 0.85;
  pointer-events: none;
}
.case-lines circle {
  fill: #d6c3a3;
  stroke: none;
}
.case-lines path {
  vector-effect: non-scaling-stroke;
}
.compare-line {
  position: absolute;
  left: var(--split);
  top: 0;
  height: 100%;
  width: 1px;
  background: #e3d0b8;
  z-index: 5;
  pointer-events: none;
}
.compare-handle {
  position: absolute;
  left: var(--split);
  top: 50%;
  translate: -50% -50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #302b35;
  color: #f0e4d6;
  border: 1px solid #e0cbb0;
  box-shadow: 0 4px 14px #0006;
  display: grid;
  place-items: center;
  z-index: 6;
  pointer-events: none;
}
.compare-instruction {
  position: absolute;
  left: 34px;
  top: calc(50% - 39px);
  translate: 0 -50%;
  background: #1c1922e8;
  padding: 9px 12px;
  color: #eadfd3;
  font-size: 12px;
  z-index: 6;
  pointer-events: none;
}
.comparison input[type="range"] {
  position: absolute;
  left: -24px;
  width: calc(100% + 48px);
  height: 48px;
  top: 50%;
  translate: 0 -50%;
  opacity: 0;
  margin: 0;
  cursor: ew-resize;
  z-index: 7;
  appearance: none;
  touch-action: pan-y;
}
.comparison input::-webkit-slider-thumb {
  appearance: none;
  width: 48px;
  height: 48px;
}
.comparison input::-moz-range-thumb {
  width: 48px;
  height: 48px;
  border: 0;
}
.comparison:has(input:focus-visible) .compare-handle {
  outline: 2px solid #e9d2b3;
  outline-offset: 5px;
}
.case-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 17px;
  color: #d4c4cf;
}
.case-bottom .text-link {
  font-size: 12px;
}
.film-toggle {
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.case-caption {
  font-size: 13px;
  line-height: 1.65;
  color: #bdb1bd;
  max-width: 60ch;
  margin-top: 15px;
}
.process {
  padding: 78px 0 82px;
}
.process-layout {
  display: grid;
  gap: 35px;
}
.process h2 {
  max-width: 500px;
}
.process-intro {
  max-width: 40ch;
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.7;
  color: #675a6b;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 15px;
  padding: 23px 0;
  border-top: 1px solid #796b7a3d;
}
.steps li:last-child {
  border-bottom: 1px solid #796b7a3d;
}
.step-number {
  font: 400 13px/1.5 var(--text);
  padding-top: 4px;
  color: #846b87;
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font-size: 18px;
}
.steps p {
  margin-top: 6px;
  font-size: 14px;
  color: #675a6b;
  max-width: 44ch;
}
.process .text-link {
  margin-top: 26px;
  color: #5f4867;
}
.process .quiet-relief {
  top: auto;
  bottom: -70px;
  right: auto;
  left: -460px;
  rotate: 18deg;
  opacity: 0.055;
}
.contact {
  position: relative;
  isolation: isolate;
  background: #181723;
  padding-top: 115px;
  overflow: hidden;
}
.contact:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/assets/studio/material.webp") center 40% / cover;
  filter: brightness(0.17) sepia(0.13) hue-rotate(190deg);
  opacity: 0.65;
}
.contact:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #181723dd, #18172333);
}
.contact-grid {
  display: grid;
  gap: 32px;
  padding-bottom: 65px;
}
.contact h2 {
  font-size: clamp(35px, 4.3vw, 60px);
  line-height: 1.23;
  max-width: 700px;
}
.contact-landing {
  position: relative;
  display: inline-block;
}
.contact h2 > span:last-child {
  color: #c8b2d0;
}
.contact-copy {
  max-width: 36ch;
  color: #d0c3d0;
}
.contact-copy p {
  font-size: 15px;
  line-height: 1.75;
}
.contact-copy .button {
  margin-top: 24px;
}
.email {
  display: block;
  font-size: 13px;
  margin-top: 17px;
  text-decoration: underline;
  text-decoration-color: #a592a866;
}
.site-footer {
  padding: 27px 0 30px;
  border-top: 1px solid #e2cfdf26;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
  justify-content: space-between;
}
.site-footer .brand img {
  width: 122px;
}
.site-footer > p {
  font-size: 12px;
  color: #b5a9b9;
  order: 3;
  width: 100%;
}
.legal {
  display: flex;
  gap: 20px;
  font-size: 11px;
  color: #c9bdcc;
}
.legal a {
  padding-block: 12px;
}
.legal a:hover {
  text-decoration: underline;
}
@media (min-width: 640px) {
  :root {
    --gutter: 44px;
  }
  .main-nav {
    gap: 28px;
  }
  .main-nav a {
    font-size: 13px;
  }
  .brand img {
    width: 153px;
  }
  .brand span {
    font-size: 11px;
  }
  .approach-gem {
    width: 275px;
  }
  .comparison {
    aspect-ratio: 16/10;
  }
  .reference-logo {
    width: 17cqw;
  }
  .reference-nav {
    display: flex;
    align-items: center;
    gap: 2.1cqw;
    font: 400 0.9cqw/1.2 var(--text);
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
  .reference-menu {
    display: none;
  }
  .derman-content {
    bottom: 12%;
    right: auto;
  }
  .derman-content h3 {
    font-size: 8.5cqw;
  }
  .derman-content p {
    font-size: 1.24cqw;
    margin-top: 2.2cqw;
  }
  .reference-actions {
    margin-top: 2.8cqw;
    gap: 1cqw;
  }
  .reference-actions span {
    font-size: 0.85cqw;
    padding: 1.1cqw 1.6cqw;
  }
  .project-row .scope {
    display: block;
  }
  .photos .after img {
    width: 60%;
    height: 90%;
    margin: 0 auto 0 0;
  }
  .detail-subject {
    left: 5%;
    top: 8%;
    width: 61%;
    height: 82%;
  }
  .detail-rosemary {
    width: 11%;
    right: 1%;
  }
  .case-insight h3 {
    font-size: max(12px, 1.5cqw);
  }
  .case-insight.one {
    top: 30%;
    left: auto;
    right: 8%;
  }
  .case-insight.two {
    bottom: 28%;
    right: 8%;
  }
  .detail-choices {
    left: 6%;
    right: auto;
    bottom: 2%;
  }
  .case-caption {
    margin-top: 8px;
  }
  .site-footer > p {
    width: auto;
    order: 0;
  }
}
@media (min-width: 900px) {
  :root {
    --gutter: 6.3vw;
  }
  .masthead {
    padding: 28px 0;
  }
  .main-nav {
    gap: 40px;
  }
  .hero {
    min-height: 0;
  }
  .hero-copy {
    padding-top: 0;
    position: absolute;
    top: 41%;
    left: 0;
    right: 0;
  }
  .hero h1 {
    font-size: clamp(48px, 4.5vw, 68px);
    max-width: 690px;
  }
  .hero-copy p {
    font-size: 16px;
    max-width: 40ch;
    margin-top: 24px;
  }
  .hero .actions .text-link {
    display: inline-flex;
  }
  .hero-base {
    bottom: 36px;
  }
  .hero-base {
    font-size: 12px;
  }
  .approach {
    padding: 105px 0 102px;
  }
  .approach-layout {
    grid-template-columns: 1.15fr 1fr;
    gap: 9%;
  }
  .approach-heading h2 {
    font-size: 43px;
    line-height: 1.2;
  }
  .approach-copy > p {
    font-size: 18px;
  }
  .approach-gem {
    width: 325px;
    margin: 38px 0 0 30px;
  }
  .services {
    margin-top: 31px;
  }
  .service {
    padding-block: 21px;
  }
  .work {
    padding: 100px 0 94px;
  }
  .work-head {
    grid-template-columns: 1.15fr 1fr;
    gap: 9%;
    margin-bottom: 50px;
  }
  .work-head > p {
    font-size: 16px;
  }
  .process {
    padding: 102px 0 110px;
  }
  .process-layout {
    grid-template-columns: 1.15fr 1fr;
    gap: 9%;
  }
  .process h2 {
    font-size: 43px;
    line-height: 1.23;
  }
  .steps li {
    padding-block: 24px;
    grid-template-columns: 31px 1fr;
    gap: 22px;
  }
  .contact {
    padding-top: 145px;
  }
  .contact-grid {
    grid-template-columns: 1.3fr 0.8fr;
    gap: 10%;
    align-items: center;
    padding-bottom: 90px;
  }
  .contact h2 {
    font-size: 56px;
  }
  .contact-copy {
    max-width: 33ch;
  }
  .contact-copy p {
    font-size: 16px;
  }
  .site-footer {
    padding-block: 30px 34px;
  }
  .site-footer .brand img {
    width: 145px;
  }
}
@media (max-height: 750px) and (max-width: 639px) {
  .hero {
    min-height: 0;
  }
  .hero-copy {
    padding-top: 112px;
  }
  .hero h1 {
    font-size: 34px;
  }
  .hero-copy p {
    font-size: 14px;
    margin-top: 15px;
  }
  .actions {
    margin-top: 18px;
  }

}
.icon-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 31;
  top: 12px;
  left: 12px;
  padding: 11px 16px;
  background: var(--paper);
  color: var(--ink);
}
.work-anchor {
  position: absolute;
  top: 0;
}
.scene {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.scene-stage {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 57%;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 6%);
}
.scene-stage > img,
.stage-tip-motion,
.stage-foreground,
.stage-film {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 88% center;
}
.stage-film {
  z-index: 4;
  object-position: 88% center;
  pointer-events: none;
}

.hero-base {
  z-index: 1;
  pointer-events: none;
}
.hero-base .read-on {
  display: none;
  pointer-events: auto;
}
[data-scroll-depth] {
  translate: 0 var(--scroll-y, 0px);
}
[data-case-entry] {
  translate: 0 var(--entry-y, 0px);
}
.case-insights {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.screens .case-insights,
.screens .case-lines {
  clip-path: inset(0 0 0 var(--split));
}
.case[data-view="details"] .case-insights,
.case[data-view="details"] .case-lines {
  clip-path: none;
}
.case-lines {
  z-index: 2;
}
.film-toggle:disabled {
  opacity: 0.45;
  cursor: default;
}
#grill-film:not([data-ready]) {
  visibility: hidden;
}
.footer-butterfly {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 2px 1px #09091535);
}
.stage-tip-motion,
.stage-foreground {
  pointer-events: none;
}
.stage-tip-motion {
  z-index: 0;
}
.stage-foreground {
  z-index: 2;
}
.scene[data-film-enabled] #scene-switch {
  display: none;
}
.stage-film-controls {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}
.stage-pause {
  width: 44px;
}
.stage-replay {
  padding-inline: 8px;
}
.stage-air {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}
.stage-air span {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0;
}
.scene[data-state="closed"]:not([data-film-enabled]) .stage-air {
  display: none;
}
.scene[data-film-paused] .stage-air span {
  animation-play-state: paused;
}
.wood-dust {
  background: #e8c49e;
  animation: dust-lift var(--time) var(--delay) ease-out infinite;
}
.release-dust {
  background: #f2d4b3;
}
.scene[data-releasing] .release-dust {
  animation: dust-release var(--time) var(--delay) ease-out both;
}
@keyframes dust-release {
  0% {
    opacity: 0;
    translate: 0 0;
  }
  12% {
    opacity: 0.7;
  }
  62% {
    opacity: 0.35;
  }
  100% {
    opacity: 0;
    translate: var(--dx) var(--dy);
  }
}
.scene[data-offstage] .stage-air span {
  animation-play-state: paused;
}
@keyframes dust-lift {
  0% {
    opacity: 0;
    translate: 0 0;
  }
  19% {
    opacity: 0.56;
  }
  62% {
    opacity: 0.25;
  }
  100% {
    opacity: 0;
    translate: var(--dx) var(--dy);
  }
}
.scene-caption {
  position: absolute;
  z-index: 4;
  inset: auto max(var(--gutter), calc((100% - 1180px) / 2))
    max(16px, env(safe-area-inset-bottom)) auto;
  width: auto;
}
.quiet-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.15rem 0;
  border: 0;
  background: transparent;
  color: var(--soft);
  font: 400 0.78rem/1.35 var(--text);
  text-align: left;
}
.scene-caption .quiet-action {
  color: #e5dbd4;
  text-shadow: 0 1px 4px #11111b;
  white-space: nowrap;
}
.quiet-action .icon {
  width: 1rem;
  height: 1rem;
}
.quiet-action:hover span {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

@media (min-width: 900px) {
  .scene-stage {
    inset: 0;
    height: 100%;
    mask-image: none;
  }
  .scene-stage > img,
  .stage-tip-motion,
  .stage-foreground {
    object-position: 87% center;
  }
  .stage-film {
    object-position: 88% center;
  }
  .scene-caption {
    left: 50%;
    right: auto;
    bottom: max(24px, env(safe-area-inset-bottom));
    translate: -50%;
  }
  .hero-base .read-on {
    display: inline-flex;
  }
}
@media (min-width: 640px) and (max-width: 899px) and (min-height: 491px) {
  .scene-stage { height: 66%; }
}
@media (max-height: 750px) and (max-width: 639px) {
  .scene-stage {
    height: 55%;
  }
  .scene-caption {
    bottom: max(4px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 639px) {
  .hero-base {
    bottom: 42px;
  }
  .scene-caption {
    right: var(--gutter);
    bottom: max(8px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 359px) {
  .masthead .shell {
    gap: 8px;
  }
  .main-nav {
    gap: 9px;
  }
  .brand img {
    width: 101px;
  }
  .hero-copy {
    padding-top: 108px;
  }
  .hero h1 {
    font-size: 31px;
  }
}
@media (max-height: 490px) and (min-width: 640px) {
  .hero { min-height: 0; }
  .hero-copy { position: relative; padding-top: 86px; top: auto; }
  .hero h1 { font-size: 34px; max-width: 52%; }
  .hero-copy p { font-size: 13px; line-height: 1.5; margin-top: 12px; max-width: 34ch; }
  .hero .actions { margin-top: 13px; }
  .scene-stage { inset: 0; height: 100%; mask-image: none; }
  .scene-stage > img, .stage-tip-motion, .stage-foreground { object-position: 87% center; }
  .stage-film { object-position: 88% center; }
  .hero-base { bottom: 14px; }
  .scene-caption { bottom: 6px; right: var(--gutter); }
}

/* Wide stages retain the whole sculpture; only the naturally dark left edge fades. */
@media (min-aspect-ratio: 16/9) and (min-width: 640px) {
  .scene-stage > img,
  .stage-tip-motion,
  .stage-film {
    inset: 0 0 0 auto;
    width: calc(100dvh * 16 / 9);
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    mask-image: linear-gradient(90deg, transparent, #000 10%);
  }
}

@media (min-width: 900px) and (max-aspect-ratio: 1/1) {
  .hero-copy { position: relative; top: auto; padding-top: 128px; }
  .hero h1 { font-size: 48px; }
  .hero-copy p { max-width: 35ch; font-size: 15px; margin-top: 20px; }
  .scene-stage { inset: auto 0 0; height: 66%; mask-image: linear-gradient(transparent, #000 6%); }
  .scene-caption { left: auto; right: var(--gutter); bottom: 16px; translate: none; }
  .hero-base .read-on, .hero .actions .text-link { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  ::before,
  ::after {
    transition: none !important;
    animation: none !important;
  }
}
