:root {
  color-scheme: light;
  --paper: #f3ebdb;
  --wine: #582b22;
  --rust: #ac4b2d;
  --ink: #38251e;
  --progress: 0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 105px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #bd7849;
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
}
button:disabled {
  cursor: default;
}
[hidden] {
  display: none !important;
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 14px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  padding: 0 5%;
  color: var(--wine);
  transition:
    background 0.2s,
    color 0.2s;
}
.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: currentColor;
  opacity: 0.18;
}
.wordmark {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1.6px;
}
.wordmark span {
  font-size: 23px;
  font-style: italic;
  margin: 0 4px;
}
.wordmark i {
  display: block;
  font:
    7px Arial,
    Helvetica,
    sans-serif;
  letter-spacing: 2.1px;
  text-align: center;
  margin-top: 8px;
}
.header nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 11px;
}
.nav-story {
  background: none;
  border: 0;
  padding: 10px 0;
  font-size: inherit;
}
.basket-trigger {
  border: 1px solid currentColor;
  border-radius: 30px;
  background: transparent;
  padding: 12px 18px;
  font-size: 11px;
}
.bag-count {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 15px;
  border: 1px solid #a2806460;
  border-radius: 50%;
  font-size: 9px;
}
body:has(.bake-stage[data-scene='1']) .header,
body:has(.bake-stage[data-scene='3']) .header,
body:has(.bake-stage[data-scene='4']) .header {
  color: var(--paper);
  background: linear-gradient(#27160e88, transparent);
}
html.past-story body:has(.bake-stage) .header {
  color: var(--wine);
  background: #f3ebdbf5;
  backdrop-filter: blur(12px);
}
.journey {
  height: 620svh;
  position: relative;
}
.bake-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  isolation: isolate;
  overflow: clip;
  background: var(--paper);
  --work: 0;
  --folds: 0;
  --oven: 0;
  --arrival: 0;
  --door: 0;
  --hero-out: 0;
  --steam: 0;
}
.worlds,
.paper-world,
.work-world,
.fold-world,
.oven-world,
.morning-world,
.scene-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.worlds {
  z-index: -3;
  overflow: hidden;
}
.worlds img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.paper-world {
  background: radial-gradient(ellipse at 65% 45%, #faf3e1, var(--paper) 70%);
}
.sun-disc {
  position: absolute;
  width: 47vw;
  height: 47vw;
  border-radius: 50%;
  left: 48%;
  top: 14%;
  background: radial-gradient(circle at 35% 32%, #edcf9370, #d9a76355);
  border: 1px solid #9e6d4230;
  transform: translateY(calc(var(--hero-out) * -80px));
}
.sun-disc::before,
.sun-disc::after {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid #a87d4830;
  border-radius: 50%;
}
.sun-disc::after {
  inset: -18px;
  border-style: dashed;
  transform: rotate(var(--halo-turn, 0deg));
}
.ghost-type {
  position: absolute;
  right: -1%;
  bottom: 9%;
  font:
    23vw/0.8 Georgia,
    serif;
  color: transparent;
  -webkit-text-stroke: 1px #a7754825;
  letter-spacing: -0.065em;
  opacity: calc(1 - var(--hero-out));
}
.hero-rules {
  position: absolute;
  left: 48%;
  bottom: 15%;
  width: 43%;
  height: 10px;
  border-top: 1px solid #9e6d4230;
  border-bottom: 1px solid #9e6d4230;
}
.work-world {
  opacity: var(--work);
  clip-path: inset(0 calc((1 - var(--work)) * 100%) 0 0);
}
.work-world img {
  transform: scale(var(--work-scale, 1.08));
  object-position: 65% 50%;
}
.fold-world {
  background: #eacfa5;
  opacity: var(--folds);
}
.fold-rings {
  position: absolute;
  width: 47vw;
  aspect-ratio: 1;
  top: 19%;
  left: 45%;
  border: 1px solid #89502f40;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 70px, #8c582824 71px 72px);
  transform: rotate(var(--halo-turn));
}
.fold-word {
  position: absolute;
  right: 5%;
  bottom: 15%;
  color: #9f6e3c20;
  font:
    11vw/0.8 Georgia,
    serif;
  letter-spacing: -0.055em;
}
.oven-world {
  opacity: var(--oven);
}
.oven-world img {
  transform: scale(var(--oven-scale, 1));
  object-position: 65% 50%;
}
.oven-door {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 51%;
  background: linear-gradient(90deg, #1e1815, #413226 90%, #211b16);
  border: 7px solid #695037;
  box-shadow:
    inset 0 0 0 3px #1b1714,
    inset 0 0 80px #000a,
    0 0 35px #000b;
}
.oven-door::before {
  content: '';
  position: absolute;
  inset: 12%;
  border: 1px solid #aa7e442a;
  border-radius: 46% 46% 4% 4%;
}
.oven-door i {
  position: absolute;
  top: 45%;
  width: 10px;
  height: 85px;
  border-radius: 10px;
  background: linear-gradient(90deg, #76573a, #b08d5f, #3d2d20);
  box-shadow: 2px 5px 8px #0008;
}
.left-door {
  left: 0;
  transform: translateX(calc(var(--door) * -105%));
}
.left-door i {
  right: 7%;
}
.right-door {
  right: 0;
  transform: translateX(calc(var(--door) * 105%));
}
.right-door i {
  left: 7%;
}
.morning-world {
  clip-path: inset(0 0 0 var(--morning-clip, 100%));
  opacity: var(--arrival);
}
.morning-world img {
  transform: scale(var(--morning-scale, 1.07));
  object-position: 65% 50%;
}
.scene-shade {
  background: linear-gradient(90deg, #1c110ded 0%, #21130e91 31%, #160f0920 66%, transparent);
  opacity: 0;
}
.bake-stage:is([data-scene='1'], [data-scene='3'], [data-scene='4']) .scene-shade {
  opacity: 1;
}
.film-meta {
  position: absolute;
  top: 125px;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #78533e;
  z-index: 6;
}
.story-copy {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}
.chapter {
  position: absolute;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}
.chapter.active {
  visibility: visible;
}
.chapter-inner {
  position: absolute;
  left: 6%;
  top: 24%;
  width: 45%;
  max-width: 650px;
}
.chapter a,
.chapter button {
  pointer-events: auto;
}
.eyebrow {
  font-size: 9px;
  line-height: 1.8;
  font-weight: 500;
  letter-spacing: 1.8px;
}
.small-sun {
  margin-right: 9px;
  font-size: 18px;
  vertical-align: middle;
}
h1 {
  font-size: clamp(70px, 8.3vw, 134px);
  line-height: 0.89;
  letter-spacing: -0.068em;
  color: var(--wine);
  margin: 22px 0 28px;
}
h1 em {
  color: var(--rust);
  padding-right: 0.08em;
}
.chapter h2 {
  font-size: clamp(52px, 6.1vw, 100px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 24px 0 26px;
}
.chapter-description {
  font-size: 12px;
  line-height: 1.9;
  max-width: 330px;
}
.chapter-footnote {
  display: block;
  font-size: 8px;
  letter-spacing: 1.6px;
  margin-top: 30px;
}
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 38px;
  font-size: 11px;
  padding: 13px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
}
.story-link span {
  font-size: 18px;
}
.story-link:hover span {
  transform: translateY(3px);
}
.travelling-pastry {
  position: absolute;
  width: min(58vw, 930px);
  left: 70%;
  top: 55%;
  transform: translate(-50%, -50%) rotate(-22deg);
  transform-origin: 50% 50%;
  z-index: 3;
  pointer-events: none;
  will-change: transform;
}
.travelling-pastry img {
  width: 100%;
  height: auto;
  filter: drop-shadow(8px 35px 22px #71431b30);
}
.pastry-note {
  position: absolute;
  bottom: 20%;
  right: 8%;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 4;
  transform: rotate(-7deg);
  opacity: calc(1 - var(--hero-out));
}
.note-rule {
  width: 65px;
  height: 1px;
  background: #80543160;
}
.pastry-note p {
  font:
    18px/1.35 Georgia,
    serif;
  margin: 0;
}
.batch-seal {
  position: absolute;
  top: 18%;
  right: 7%;
  width: 114px;
  height: 114px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #8d5c4480;
  border-radius: 50%;
  transform: rotate(calc(14deg + var(--progress) * 90deg));
  opacity: calc(1 - var(--hero-out));
  z-index: 4;
}
.batch-seal::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px dashed #8d5c4455;
  border-radius: 50%;
}
.batch-seal span {
  font-size: 6px;
  letter-spacing: 1.3px;
}
.batch-seal strong {
  font:
    italic 35px Georgia,
    serif;
  margin: 4px 0;
}
#flour {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}
.layer-study {
  position: absolute;
  inset: 0;
  opacity: var(--folds);
  z-index: 1;
  pointer-events: none;
}
.butter-layer {
  position: absolute;
  top: 57%;
  left: 69%;
  width: 28vw;
  height: 21vw;
  max-width: 450px;
  max-height: 340px;
  background: linear-gradient(135deg, #fff1c6, #e3ba72);
  border: 1px solid #a2713555;
  border-radius: 40% 25% 36% 26%;
  box-shadow:
    0 6px 0 #bc883f60,
    0 10px 15px #a16a2720;
}
.butter-layer:nth-child(even) {
  background: #f4d693;
}
.pastry-steam {
  position: absolute;
  inset: 0;
  opacity: var(--steam);
}
.pastry-steam i {
  position: absolute;
  width: 30px;
  height: 130px;
  border-left: 2px solid #ffedd080;
  border-radius: 50%;
  left: 45%;
  top: -5%;
  filter: blur(3px);
  transform: translateY(var(--steam-y)) rotate(25deg);
}
.pastry-steam i:nth-child(2) {
  left: 60%;
  top: 2%;
  height: 100px;
}
.pastry-steam i:nth-child(3) {
  left: 35%;
  top: 6%;
}
.bake-readout {
  position: absolute;
  bottom: 118px;
  right: 5%;
  text-align: right;
  z-index: 6;
  font-size: 8px;
  letter-spacing: 1.5px;
}
.bake-readout p {
  margin: 8px 0 0;
  font-size: 7px;
  opacity: 0.65;
}
.stage-controls {
  position: absolute;
  bottom: 30px;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 9;
  border-top: 1px solid #84583e40;
  padding-top: 18px;
}
.chapter-nav {
  display: flex;
  gap: 24px;
}
.chapter-nav button {
  padding: 8px 0;
  border: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  opacity: 0.52;
  min-width: 54px;
}
.chapter-nav small {
  font-size: 7px;
  letter-spacing: 1px;
}
.chapter-nav span {
  font:
    italic 17px Georgia,
    serif;
}
.chapter-nav button[aria-current='step'] {
  opacity: 1;
}
.chapter-nav button[aria-current='step'] small::after {
  content: '';
  display: inline-block;
  width: 17px;
  height: 1px;
  margin: 0 0 2px 9px;
  background: currentColor;
}
.motion-tools {
  display: flex;
  gap: 22px;
  padding-bottom: 10px;
  font-size: 8px;
  letter-spacing: 0.5px;
  align-items: center;
}
.motion-tools button {
  padding: 5px 0;
  font-size: inherit;
  background: none;
  border: 0;
}
.journey-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--rust);
  transform: scaleX(var(--progress));
  transform-origin: left;
  z-index: 10;
}
.bake-stage:is([data-scene='1'], [data-scene='3'], [data-scene='4']) {
  color: var(--paper);
}
.bake-stage:is([data-scene='1'], [data-scene='3'], [data-scene='4']) .film-meta {
  color: #e8d9bc;
}
.bake-stage:is([data-scene='1'], [data-scene='3'], [data-scene='4']) .stage-controls {
  border-color: #f3ebdb40;
}
.chapter-still {
  display: none;
}
.manifesto {
  display: grid;
  grid-template-columns: 70px 1fr 0.76fr;
  gap: 5%;
  padding: 140px 6%;
  align-items: center;
}
.manifesto-index {
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 2px;
  align-self: start;
  padding-top: 8px;
}
.manifesto-line {
  font-size: clamp(45px, 5.6vw, 86px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  margin: 30px 0;
}
.manifesto-word {
  color: #bfb09b;
  transition: color 0.22s;
}
.manifesto-word.lit {
  color: var(--wine);
}
.manifesto-word.lit em {
  color: var(--rust);
}
.manifesto-bottom {
  display: flex;
  align-items: center;
  gap: 40px;
}
.manifesto-bottom p {
  font-size: 11px;
  line-height: 1.9;
  max-width: 230px;
  margin: 0;
}
.handwritten {
  font:
    italic 22px/1.2 Georgia,
    serif;
  color: var(--rust);
  transform: rotate(-8deg);
  white-space: nowrap;
}
.manifesto-photo {
  position: relative;
  aspect-ratio: 0.68;
  border-radius: 220px 220px 0 0;
  overflow: hidden;
  transform: rotate(3deg);
  margin-top: 70px;
}
.manifesto-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 83% 50%;
}
.manifesto-photo span {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: var(--paper);
  font-size: 7px;
  letter-spacing: 1.5px;
}
.counter {
  padding: 100px 6% 85px;
  background: #e6dac2;
  scroll-margin-top: 0;
}
.counter-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.counter-heading h2 {
  font-size: clamp(64px, 8vw, 112px);
  line-height: 1;
  letter-spacing: -0.055em;
  margin: 22px 0 38px;
}
.counter-heading h2 em {
  color: var(--rust);
}
.counter-heading > p {
  font-size: 12px;
  line-height: 1.8;
  margin-bottom: 46px;
}
.counter-heading small {
  font-size: 9px;
  display: block;
  margin-top: 17px;
  opacity: 0.65;
}
.menu-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 35px;
}
.menu-tabs button {
  border: 1px solid #59292055;
  border-radius: 25px;
  padding: 10px 20px;
  background: transparent;
  font-size: 12px;
}
.menu-tabs button.active {
  background: var(--wine);
  color: var(--paper);
}
.menu-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}
.menu-items article[hidden] {
  display: none;
}
.product-art {
  height: 320px;
  overflow: hidden;
  position: relative;
  border-radius: 50% 50% 0 0;
  background: #f0e9dd;
}
.product-art img {
  position: absolute;
  width: 240%;
  height: 160%;
  max-width: none;
  object-fit: cover;
  top: -19%;
  left: -41%;
  transition: transform 0.7s;
}
.croissant-art img {
  left: -121%;
  top: -42%;
  width: 300%;
  height: 200%;
}
.cake-art img {
  left: -180%;
  top: -40%;
  width: 300%;
  height: 200%;
}
.product-art:hover img {
  transform: scale(1.045);
}
.product-art span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f2ecdfec;
  font-size: 8px;
  letter-spacing: 1.5px;
  padding: 13px;
  text-align: center;
}
.product-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 25px;
}
.product-title h3 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 0 0 10px;
}
.product-title span {
  font-size: 13px;
}
.menu-items article > p {
  font-size: 11px;
  line-height: 1.6;
}
.add {
  background: none;
  border: 0;
  border-bottom: 1px solid #59292077;
  width: 100%;
  text-align: left;
  padding: 17px 0;
  font-size: 11px;
}
.add span {
  float: right;
  font-size: 18px;
}
.add:hover {
  color: var(--rust);
}
.allergens {
  margin: 40px 0 0;
  font-size: 10px;
  opacity: 0.7;
}
.invitation {
  background: var(--wine);
  color: var(--paper);
  padding: 90px 5% 40px;
  position: relative;
  overflow: hidden;
}
.invitation:before {
  content: '&';
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 700px;
  line-height: 1;
  position: absolute;
  right: -30px;
  bottom: -120px;
  color: #f2ecdf09;
  pointer-events: none;
}
.invitation h2 {
  font-size: clamp(65px, 9vw, 135px);
  line-height: 1.02;
  letter-spacing: -5px;
  margin: 30px 0 40px;
}
.reserve-open {
  border: 1px solid #f2ecdf88;
  border-radius: 50px;
  padding: 20px 30px;
  background: transparent;
  color: var(--paper);
  font-size: 12px;
  position: relative;
}
.reserve-open span {
  margin-left: 35px;
}
.reserve-open:hover {
  background: var(--paper);
  color: var(--wine);
}
.invitation-bottom {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.invitation-bottom span {
  font-size: 9px;
  line-height: 1.6;
  letter-spacing: 2px;
}
.invitation-bottom p {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: 25px;
  margin: 0;
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 45px 5%;
  font-size: 10px;
}
footer p {
  line-height: 1.8;
  margin: 0;
}
footer p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
dialog {
  border: 0;
  border-radius: 3px;
  background: var(--paper);
  color: var(--ink);
  width: min(530px, 92vw);
  padding: 45px;
  max-height: 90svh;
  overflow: auto;
}
dialog::backdrop {
  background: #28190dc4;
  backdrop-filter: blur(7px);
}
dialog h2 {
  font-size: 45px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 20px 0 30px;
}
.close {
  position: absolute;
  right: 17px;
  top: 12px;
  border: 0;
  background: none;
  font-size: 28px;
}
.bag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #59292030;
  padding: 15px 0;
  font-size: 12px;
  gap: 10px;
}
.bag-row button {
  background: none;
  border: 0;
  text-decoration: underline;
  font-size: 10px;
}
.bag-total {
  margin: 25px 0;
}
.primary {
  background: var(--wine);
  color: var(--paper);
  padding: 15px 25px;
  border: 0;
  border-radius: 30px;
  width: 100%;
  font-size: 12px;
}
.primary:disabled {
  opacity: 0.45;
  cursor: default;
}
.demo-note {
  font-size: 10px;
  line-height: 1.6;
  margin: 20px 0 0;
  opacity: 0.7;
}
.checkout-result,
#reservation-result {
  font-size: 13px;
  line-height: 1.6;
  margin-top: 20px;
}
label {
  display: block;
  font-size: 11px;
  margin-bottom: 17px;
}
input,
select {
  display: block;
  width: 100%;
  border: 1px solid #59292055;
  background: transparent;
  padding: 13px;
  margin-top: 7px;
  color: inherit;
  border-radius: 0;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 30px);
  opacity: 0;
  background: var(--wine);
  color: var(--paper);
  border: 1px solid #e6ddca50;
  padding: 15px 25px;
  border-radius: 30px;
  z-index: 20;
  font-size: 12px;
  pointer-events: none;
  transition: 0.25s;
  white-space: nowrap;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
/* Tactile menu shelves and the final window scene. */
.product-art {
  height: 360px;
  border-radius: 160px 160px 6px 6px;
  background: radial-gradient(circle at 50% 35%, #fff5d9, #d9bd8e);
  box-shadow: inset 0 0 0 1px #59292026;
}
.product-art img {
  transition: transform 0.45s;
  transform: rotate(var(--tilt, 0deg));
}
.product-art:hover img {
  transform: rotate(var(--tilt, 0deg)) scale(1.03);
}
.croissant-art img {
  width: 115%;
  height: 100%;
  left: -7.5%;
  top: 0;
  object-fit: contain;
}
.product-art span {
  background: #f3ebdbd9;
  padding: 15px 8px;
}
.product-title h3 {
  font-size: 32px;
}
.add {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.allergens {
  line-height: 1.8;
}
.invitation {
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: 85px 7%;
  isolation: isolate;
  background: #28180f;
}
.invitation::before {
  display: none;
}
.invitation-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 55%;
  z-index: -2;
}
.invitation::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #24130fe8, #2b160e8a 40%, transparent 85%);
  z-index: -1;
}
.invitation h2 {
  font-size: clamp(62px, 7.8vw, 114px);
  line-height: 0.97;
  margin: 26px 0 36px;
  letter-spacing: -0.055em;
}
.invitation-note {
  font-size: 10px;
  line-height: 1.8;
  margin: 36px 0 0;
  color: #e6d7ba;
}
footer {
  padding: 48px 6%;
}
.toast {
  white-space: normal;
  max-width: 90vw;
  text-align: center;
  width: max-content;
}
.noscript-note {
  padding: 30px 6%;
  font-size: 12px;
}
@media (min-width: 760px) and (max-height: 850px) {
  .bake-stage {
    min-height: 670px;
  }
  .header {
    height: 82px;
  }
  .film-meta {
    top: 102px;
  }
  .chapter-inner {
    top: 22%;
  }
  h1 {
    font-size: clamp(65px, 7.4vw, 104px);
    margin: 16px 0 19px;
  }
  .chapter h2 {
    font-size: clamp(52px, 5.8vw, 81px);
    margin: 19px 0;
  }
  .chapter-description {
    font-size: 11px;
    line-height: 1.7;
  }
  .story-link {
    padding: 10px 0;
  }
  .chapter-footnote {
    margin-top: 20px;
  }
  .batch-seal {
    width: 95px;
    height: 95px;
    top: 17%;
  }
  .pastry-note {
    bottom: 23%;
  }
  .stage-controls {
    bottom: 19px;
    padding-top: 11px;
  }
  .bake-readout {
    bottom: 102px;
  }
}
@media (max-width: 1050px) {
  .header nav {
    gap: 20px;
  }
  .chapter-inner {
    width: 49%;
  }
  h1 {
    font-size: 9vw;
  }
  .chapter h2 {
    font-size: 7.2vw;
  }
  .manifesto {
    grid-template-columns: 1.1fr 0.8fr;
    gap: 7%;
    padding: 100px 6%;
  }
  .manifesto-index {
    display: none;
  }
  .manifesto-bottom {
    flex-wrap: wrap;
    gap: 20px;
  }
  .product-art {
    height: 280px;
  }
  .product-title h3 {
    font-size: 25px;
  }
  .menu-items {
    gap: 24px;
  }
  .invitation {
    min-height: 640px;
  }
}
@media (max-width: 759px) {
  html {
    scroll-padding-top: 86px;
  }
  .header {
    height: 78px;
    padding: 0 6%;
  }
  .wordmark {
    font-size: 24px;
  }
  .wordmark span {
    font-size: 19px;
  }
  .wordmark i {
    font-size: 5.7px;
    letter-spacing: 1.5px;
    margin-top: 6px;
  }
  .header nav {
    gap: 0;
  }
  .header nav > a,
  .nav-story {
    display: none;
  }
  .basket-trigger {
    font-size: 10px;
    padding: 9px 12px;
  }
  .bag-count {
    margin-left: 7px;
    width: 17px;
    height: 17px;
    font-size: 8px;
  }
  .journey {
    height: 570svh;
  }
  .bake-stage {
    min-height: 650px;
  }
  .film-meta {
    top: 99px;
    left: 6%;
    right: 6%;
    font-size: 6px;
    letter-spacing: 1.2px;
  }
  .chapter-inner {
    left: 7%;
    top: 18%;
    width: 86%;
    max-width: none;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.4px;
  }
  h1 {
    font-size: clamp(54px, 15vw, 82px);
    line-height: 0.93;
    letter-spacing: -0.065em;
    margin: 15px 0 14px;
  }
  h1 br:nth-of-type(2) {
    display: none;
  }
  h1 em::after {
    content: ' ';
  }
  .chapter h2 {
    font-size: clamp(46px, 12.5vw, 72px);
    line-height: 1;
    margin: 15px 0;
  }
  .chapter-description {
    font-size: 10px;
    line-height: 1.8;
  }
  .chapter-description br {
    display: initial;
  }
  .chapter-description {
    max-width: 250px;
  }
  .chapter-footnote {
    margin-top: 18px;
    font-size: 6px;
    letter-spacing: 1.1px;
  }
  .story-link {
    font-size: 10px;
    gap: 24px;
    padding: 9px 0;
  }
  .travelling-pastry {
    width: 92vw;
    left: 52%;
    top: 66%;
  }
  .sun-disc {
    width: 95vw;
    height: 95vw;
    left: 9%;
    top: 43%;
  }
  .ghost-type {
    font-size: 40vw;
    bottom: 16%;
    right: 0;
  }
  .hero-rules,
  .pastry-note,
  .batch-seal {
    display: none;
  }
  .fold-rings {
    width: 85vw;
    left: 8%;
    top: 47%;
  }
  .fold-word {
    font-size: 23vw;
    bottom: 21%;
  }
  .butter-layer {
    top: 67%;
    left: 51%;
    width: 54vw;
    height: 44vw;
  }
  .work-world img {
    object-position: 72% 60%;
  }
  .oven-world img {
    object-position: 65% 55%;
  }
  .morning-world img {
    object-position: 66% 55%;
  }
  .scene-shade {
    background: linear-gradient(180deg, #21130eae 0%, #21130eba 38%, #21130e08 65%, #21130ec7 100%);
  }
  .bake-readout {
    right: 6%;
    left: 6%;
    bottom: 116px;
    text-align: left;
    font-size: 6px;
  }
  .bake-readout p {
    font-size: 6px;
    margin-top: 5px;
  }
  .stage-controls {
    left: 6%;
    right: 6%;
    bottom: 15px;
    padding-top: 10px;
    display: block;
  }
  .chapter-nav {
    justify-content: space-between;
    gap: 9px;
  }
  .chapter-nav button {
    min-width: 0;
    gap: 5px;
    padding: 3px 0;
  }
  .chapter-nav span {
    font-size: 15px;
  }
  .chapter-nav small {
    font-size: 6px;
  }
  .chapter-nav button[aria-current='step'] small::after {
    width: 12px;
    margin-left: 6px;
  }
  .motion-tools {
    justify-content: space-between;
    margin-top: 11px;
    padding: 0;
    font-size: 7px;
  }
  .pastry-steam i {
    height: 80px;
  }
  .manifesto {
    padding: 85px 7%;
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .manifesto-line {
    font-size: 12.5vw;
    margin: 20px 0 26px;
  }
  .manifesto-bottom {
    flex-wrap: nowrap;
    gap: 20px;
  }
  .manifesto-bottom p {
    font-size: 10px;
  }
  .handwritten {
    font-size: 19px;
  }
  .manifesto-photo {
    margin: 0 auto;
    width: 82%;
    max-height: 440px;
    aspect-ratio: 0.85;
  }
  .counter {
    padding: 70px 7%;
  }
  .counter-heading {
    display: block;
  }
  .counter-heading h2 {
    font-size: 18vw;
    margin: 20px 0;
  }
  .counter-heading > p {
    margin-bottom: 30px;
    font-size: 11px;
  }
  .counter-heading > p br {
    display: none;
  }
  .counter-heading small {
    margin-top: 8px;
  }
  .menu-tabs {
    gap: 6px;
    margin-bottom: 26px;
  }
  .menu-tabs button {
    font-size: 10px;
    padding: 10px 13px;
  }
  .menu-items {
    grid-template-columns: 1fr;
    gap: 42px;
  }
  .product-art {
    height: 350px;
  }
  .product-title {
    margin-top: 20px;
  }
  .product-title h3 {
    font-size: 30px;
  }
  .menu-items article > p {
    font-size: 12px;
  }
  .add {
    font-size: 12px;
  }
  .invitation {
    min-height: 670px;
    padding: 70px 7%;
  }
  .invitation h2 {
    font-size: 18vw;
  }
  .invitation-art {
    object-position: 70% 50%;
  }
  .invitation::after {
    background: linear-gradient(90deg, #24130fe3, #2b160e85 65%, #21110e44);
  }
  .reserve-open {
    padding: 17px 22px;
    font-size: 11px;
  }
  footer {
    flex-wrap: wrap;
    padding: 35px 7%;
    gap: 24px;
  }
  footer > .wordmark {
    width: 100%;
  }
  footer p {
    font-size: 9px;
  }
  footer > a:last-child {
    font-size: 9px;
  }
  dialog {
    padding: 37px 25px;
  }
  dialog h2 {
    font-size: 38px;
  }
}
@media (max-width: 359px) {
  .wordmark {
    font-size: 21px;
  }
  .wordmark i {
    font-size: 5px;
  }
  .header {
    padding: 0 5%;
  }
  .chapter-inner {
    top: 19%;
  }
  .chapter h2 {
    font-size: 43px;
  }
  h1 {
    font-size: 51px;
  }
  .product-art {
    height: 300px;
  }
  .menu-tabs button {
    font-size: 9px;
    padding: 9px 11px;
  }
  .manifesto-bottom {
    flex-wrap: wrap;
  }
}
/* With reduced motion, the five chapters become ordinary illustrated sections. */
.reduced-motion .journey {
  height: auto;
}
.reduced-motion .bake-stage {
  position: relative;
  height: auto;
  overflow: hidden;
}
.reduced-motion .worlds,
.reduced-motion .travelling-pastry,
.reduced-motion .layer-study,
.reduced-motion #flour,
.reduced-motion .film-meta,
.reduced-motion .pastry-note,
.reduced-motion .batch-seal,
.reduced-motion .bake-readout,
.reduced-motion .journey-progress {
  display: none;
}
.reduced-motion .story-copy {
  position: relative;
}
.reduced-motion .chapter {
  position: relative;
  min-height: 760px;
  height: 95svh;
  visibility: visible;
  overflow: hidden;
  isolation: isolate;
  pointer-events: auto;
  color: var(--wine);
}
.reduced-motion .chapter-inner {
  top: 24%;
}
.reduced-motion .chapter-still {
  display: block;
  position: absolute;
  inset: 0;
  z-index: -1;
  background-size: cover;
  background-position: center;
}
.reduced-motion .still-pastry {
  background: #ead8b8 url('./croissant-sculpture.webp') 100% 50% / 57% auto no-repeat;
}
.reduced-motion .still-work {
  background-image: linear-gradient(90deg, #21130edb, transparent), url('./flour-workbench.webp');
}
.reduced-motion .still-oven {
  background-image: linear-gradient(90deg, #21130ee8, transparent), url('./ember-oven.webp');
}
.reduced-motion .still-morning {
  background-image: linear-gradient(90deg, #21130ee8, transparent), url('./morning-table.webp');
}
.reduced-motion .chapter:is([data-chapter='1'], [data-chapter='3'], [data-chapter='4']) {
  color: var(--paper);
}
.reduced-motion .stage-controls {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  margin: 0;
  padding: 20px 6%;
  color: var(--wine);
  background: var(--paper);
}
.reduced-motion .header {
  color: var(--wine) !important;
  background: #f3ebdbf5 !important;
}
.reduced-motion .product-art img,
.motion-paused .product-art img {
  transform: none !important;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .journey {
    height: auto;
  }
  .bake-stage {
    position: relative;
    height: auto;
  }
  .story-copy {
    position: relative;
  }
  .chapter {
    position: relative;
    min-height: 700px;
    visibility: visible;
  }
  .manifesto-word {
    color: var(--wine);
  }
}
@media (max-width: 759px) {
  .reduced-motion .chapter {
    height: 90svh;
    min-height: 690px;
  }
  .reduced-motion .still-pastry {
    background-position: 50% 85%;
    background-size: 115% auto;
  }
  .reduced-motion .chapter-inner {
    top: 20%;
  }
  .reduced-motion .still-work,
  .reduced-motion .still-oven,
  .reduced-motion .still-morning {
    background-position: 65% 50%;
  }
}
@media (max-width: 759px) and (max-height: 740px) {
  .chapter-inner {
    top: 18%;
  }
  .chapter h1 {
    font-size: clamp(36px, 6svh, 43px);
    margin: 12px 0;
  }
  .chapter h2 {
    font-size: clamp(38px, 6.5svh, 48px);
    margin: 13px 0;
  }
  .chapter-description {
    font-size: 9px;
    line-height: 1.65;
    margin-bottom: 10px;
  }
  .story-link {
    font-size: 9px;
    padding: 7px 0;
  }
  .travelling-pastry {
    width: 72vw;
  }
  .bake-readout {
    display: none;
  }
  .chapter-footnote {
    font-size: 6px;
    margin-top: 13px;
  }
}

.cake-art img {
  width: 110%;
  height: 90%;
  left: -5%;
  top: 4%;
  object-fit: contain;
}
