@import url("https://fonts.googleapis.com/css2?family=Caveat:wght@400;500;600;700&family=DM+Sans:wght@400;500;600&family=Montserrat:wght@400;500;600&display=swap");
:root {
  --blue: #234e8a;
  --cream: #f3e4c6;
  --red: #c83c4d;
  --ink: #163b69;
  --paper: #fbf5e7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--blue);
  font-family: "Montserrat", sans-serif;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 6px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(46px, 6vw, 90px);
}
em {
  font-weight: 400;
}
p {
  line-height: 1.7;
}
.eyebrow,
.section-meta,
.hero-bottom,
.journey-meter,
.photo-caption > span {
  font-size: 12px;
  letter-spacing: 0.15em;
  font-weight: 500;
}
.skip {
  position: fixed;
  top: -100px;
  z-index: 99;
  background: var(--cream);
  padding: 15px;
}
.skip:focus {
  top: 0;
}
header {
  height: 94px;
  position: fixed;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 5vw;
  background: var(--blue);
  color: var(--cream);
  z-index: 30;
  border-bottom: 1px solid #f3e4c633;
}
.brand img {
  width: 165px;
  height: 55px;
  object-fit: contain;
}
nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
}
nav a:hover {
  opacity: 0.7;
}
.nav-order {
  border: 1px solid var(--cream);
  padding: 13px 23px;
  border-radius: 30px;
}
.cart-toggle {
  border: 0;
  background: none;
  color: inherit;
  font-size: 14px;
  display: flex;
  gap: 10px;
  align-items: center;
}
#cart-count {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue);
  height: 25px;
  min-width: 25px;
  font-size: 12px;
}
.mobile-toggle {
  display: none;
}
.letter-stage {
  height: 190vh;
  background: var(--blue);
  color: var(--cream);
}
.letter-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-kicker {
  position: absolute;
  top: 145px;
}
.letter-composition {
  position: relative;
  width: min(680px, 80vw);
  height: min(450px, 56vw);
  transform: translateY(30px);
}
.envelope-button {
  position: absolute;
  inset: -12% -4%;
  width: 108%;
  height: 124%;
  border: 0;
  background: none;
  z-index: 2;
  transition: opacity 0.2s;
}
.envelope-button img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 25px 28px #10264e55);
}
.letter {
  position: absolute;
  inset: 0 6%;
  padding: 30px 40px;
  background: var(--paper);
  color: var(--blue);
  transform: translateY(8%) rotate(-3deg);
  box-shadow: 0 20px 60px #10264e44;
  text-align: center;
}
.letter-date {
  font:
    12px Georgia,
    serif;
}
.letter h1 {
  font-size: clamp(34px, 4.5vw, 62px);
  margin: 20px 0;
}
.letter h1 em {
  color: var(--red);
}
.letter p {
  font:
    15px/1.6 Georgia,
    serif;
}
.letter-signature {
  width: 170px;
  margin-top: 18px;
  filter: brightness(0) saturate(100%) invert(25%) sepia(27%) saturate(1540%)
    hue-rotate(175deg);
}
.open-letter {
  position: absolute;
  bottom: 90px;
  border: 1px solid #f3e4c666;
  color: var(--cream);
  background: none;
  padding: 16px 26px;
  border-radius: 30px;
  font:
    18px Georgia,
    serif;
  display: flex;
  gap: 24px;
  align-items: center;
}
.tiny-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
}
.hero-bottom {
  position: absolute;
  bottom: 30px;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}
.essence-stage {
  height: 300vh;
  background: var(--paper);
}
.essence-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.section-meta {
  position: absolute;
  top: 125px;
  left: 5vw;
  right: 5vw;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #234e8a44;
  padding-bottom: 15px;
}
.plate-wrap {
  position: relative;
  width: min(660px, 68vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-top: 75px;
}
.plate {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 16px #6b573318);
}
.plate-copy {
  z-index: 2;
  text-align: center;
  width: 50%;
}
.plate-copy > span:first-child {
  font-size: 12px;
  letter-spacing: 0.15em;
}
.plate-copy h2 {
  font-size: clamp(35px, 4.1vw, 60px);
  margin: 25px 0 15px;
}
.plate-copy p {
  font:
    18px/1.5 Georgia,
    serif;
}
.plate-hand {
  display: block;
  font:
    italic 25px Georgia,
    serif;
  color: var(--red);
  margin-top: 22px;
}
.orbit {
  position: absolute;
  object-fit: cover;
  box-shadow: 0 15px 35px #163b6920;
  width: 21vw;
  height: 28vw;
  max-height: 330px;
  max-width: 250px;
}
.orbit-one {
  left: -6%;
  top: 30%;
  transform: rotate(-12deg);
}
.orbit-two {
  right: -4%;
  bottom: 4%;
  transform: rotate(10deg);
}
.essence-side {
  position: absolute;
  right: 4vw;
  top: 27%;
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.13em;
}
.plate-progress {
  position: absolute;
  bottom: 24px;
  display: flex;
  gap: 8px;
}
.plate-progress i {
  height: 4px;
  width: 30px;
  background: #234e8a33;
}
.plate-progress i.active {
  background: var(--red);
}
.journey-stage {
  height: 430vh;
}
.journey-sticky {
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
  background: var(--cream);
}
.journey-track {
  height: 100%;
  display: flex;
  width: max-content;
  will-change: transform;
  padding-top: 94px;
  padding-bottom: 50px;
}
.journey-panel {
  height: 100%;
  flex: none;
  position: relative;
  width: 85vw;
  overflow: hidden;
}
.intro-panel {
  width: 62vw;
  background: var(--blue);
  color: var(--cream);
  padding: 6vh 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.intro-panel h2 {
  font-size: clamp(65px, 7.6vw, 112px);
  margin: 35px 0;
}
.intro-panel p {
  font-size: 17px;
}
.handwriting {
  font:
    italic 27px Georgia,
    serif;
  display: block;
  margin-top: 35px;
  color: var(--red);
}
.intro-panel .handwriting {
  color: var(--cream);
}
.photo-panel img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.photo-panel:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, #1a1a19aa);
}
.photo-caption {
  position: absolute;
  bottom: 40px;
  left: 45px;
  z-index: 2;
  color: var(--cream);
}
.photo-caption h3 {
  font-size: 60px;
  margin-top: 18px;
}
.text-panel {
  width: 62vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 5vw 7vw;
  background: var(--paper);
}
.text-panel h2 {
  font-size: clamp(50px, 6vw, 85px);
  margin: 35px 0;
}
.text-panel p {
  max-width: 470px;
  margin-bottom: 20px;
  font-size: 17px;
}
.service-panel {
  width: 100vw;
  display: grid;
  grid-template-columns: 56% 44%;
  background: var(--blue);
  color: var(--cream);
}
.service-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-panel > div {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: 5vw;
}
.service-panel h2 {
  margin: 30px 0;
  font-size: 6vw;
}
.journey-meter {
  position: absolute;
  bottom: 0;
  height: 50px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: var(--cream);
  font-size: 10px;
}
.journey-meter > div {
  width: 35%;
  height: 2px;
  background: #234e8a33;
}
.journey-meter i {
  height: 100%;
  display: block;
  background: var(--red);
  width: 0;
}
.location-section {
  display: grid;
  grid-template-columns: 45% 55%;
  min-height: 750px;
}
.location-copy {
  padding: 85px 6vw;
}
.location-copy h2 {
  margin: 30px 0;
}
.location-copy address {
  font:
    normal 24px/1.5 Georgia,
    serif;
}
.location-copy dl {
  font-size: 13px;
  line-height: 1.7;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 15px;
  margin: 30px 0;
}
.location-copy dd {
  margin: 0;
}
.solid-btn,
.cream-btn {
  border: 0;
  border-radius: 30px;
  background: var(--blue);
  color: var(--cream);
  padding: 17px 26px;
  font-size: 14px;
  display: inline-block;
}
.text-link {
  display: inline-block;
  margin: 20px 0 0 20px;
  border-bottom: 1px solid;
  padding-bottom: 4px;
  font-size: 13px;
}
.map-frame {
  position: relative;
  background: #ddd9c9;
  padding: 25px;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  border-radius: 6px;
}
.map-label {
  position: absolute;
  bottom: 45px;
  left: 45px;
  background: var(--cream);
  padding: 15px;
  font-size: 11px;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 20px #0002;
}
.closing {
  background: var(--blue);
  color: var(--cream);
  text-align: center;
  padding: 100px 20px;
}
.closing h2 {
  font-size: clamp(65px, 9vw, 130px);
  margin: 40px 0;
}
.cream-btn {
  background: var(--cream);
  color: var(--blue);
}
footer {
  background: var(--blue);
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  padding: 70px 6vw 25px;
  border-top: 1px solid #f3e4c633;
}
footer > img {
  width: 250px;
  max-width: 100%;
}
footer > div > span {
  font-size: 11px;
  letter-spacing: 0.13em;
}
footer p {
  font-size: 14px;
  margin-top: 18px;
}
.footer-bottom {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  padding-top: 60px;
  font-size: 10px;
}
dialog {
  border: 0;
  border-radius: 15px;
  background: var(--paper);
  color: var(--blue);
  width: min(560px, 92vw);
  max-height: 88svh;
  padding: 35px;
  box-shadow: 0 25px 100px #0004;
}
dialog::backdrop {
  background: #10243bd1;
  backdrop-filter: blur(5px);
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 30px;
}
.dialog-heading h2 {
  font-size: 48px;
}
.close-dialog {
  background: none;
  border: 0;
  color: var(--blue);
  font:
    35px Georgia,
    serif;
}
.cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px;
  border-bottom: 1px solid #234e8a33;
  padding: 17px 0;
}
.cart-line h3 {
  font:
    21px Georgia,
    serif;
}
.quantity {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}
.quantity button {
  border: 1px solid var(--blue);
  width: 28px;
  height: 28px;
  background: none;
  color: var(--blue);
  border-radius: 50%;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  font-size: 20px;
}
.small-note {
  font-size: 12px;
  margin-bottom: 20px;
}
dialog .solid-btn {
  width: 100%;
}
dialog label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  margin-bottom: 18px;
}
input,
select {
  width: 100%;
  padding: 12px;
  color: var(--blue);
  background: transparent;
  border: 1px solid #234e8a66;
  border-radius: 5px;
}
.form-row {
  display: flex;
  gap: 15px;
}
.form-row label {
  width: 50%;
}
#reservation-status,
#checkout-message {
  font-size: 14px;
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 30px);
  background: var(--blue);
  border: 1px solid var(--cream);
  color: var(--cream);
  padding: 15px 25px;
  border-radius: 30px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 80;
  font-size: 14px;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
@keyframes appear {
  from {
  opacity: 0;
  transform: translateY(12px);
  }
  to {
  opacity: 1;
  transform: none;
  }
}
@media (min-width: 1500px) {
  .plate-wrap {
    width: 700px;
  }
  .letter-composition {
    width: 740px;
    height: 470px;
  }
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  header {
    height: 76px;
    padding: 15px 22px;
  }
  .brand img {
    width: 130px;
    height: 44px;
  }
  nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--blue);
    padding: 25px;
    flex-wrap: wrap;
    gap: 23px;
  }
  header.expanded nav {
    display: flex;
  }
  .mobile-toggle {
    display: block;
    background: none;
    color: var(--cream);
    border: 1px solid #f3e4c688;
    border-radius: 20px;
    padding: 9px 17px;
    font-size: 13px;
  }
  .hero-kicker {
    top: 120px;
    font-size: 10px;
  }
  .letter-composition {
    width: 94vw;
    height: 64vw;
  }
  .letter {
    padding: 20px 15px;
    inset: -10% 9%;
  }
  .letter h1 {
    font-size: 36px;
    margin: 12px 0;
  }
  .letter p {
    font-size: 13px;
  }
  .letter-signature {
    width: 120px;
    margin-top: 10px;
  }
  .hero-bottom {
    font-size: 8px;
  }
  .open-letter {
    bottom: 90px;
  }
  .section-meta {
    top: 110px;
    font-size: 9px;
  }
  .section-meta span:last-child {
    display: none;
  }
  .plate-wrap {
    width: 95vw;
    margin-top: 20px;
  }
  .plate-copy {
    width: 52%;
  }
  .plate-copy h2 {
    font-size: 36px;
    margin: 16px 0 10px;
  }
  .plate-copy p {
    font-size: 16px;
  }
  .plate-hand {
    font-size: 20px;
    margin-top: 15px;
  }
  .orbit {
    width: 29vw;
    height: 36vw;
  }
  .orbit-one {
    top: 16%;
    left: -7%;
  }
  .orbit-two {
    bottom: 7%;
  }
  .essence-side {
    display: none;
  }
  .journey-stage {
    height: auto;
  }
  .journey-sticky {
    height: auto;
    position: relative;
    overflow: visible;
  }
  .journey-track {
    height: auto;
    width: auto;
    display: block;
    padding: 0;
    transform: none !important;
  }
  .journey-panel,
  .intro-panel,
  .text-panel,
  .service-panel {
    width: 100%;
    min-height: 580px;
  }
  .intro-panel,
  .text-panel {
    padding: 70px 8vw;
  }
  .intro-panel h2 {
    font-size: 70px;
  }
  .photo-panel {
    height: 75svh;
  }
  .photo-caption {
    left: 25px;
    bottom: 30px;
  }
  .photo-caption h3 {
    font-size: 48px;
  }
  .service-panel {
    display: block;
  }
  .service-panel img {
    height: 430px;
    object-position: center;
  }
  .service-panel > div {
    padding: 65px 8vw;
  }
  .service-panel h2 {
    font-size: 65px;
  }
  .journey-meter {
    display: none;
  }
  .location-section {
    display: block;
  }
  .location-copy {
    padding: 65px 25px;
  }
  .location-copy dl {
    font-size: 12px;
  }
  .map-frame {
    height: 450px;
    padding: 15px;
  }
  .map-frame iframe {
    min-height: 0;
  }
  .map-label {
    left: 25px;
    bottom: 25px;
    font-size: 9px;
  }
  .closing {
    padding: 80px 20px;
  }
  .closing .eyebrow {
    font-size: 10px;
  }
  footer {
    grid-template-columns: 1fr;
    padding: 50px 25px 25px;
  }
  footer > img {
    width: 220px;
  }
  .footer-bottom {
    padding-top: 20px;
    gap: 20px;
    flex-wrap: wrap;
  }
  .footer-bottom span {
    font-size: 9px;
  }
  dialog {
    padding: 25px;
  }
  .form-row {
    display: block;
  }
  .form-row label {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
  .letter-stage {
    height: 100svh;
  }
  .envelope-button {
    display: none;
  }
  .letter {
    transform: none !important;
  }
  .essence-stage {
    height: 110svh;
  }
  .journey-stage {
    height: auto;
  }
  .journey-sticky {
    position: relative;
    height: auto;
  }
  .journey-track {
    display: block;
    width: auto;
    padding: 0;
    transform: none !important;
  }
  .journey-panel {
    width: 100%;
    min-height: 650px;
  }
  .journey-meter {
    display: none;
  }
}
.letter {
  opacity: 0;
}
.open-letter {
  z-index: 5;
}
@media (prefers-reduced-motion: reduce) {
  .letter {
    opacity: 1;
  }
}
/* An actual pocket: back, clipped letter, front folds, hinged flap, wax. */
.letter-composition {
  width: min(760px, 90vw);
  height: auto;
  aspect-ratio: 1.5;
  transform: translateY(15px);
}
.envelope-scene {
  position: absolute;
  inset: 0;
  perspective: 1400px;
  transform: translateY(var(--scene-y, 0px));
  isolation: isolate;
}
.envelope-back,
.envelope-front,
.envelope-seal,
.envelope-flap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}
.envelope-back {
  z-index: 0;
  clip-path: polygon(9.5% 16%, 90.5% 16%, 90.5% 84%, 9.5% 84%);
  opacity: var(--body-opacity, 1);
}
.letter-slot {
  position: absolute;
  left: 13%;
  right: 13%;
  top: 16%;
  bottom: 17%;
  overflow: hidden;
  z-index: 2;
  transform-origin: 50% 100%;
}
.letter-slot:has(.letter) {
  overflow: visible;
  clip-path: inset(-150% -20% 0 -20%);
}
.letter {
  inset: 0;
  top: 4%;
  bottom: auto;
  height: 100%;
  padding: 22px 30px;
  opacity: 1;
  transform: translateY(var(--pull, 0%)) scale(var(--letter-scale, 1));
  transform-origin: center bottom;
  box-shadow: 0 4px 18px #10264e22;
}
.letter h1 {
  font-size: clamp(29px, 3.9vw, 52px);
  margin: 15px 0;
}
.letter p {
  font-size: 14px;
}
.letter-signature {
  width: 145px;
  margin-top: 12px;
}
.envelope-front {
  z-index: 3;
  clip-path: polygon(9.5% 16%, 50% 66.5%, 90.5% 16%, 90.5% 84%, 9.5% 84%);
  opacity: var(--body-opacity, 1);
}
.envelope-flap {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform-origin: 50% 16%;
  transform: rotateX(var(--flap, 0deg));
  opacity: var(--body-opacity, 1);
  pointer-events: none;
}
.envelope-flap img {
  clip-path: polygon(9.5% 16%, 90.5% 16%, 50% 66.5%);
  filter: drop-shadow(0 3px 2px #47301b33);
}
.flap-behind .envelope-flap {
  z-index: 1;
}
.envelope-seal {
  z-index: 5;
  clip-path: ellipse(7% 10% at 50% 60%);
  opacity: var(--seal-opacity, 1);
  transform: translateY(var(--seal-y, 0px));
}
.envelope-button {
  inset: 16% 9.5%;
  height: 68%;
  width: 81%;
  z-index: 6;
  transform: none !important;
  opacity: 1 !important;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .letter-composition {
    width: 100vw;
    transform: translateY(15px);
  }
  .letter {
    padding: 12px 16px;
  }
  .letter-date {
    font-size: 10px;
  }
  .letter h1 {
    font-size: 25px;
    margin: 9px 0;
  }
  .letter p {
    font-size: 11px;
    line-height: 1.5;
  }
  .letter-signature {
    width: 100px;
    margin-top: 7px;
  }
  .envelope-scene {
    transform: translateY(calc(var(--scene-y, 0px) * 0.7));
  }
}
@media (prefers-reduced-motion: reduce) {
  .envelope-front,
  .envelope-back,
  .envelope-flap,
  .envelope-seal {
    display: none;
  }
  .letter-slot {
    clip-path: none !important;
    overflow: visible;
  }
  .letter {
    transform: none;
  }
  .envelope-scene {
    transform: none;
  }
}
/* Once extracted, the card grows around its center and fills with readable copy. */
.letter {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform-origin: center center;
  gap: 0;
}
.letter-date {
  font-size: 14px;
}
.letter h1 {
  font-size: clamp(36px, 4.2vw, 56px);
  margin: 18px 0;
}
.letter p {
  font-size: 17px;
  line-height: 1.55;
}
.letter-signature {
  width: 170px;
  margin-top: 20px;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .envelope-scene {
    transform: translateY(var(--scene-y, 0px));
  }
  .letter {
    padding: 18px 20px;
  }
  .letter-date {
    font-size: 12px;
  }
  .letter h1 {
    font-size: clamp(27px, 5.5vw, 40px);
    margin: 12px 0;
  }
  .letter p {
    font-size: clamp(12px, 2.7vw, 17px);
    line-height: 1.5;
  }
  .letter-signature {
    width: clamp(110px, 23vw, 155px);
    margin-top: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .envelope-scene {
    transform: none;
  }
  .letter-composition {
    width: min(850px, 94vw);
  }
  .letter-slot {
    top: 0;
    bottom: 0;
  }
  .letter {
    height: 100%;
    font-size: 16px;
  }
}
/* Food photographs float behind the plate, never over its message. */
.essence-sticky {
  isolation: isolate;
}
.plate-wrap {
  z-index: 10;
}
.orbit {
  z-index: 2;
  pointer-events: none;
  border: 5px solid var(--paper);
  width: 25vw;
  height: 18vw;
  max-width: 340px;
  max-height: 250px;
}
.section-meta,
.essence-side,
.plate-progress {
  z-index: 12;
}
.orbit-one {
  left: -3%;
  top: 23%;
  transform: rotate(-10deg);
}
.orbit-two {
  right: -3%;
  bottom: 5%;
  transform: rotate(9deg);
}
.orbit-three {
  left: 5%;
  bottom: 7%;
  transform: rotate(8deg);
}
.orbit-four {
  right: 5%;
  top: 21%;
  transform: rotate(-9deg);
}
.orbit-five {
  left: 35%;
  top: 14%;
  transform: rotate(5deg);
  width: 22vw;
  height: 15vw;
}
.essence-side {
  top: 17%;
  right: 4vw;
  font-size: 11px;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .orbit {
    width: 43vw;
    height: 32vw;
    border-width: 3px;
  }
  .orbit-one {
    left: -10%;
    top: 25%;
  }
  .orbit-two {
    right: -11%;
    bottom: 13%;
  }
  .orbit-three {
    left: -3%;
    bottom: 8%;
  }
  .orbit-four {
    right: -7%;
    top: 22%;
  }
  .orbit-five {
    left: 31%;
    top: 15%;
    width: 40vw;
    height: 28vw;
  }
  .plate-wrap {
    z-index: 10;
  }
}
/* A pinned plate with staggered photographs travelling through the viewport. */
.essence-stage {
  height: 420vh;
}
.orbit {
  top: 0;
  bottom: auto;
  will-change: transform;
  width: 27vw;
  height: 22vw;
  max-width: 380px;
  max-height: 310px;
}
.orbit-one {
  left: 3%;
  right: auto;
}
.orbit-two {
  right: 3%;
  left: auto;
}
.orbit-three {
  left: 8%;
  right: auto;
}
.orbit-four {
  right: 7%;
  left: auto;
}
.orbit-five {
  left: 1%;
  right: auto;
  width: 27vw;
  height: 22vw;
}
.plate {
  will-change: transform;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .orbit {
    width: 47vw;
    height: 39vw;
  }
  .orbit-one,
  .orbit-three,
  .orbit-five {
    left: -7%;
    right: auto;
  }
  .orbit-two,
  .orbit-four {
    right: -7%;
    left: auto;
  }
  .orbit-five {
    width: 47vw;
    height: 39vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .essence-stage {
    height: 110svh;
  }
  .orbit {
    top: 18%;
    transform: rotate(-7deg);
  }
  .orbit-two,
  .orbit-three {
    top: 68%;
  }
  .orbit-four,
  .orbit-five {
    display: none;
  }
}
/* One continuous horizontal route, including the previously vertical sections. */
html,
body {
  height: 100%;
  overflow: hidden;
  scroll-behavior: auto;
}
main {
  display: flex;
  align-items: stretch;
  width: 100vw;
  height: 100svh;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--red) var(--paper);
}
main > section,
main > footer {
  flex: none;
  height: 100svh;
  position: relative;
}
.letter-stage {
  width: 190vw;
}
.essence-stage {
  width: 420vw;
}
.letter-sticky,
.essence-sticky {
  position: sticky;
  left: 0;
  top: auto;
  width: 100vw;
  height: 100svh;
}
.journey-stage {
  width: max-content;
}
.journey-sticky {
  position: relative;
  height: 100svh;
  width: max-content;
  overflow: visible;
}
.journey-track {
  transform: none !important;
  display: flex;
  width: max-content;
  height: 100svh;
  padding-top: 94px;
  padding-bottom: 40px;
}
.journey-panel {
  width: 85vw;
  height: 100%;
  min-height: 0;
}
.intro-panel {
  width: 62vw;
}
.journey-meter {
  display: none;
}
.location-section {
  width: 100vw;
  overflow-y: auto;
}
.location-copy {
  padding-top: 125px;
}
.map-frame {
  height: 100svh;
}
.map-frame iframe {
  min-height: 0;
  height: 100%;
}
.closing {
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 110px 5vw 40px;
}
main > footer {
  width: 100vw;
  align-content: center;
  padding-top: 120px;
  overflow-y: auto;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .journey-track {
    padding-top: 76px;
    display: flex;
  }
  .journey-panel,
  .intro-panel,
  .text-panel,
  .service-panel {
    width: 100vw;
    min-height: 0;
    height: 100%;
  }
  .intro-panel,
  .text-panel {
    padding: 35px 8vw;
  }
  .intro-panel h2,
  .text-panel h2 {
    font-size: clamp(42px, 9vw, 65px);
  }
  .photo-panel {
    height: 100%;
  }
  .service-panel {
    display: flex;
    flex-direction: column;
  }
  .service-panel img {
    height: 45%;
    width: 100%;
  }
  .service-panel > div {
    padding: 25px 8vw;
  }
  .service-panel h2 {
    font-size: 45px;
  }
  .location-copy {
    padding: 100px 25px 30px;
  }
  .map-frame {
    height: 45svh;
  }
  .closing h2 {
    font-size: 60px;
  }
  main > footer {
    padding: 100px 25px 30px;
  }
  .essence-stage {
    width: 420vw;
  }
  .letter-stage {
    width: 190vw;
  }
}
@media (prefers-reduced-motion: reduce) {
  .letter-stage,
  .essence-stage {
    width: 100vw;
  }
  .journey-panel {
    min-height: 0;
  }
  .letter-sticky,
  .essence-sticky {
    height: 100svh;
  }
}
/* Fit the paper to its content before calculating the reading scale. */
.letter {
  height: auto;
  min-height: 100%;
  padding: 28px 30px;
}
.letter > * {
  flex-shrink: 0;
}
.letter-signature {
  display: block;
  height: auto;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .letter {
    padding: 24px 20px;
  }
}
.letter-stage,
.essence-stage,
.journey-stage {
  height: 100svh;
}
/* Photographs follow the same horizontal axis as the page. */
.orbit-one,
.orbit-two,
.orbit-three,
.orbit-four,
.orbit-five {
  left: 0;
  right: auto;
  bottom: auto;
}
.orbit-one {
  top: 20%;
}
.orbit-two {
  top: 62%;
}
.orbit-three {
  top: 18%;
}
.orbit-four {
  top: 65%;
}
.orbit-five {
  top: 22%;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .orbit-one,
  .orbit-three,
  .orbit-five {
    top: 18%;
  }
  .orbit-two,
  .orbit-four {
    top: 65%;
  }
}
/* The invitation and contact details share the final screen. */
.closing {
  padding-bottom: 190px;
}
.closing footer {
  position: absolute;
  left: 5vw;
  right: 5vw;
  bottom: 22px;
  padding: 22px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 45px;
  border-top: 1px solid #f3e4c644;
  background: transparent;
  text-align: left;
}
.closing footer > img {
  display: none;
}
.closing footer p {
  font-size: 14px;
  line-height: 1.5;
}
.closing footer > div > span {
  font-size: 12px;
}
.closing .footer-bottom {
  grid-column: 1/-1;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  html,
  body {
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
  }
  main {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    scrollbar-width: none;
  }
  main > section {
    width: 100%;
    height: auto;
  }
  .letter-stage {
    width: 100%;
    height: 190svh;
  }
  .essence-stage {
    width: 100%;
    height: 320svh;
  }
  .letter-sticky,
  .essence-sticky {
    position: sticky;
    top: 0;
    left: auto;
    width: 100%;
    height: 100svh;
  }
  .journey-stage,
  .journey-sticky {
    width: 100%;
    height: auto;
    position: relative;
  }
  .journey-track {
    display: block;
    width: 100%;
    height: auto;
    padding: 0;
  }
  .journey-panel,
  .intro-panel,
  .text-panel,
  .service-panel {
    width: 100%;
    height: auto;
    min-height: 580px;
  }
  .intro-panel,
  .text-panel {
    padding: 70px 8vw;
  }
  .photo-panel {
    height: 75svh;
  }
  .service-panel {
    display: block;
  }
  .service-panel img {
    height: 430px;
  }
  .service-panel > div {
    padding: 65px 8vw;
  }
  .location-section {
    width: 100%;
    height: auto;
    overflow: visible;
  }
  .location-copy {
    padding: 70px 25px 30px;
  }
  .map-frame {
    height: 450px;
  }
  .closing {
    width: 100%;
    min-height: 100svh;
    height: auto;
    padding: 90px 25px 30px;
    gap: 0;
  }
  .closing footer {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 65px;
    padding-top: 25px;
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .closing .footer-bottom {
    grid-column: auto;
    flex-wrap: wrap;
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  @media (max-width: 760px),
    (pointer: coarse) and (max-height: 520px),
    (pointer: coarse) and (orientation: portrait) {
    .letter-stage,
    .essence-stage {
      height: 100svh;
    }
  }
}
.closing button.cream-btn {
  border: 0;
  font: inherit;
  cursor: pointer;
}
/* ==========================================================================
   Mobile & touch — iPhone, Android, tablets
   "Vertical mode" = phones in portrait, phones in landscape and touch tablets
   in portrait. Keep this query in sync with MOBILE_QUERY in app.js.
   ========================================================================== */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
:root {
  --hh: 94px;
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
}
.mobile-cart {
  display: none;
}
/* 16px+ stops iOS Safari from zooming into form fields on focus. */
input,
select {
  font-size: 16px;
  min-height: 48px;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 8px;
}
select {
  padding-right: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23234e8a' stroke-width='1.6'/%3E%3C/svg%3E")
    no-repeat right 15px center;
}
input[type="date"] {
  display: block;
  text-align: left;
  line-height: 1.2;
}
input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}
input:focus,
select:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}
/* Hover styles stay on mouse devices; touch gets a press state instead of a stuck hover. */
@media (hover: none) {
  nav a:hover {
    opacity: 1;
  }
  .quantity button:active {
    background: var(--blue);
    color: var(--cream);
  }
  .cream-btn:active,
  .solid-btn:active,
  .nav-order:active {
    opacity: 0.8;
  }
}
button {
  touch-action: manipulation;
}
.closing footer a {
  overflow-wrap: anywhere;
}
/* Older iOS (before 15.4) has no svh units. */
@supports not (height: 100svh) {
  main,
  main > section,
  main > footer,
  .letter-sticky,
  .essence-sticky,
  .journey-track,
  .map-frame {
    height: 100vh;
  }
}
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  :root {
    --hh: calc(68px + var(--safe-t));
  }
  /* Sticky scenes need the page itself to scroll: a scrolling <body> breaks position:sticky. */
  html,
  body {
    height: auto;
    overflow: visible;
  }
  body {
    overflow-x: clip;
  }
  html {
    scroll-padding-top: var(--hh);
  }
  /* Header: logo · cart · menu, all reachable with one thumb. */
  header {
    height: var(--hh);
    padding: var(--safe-t) max(18px, var(--safe-r)) 0 max(18px, var(--safe-l));
    gap: 10px;
  }
  .brand {
    margin-right: auto;
  }
  .brand img {
    width: 120px;
    height: 42px;
  }
  .mobile-cart {
    display: flex;
    min-height: 44px;
    padding: 0 6px;
    font-size: 13px;
  }
  .mobile-toggle {
    min-height: 40px;
    padding: 0 17px;
    font-size: 13px;
  }
  nav {
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px max(22px, var(--safe-r)) 22px max(22px, var(--safe-l));
    box-shadow: 0 18px 30px #0c1d3a55;
    border-top: 1px solid #f3e4c622;
    max-height: calc(100svh - var(--hh));
    overflow-y: auto;
  }
  nav a {
    font-size: 20px;
    font-family: Georgia, serif;
    padding: 14px 0;
    border-bottom: 1px solid #f3e4c622;
  }
  nav .nav-order {
    margin-top: 18px;
    text-align: center;
    font:
      500 15px "Montserrat",
      sans-serif;
    border-bottom: 1px solid var(--cream);
  }
  nav .cart-toggle {
    display: none;
  }
  /* Envelope: sized from the screen height too, so short phones fit everything. */
  .hero-kicker {
    top: calc(var(--hh) + 26px);
    font-size: 10px;
    text-align: center;
    padding: 0 20px;
  }
  .letter-composition {
    width: min(100vw, 560px, calc((100svh - 230px) * 1.5));
  }
  .open-letter {
    bottom: calc(64px + var(--safe-b));
    font-size: 17px;
    padding: 14px 24px;
    min-height: 48px;
  }
  .hero-bottom {
    bottom: calc(22px + var(--safe-b));
    left: max(20px, var(--safe-l));
    right: max(20px, var(--safe-r));
    font-size: 9px;
    letter-spacing: 0.12em;
    gap: 12px;
  }
  /* Plate: text scales with the plate instead of the screen. */
  .section-meta {
    top: calc(var(--hh) + 22px);
    left: max(20px, var(--safe-l));
    right: max(20px, var(--safe-r));
  }
  .plate-wrap {
    width: min(92vw, 560px, calc(100svh - 190px));
    margin-top: 30px;
    container-type: inline-size;
  }
  .plate-copy {
    width: 56%;
  }
  .plate-copy > span:first-child {
    font-size: 10px;
  }
  .plate-copy h2 {
    font-size: clamp(24px, 10cqw, 46px);
    margin: clamp(8px, 3cqw, 18px) 0 clamp(6px, 2cqw, 12px);
  }
  .plate-copy p {
    font-size: clamp(12px, 4.4cqw, 18px);
    line-height: 1.4;
  }
  .plate-hand {
    font-size: clamp(14px, 5.4cqw, 24px);
    margin-top: clamp(6px, 3cqw, 16px);
  }
  .plate-progress {
    bottom: calc(22px + var(--safe-b));
  }
  /* Journey */
  .intro-panel,
  .text-panel {
    padding: 64px max(8vw, var(--safe-r)) 64px max(8vw, var(--safe-l));
  }
  .intro-panel h2 {
    margin: 26px 0;
  }
  .text-panel h2 {
    margin: 26px 0;
  }
  .photo-caption {
    left: max(24px, var(--safe-l));
    right: 24px;
  }
  .photo-caption h3 {
    font-size: clamp(34px, 10vw, 52px);
  }
  .service-panel img {
    height: clamp(260px, 72vw, 520px);
  }
  .service-panel > div {
    padding: 56px max(8vw, var(--safe-r)) 64px max(8vw, var(--safe-l));
  }
  .service-panel h2 {
    font-size: clamp(44px, 13vw, 72px);
    margin: 24px 0;
  }
  .handwriting {
    font-size: 24px;
  }
  /* Location */
  .location-copy {
    padding: calc(var(--hh) + 24px) max(24px, var(--safe-r)) 32px
      max(24px, var(--safe-l));
  }
  .location-copy address {
    font-size: 22px;
  }
  .text-link {
    margin: 20px 0 0;
    padding: 10px 0 4px;
  }
  .map-frame {
    height: min(450px, 70svh);
  }
  /* Closing + footer */
  .closing {
    padding: calc(var(--hh) + 30px) max(24px, var(--safe-r))
      calc(30px + var(--safe-b)) max(24px, var(--safe-l));
  }
  .closing h2 {
    font-size: clamp(50px, 15vw, 80px);
    margin: 28px 0 34px;
  }
  .closing .eyebrow {
    max-width: 300px;
    line-height: 1.6;
  }
  .cream-btn {
    min-height: 52px;
    padding: 0 30px;
    display: inline-flex;
    align-items: center;
  }
  .closing footer {
    text-align: left;
  }
  /* Dialogs become bottom sheets with room for the home indicator. */
  dialog {
    width: 100%;
    max-width: 100%;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
    max-height: 92svh;
    padding: 22px max(22px, var(--safe-r)) calc(22px + var(--safe-b))
      max(22px, var(--safe-l));
    overscroll-behavior: contain;
  }
  dialog[open] {
    animation: sheet-up 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .dialog-heading {
    margin-bottom: 18px;
  }
  .dialog-heading h2 {
    font-size: clamp(36px, 10vw, 46px);
  }
  .close-dialog {
    width: 44px;
    height: 44px;
    margin: -6px -8px 0 0;
    line-height: 1;
  }
  dialog label {
    margin-bottom: 14px;
  }
  .solid-btn {
    min-height: 52px;
  }
  .quantity button {
    width: 36px;
    height: 36px;
  }
  .form-row {
    display: flex;
    gap: 12px;
  }
  .form-row label {
    width: 50%;
    min-width: 0;
  }
  #toast {
    bottom: calc(20px + var(--safe-b));
    max-width: calc(100vw - 40px);
    text-align: center;
  }
}
@keyframes sheet-up {
  from {
  transform: translateY(40px);
  opacity: 0.4;
  }
  to {
  transform: none;
  opacity: 1;
  }
}
html:has(dialog[open]) {
  overflow: hidden;
}
/* Very narrow phones (iPhone SE 1st gen, small Androids). */
@media (max-width: 360px) {
  .brand img {
    width: 104px;
  }
  .mobile-cart {
    font-size: 0;
    gap: 0;
  }
  .mobile-cart .cart-count {
    font-size: 12px;
  }
  .hero-bottom span:first-child {
    display: none;
  }
  .hero-bottom {
    justify-content: center;
  }
  .form-row {
    display: block;
  }
  .form-row label {
    width: 100%;
  }
}
/* Phones turned sideways: very little height, so everything is sized by it. */
@media (pointer: coarse) and (max-height: 520px) and (orientation: landscape) {
  :root {
    --hh: calc(56px + var(--safe-t));
  }
  .brand img {
    height: 36px;
  }
  .hero-kicker,
  .hero-bottom,
  .section-meta {
    display: none;
  }
  .letter-composition {
    width: min(78vw, calc((100svh - var(--hh) - 70px) * 1.5));
    transform: translateY(-6px);
  }
  .open-letter {
    bottom: calc(10px + var(--safe-b));
    padding: 9px 20px;
    min-height: 40px;
    font-size: 15px;
  }
  .plate-wrap {
    width: min(80vw, calc(100svh - var(--hh) - 30px));
    margin-top: var(--hh);
  }
  .plate-progress {
    bottom: 8px;
  }
  .orbit {
    width: 26vw;
    height: 19vw;
  }
  .journey-panel,
  .intro-panel,
  .text-panel,
  .service-panel {
    min-height: 100svh;
  }
  .photo-panel {
    height: 100svh;
  }
  .service-panel {
    display: grid;
    grid-template-columns: 48% 52%;
  }
  .service-panel img {
    height: 100%;
  }
  .service-panel > div {
    padding: 40px 6vw;
  }
  .intro-panel,
  .text-panel {
    padding: calc(var(--hh) + 20px) max(7vw, var(--safe-r)) 40px
      max(7vw, var(--safe-l));
  }
  .location-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .map-frame {
    height: auto;
    min-height: 100svh;
  }
  .closing h2 {
    font-size: 56px;
    margin: 18px 0 22px;
  }
  dialog {
    width: min(640px, 100%);
    margin: auto auto 0;
    max-height: 96svh;
  }
  nav {
    max-height: calc(100svh - var(--hh));
  }
}
/* Tablets in portrait: same vertical story, more generous sizing. */
@media (pointer: coarse) and (orientation: portrait) and (min-width: 761px) {
  :root {
    --hh: calc(84px + var(--safe-t));
  }
  .brand img {
    width: 150px;
    height: 50px;
  }
  .hero-kicker {
    font-size: 12px;
  }
  .letter-composition {
    width: min(86vw, 720px);
  }
  .hero-bottom {
    font-size: 11px;
    left: 5vw;
    right: 5vw;
  }
  .section-meta {
    font-size: 11px;
    left: 5vw;
    right: 5vw;
  }
  .section-meta span:last-child {
    display: inline;
  }
  .plate-wrap {
    width: min(78vw, 640px);
  }
  .orbit {
    width: 36vw;
    height: 28vw;
  }
  .intro-panel,
  .text-panel,
  .service-panel > div {
    padding: 90px 10vw;
  }
  .photo-panel {
    height: 70svh;
  }
  .location-copy {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .map-frame {
    height: 520px;
  }
  .closing footer {
    grid-template-columns: 1fr 1fr;
  }
  dialog {
    width: min(600px, 92vw);
    margin: auto;
    border-radius: 18px;
    padding: 34px;
  }
}
.cart-count {
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--cream);
  color: var(--blue);
  height: 25px;
  min-width: 25px;
  padding: 0 6px;
  font-size: 12px;
  border-radius: 13px;
}

/* ==========================================================================
   La carta de Lorenzo — handwritten, and it flows with the page.
   Desktop: columns run sideways with the horizontal route (no pinning, no
   inner scroll), with a sticky index on the left. Mobile: one long page with
   a sticky row of section chips.
   ========================================================================== */
.menu-section {
  --col: clamp(270px, 22vw, 330px);
  --gap: 56px;
  display: flex;
  align-items: stretch;
  width: max-content;
  padding: 0;
  overflow: visible;
  background: var(--paper);
}
.menu-intro {
  flex: none;
  width: clamp(360px, 36vw, 560px);
  padding: 130px 4vw 40px 5vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.menu-intro h2 {
  font-size: clamp(44px, min(5.4vw, 9svh), 84px);
  margin: 26px 0 22px;
}
.menu-lede {
  font: italic 21px/1.5 Georgia, serif;
}
.menu-hint {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  font-size: 11px;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: var(--red);
}
.menu-hint::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}
.menu-intro .menu-footnote {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 40px;
  font-size: 12px;
  line-height: 1.6;
}

/* Index rail: sticks to the left edge while the carta passes underneath. */
.menu-rail {
  flex: none;
  position: sticky;
  left: 0;
  z-index: 4;
  width: 220px;
  padding: 120px 0 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  border-left: 1px solid #c83c4d55;
  border-right: 1px solid #c83c4d55;
  box-shadow: 16px 0 26px -20px #163b6955;
}
.menu-rail button {
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  border: 0;
  background: none;
  color: var(--blue);
  text-align: left;
  padding: 10px 24px;
  font: 17px/1.25 Georgia, serif;
  transition: color 0.25s, background 0.25s;
}
.menu-rail button small {
  min-width: 18px;
  font: 500 10px "Montserrat", sans-serif;
  letter-spacing: 0.12em;
  opacity: 0.6;
}
.menu-rail button.active {
  color: var(--red);
}
.menu-rail button.active::after {
  content: "";
  width: 6px;
  height: 6px;
  margin-left: auto;
  align-self: center;
  flex: none;
  border-radius: 50%;
  background: var(--red);
}
@media (hover: hover) {
  .menu-rail button:hover {
    background: #234e8a0b;
  }
}

/* The written carta */
.menu-flow {
  flex: none;
  box-sizing: border-box;
  width: calc(var(--col) + 104px);
  height: 100%;
  padding: 122px 48px 30px 56px;
  column-width: var(--col);
  column-gap: var(--gap);
  column-fill: auto;
  column-rule: 1px solid #c83c4d2e;
  color: var(--blue);
  font-family: "Caveat", "Segoe Print", cursive;
}
.menu-group {
  margin-bottom: 28px;
}
/* Sections flow one after another so no column is left half empty;
   a little extra air marks where a new section begins. */
.menu-group.sec-start:not(:first-child) {
  padding-top: 18px;
}
.menu-sec-label {
  display: block;
  margin-bottom: 4px;
  font: 500 11px/1.4 "Montserrat", sans-serif;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
  break-after: avoid;
}
.menu-group-title {
  display: inline-block;
  margin: 0 0 2px;
  padding-right: 8px;
  font: 600 clamp(44px, 6.4svh, 60px)/1.05 "Caveat", "Segoe Print", cursive;
  letter-spacing: 0;
  color: var(--red);
  break-after: avoid;
}
.group-sub {
  font: 500 21px/1.2 "Caveat", cursive;
  margin: 0 0 4px;
  break-after: avoid;
}
.dine-in {
  display: inline-block;
  margin: 6px 0;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 4px;
  color: var(--red);
  font: 600 9.5px "Montserrat", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(-2deg);
}
.dish {
  break-inside: avoid;
  padding: 9px 0 12px;
}
.dish-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 8px;
}
.dish h4 {
  margin: 0;
  font: 600 31px/1.05 "Caveat", "Segoe Print", cursive;
  color: var(--blue);
}
.dish-price {
  font: 600 27px/1 "Caveat", cursive;
}
.dish p {
  margin-top: 2px;
  font: 500 20px/1.2 "Caveat", "Segoe Print", cursive;
}
.dish p.extra,
.dish p.options {
  font-size: 18px;
  opacity: 0.85;
}
.dish p.flavors .sep,
.spirits .sep {
  margin: 0 7px;
  opacity: 0.45;
}
.note {
  display: inline-block;
  font: 500 21px/1.1 "Caveat", cursive;
  color: var(--red);
  transform: rotate(-3deg);
  margin-left: 2px;
}
/* Hand-drawn arrows: pointing left at the name, or curling up when the note wraps. */
.note.arrow::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 14px;
  margin-right: 5px;
  vertical-align: -1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cpath d='M25 7.5C18 6.6 10 7.4 2.5 7.2M7.5 2.5 2 7.3l5.8 4.4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 14'%3E%3Cpath d='M25 7.5C18 6.6 10 7.4 2.5 7.2M7.5 2.5 2 7.3l5.8 4.4' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.note.arrow.below {
  margin-left: 6px;
  transform: rotate(-2deg);
}
.note.arrow.below::before {
  width: 20px;
  height: 20px;
  margin-right: 4px;
  vertical-align: 2px;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M18 17C10 17.5 5.5 13 5.2 3M1.6 7 5.2 2.4 8.8 6.6' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M18 17C10 17.5 5.5 13 5.2 3M1.6 7 5.2 2.4 8.8 6.6' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.dish p.ps {
  margin-top: 4px;
  color: var(--red);
  transform: rotate(-1.5deg);
  transform-origin: left center;
}
.circled {
  position: relative;
  padding: 0 9px;
  margin-left: -9px;
}
.circled::before {
  content: "";
  position: absolute;
  inset: -3px -3px -1px -2px;
  border: 2px solid var(--red);
  border-radius: 50%;
  transform: rotate(-3deg);
  opacity: 0.85;
  pointer-events: none;
}
.dish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}
.add-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 30px;
  padding: 3px 12px;
  border: 1px solid #234e8a66;
  border-radius: 20px;
  background: none;
  color: var(--blue);
  font: 500 11.5px "Montserrat", sans-serif;
  letter-spacing: 0.03em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.add-btn b {
  font-weight: 600;
}
.add-btn::after {
  content: "+";
  font-size: 14px;
  line-height: 1;
}
.add-btn.mini {
  width: 28px;
  min-height: 28px;
  padding: 0;
  flex: none;
}
@media (hover: hover) {
  .add-btn:hover {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--cream);
  }
}
.add-btn:active {
  transform: scale(0.96);
}
.add-btn.added {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
}
.menu-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 5px 0;
  font: 500 24px/1.15 "Caveat", cursive;
  break-inside: avoid;
}
.menu-list li i {
  flex: 1;
  min-width: 16px;
  border-bottom: 1.5px dotted #234e8a55;
  transform: translateY(-6px);
}
.menu-list .note {
  font-size: 19px;
}
.menu-list .add-btn.mini {
  align-self: center;
}
.spirits {
  break-inside: avoid;
  padding: 6px 0 10px;
}
.spirits h4 {
  margin: 0 0 2px;
  font: 600 28px/1.1 "Caveat", cursive;
}
.spirits p {
  font: 500 22px/1.35 "Caveat", cursive;
}
.spirits .circled {
  display: inline-block;
}
.pour {
  break-inside: avoid;
  margin-top: 10px;
  font: 500 20px/1.3 "Caveat", cursive;
}
.pour u {
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}
.signoff {
  break-inside: avoid;
  margin: 14px 0 6px;
  font: 600 25px/1.2 "Caveat", cursive;
  color: var(--red);
  transform: rotate(-2deg);
  transform-origin: left center;
}
.signoff span {
  display: block;
  margin-left: 36px;
}
.menu-photo {
  --tilt: -2deg;
  position: relative;
  break-inside: avoid;
  margin: 18px 6px 24px;
  padding: 8px 8px 10px;
  background: #fff;
  box-shadow: 0 10px 24px #163b6922;
  transform: rotate(var(--tilt));
}
.menu-photo::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 74px;
  height: 20px;
  background: #f3e4c6d9;
  box-shadow: 0 1px 2px #0001;
  transform: translateX(-50%) rotate(-4deg);
}
.menu-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.menu-photo figcaption {
  margin-top: 7px;
  text-align: center;
  font: 500 21px/1.2 "Caveat", cursive;
  color: var(--red);
}
.fine-print .menu-group-title {
  font-size: 40px;
}
.fine-print p {
  margin-bottom: 9px;
  font: 500 17px/1.25 "Caveat", cursive;
  opacity: 0.85;
}

/* Written in as it arrives. */
.menu-flow.reveal .dish,
.menu-flow.reveal .menu-list li,
.menu-flow.reveal .spirits,
.menu-flow.reveal .menu-photo,
.menu-flow.reveal .pour,
.menu-flow.reveal .signoff,
.menu-flow.reveal .fine-print p {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.5s ease var(--d, 0ms),
    translate 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
}
.menu-flow.reveal .menu-group-title {
  opacity: 0;
  translate: -18px 0;
  transition:
    opacity 0.6s ease var(--d, 0ms),
    translate 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0ms);
}
.menu-flow.reveal li.in,
.menu-flow.reveal p.in,
.menu-flow.reveal .fine-print p.in,
.menu-flow.reveal .in {
  opacity: 1;
  translate: 0 0;
}
.menu-flow.reveal .menu-group-title.in {
  opacity: 1;
  translate: 0 0;
}

/* ---------- Map: click to explore, otherwise the wheel keeps moving the page ---------- */
.map-shield {
  position: absolute;
  inset: 25px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 22px 0 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}
.map-shield span {
  padding: 10px 18px;
  border-radius: 20px;
  background: var(--blue);
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.08em;
  box-shadow: 0 6px 18px #0003;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s, transform 0.25s;
}
.map-frame:hover .map-shield span,
.map-shield:focus-visible span {
  opacity: 1;
  transform: none;
}
.map-frame.live .map-shield {
  display: none;
}
.map-label {
  z-index: 3;
  pointer-events: none;
}
@media (hover: none) {
  .map-shield span {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Location fits one screen, so nothing in it catches the wheel ---------- */
.location-section {
  overflow: hidden;
}
.location-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 110px 5vw 30px 6vw;
}
.location-copy h2 {
  font-size: clamp(42px, min(5.6vw, 9svh), 88px);
  margin: clamp(14px, 3svh, 30px) 0;
}
.location-copy address {
  font-size: clamp(19px, 3svh, 24px);
}
.location-copy dl {
  margin: clamp(14px, 3svh, 30px) 0;
}
.location-copy .text-link {
  margin-left: 0;
}

/* ---------- Vertical mode (phones, portrait tablets) ---------- */
@media (max-width: 760px),
  (pointer: coarse) and (max-height: 520px),
  (pointer: coarse) and (orientation: portrait) {
  .menu-section {
    display: block;
    width: 100%;
    height: auto;
  }
  .menu-intro {
    width: auto;
    padding: calc(var(--hh) + 28px) max(20px, var(--safe-r)) 22px
      max(20px, var(--safe-l));
  }
  .menu-intro h2 {
    font-size: clamp(42px, 12vw, 64px);
    margin: 20px 0 14px;
  }
  .menu-lede {
    font-size: 19px;
  }
  .menu-hint {
    display: none;
  }
  .menu-intro .menu-footnote {
    margin-top: 18px;
    font-size: 11px;
  }
  .menu-rail {
    position: sticky;
    top: var(--hh);
    left: auto;
    width: auto;
    padding: 10px max(16px, var(--safe-r)) 10px max(16px, var(--safe-l));
    flex-direction: row;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    border: 0;
    border-top: 1px solid #c83c4d33;
    border-bottom: 1px solid #c83c4d33;
    box-shadow: 0 12px 18px -16px #163b6966;
  }
  .menu-rail::-webkit-scrollbar {
    display: none;
  }
  .menu-rail button {
    width: auto;
    flex: none;
    align-items: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #234e8a33;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 15px;
  }
  .menu-rail button small,
  .menu-rail button.active::after {
    display: none;
  }
  .menu-rail button.active {
    background: var(--blue);
    border-color: var(--blue);
    color: var(--cream);
  }
  .menu-flow {
    width: auto !important;
    height: auto;
    columns: auto;
    column-rule: none;
    padding: 26px max(20px, var(--safe-r)) 46px max(20px, var(--safe-l));
  }
  .menu-group {
    margin-bottom: 34px;
  }
  .menu-group-title {
    font-size: clamp(46px, 13vw, 58px);
  }
  .dish {
    padding: 12px 0 14px;
    border-bottom: 1px dashed #234e8a22;
  }
  .dish h4 {
    font-size: 29px;
  }
  .add-btn {
    min-height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }
  .add-btn.mini {
    width: 38px;
    min-height: 38px;
  }
  .menu-photo {
    max-width: 420px;
    margin: 22px auto 28px;
  }
  .location-section {
    overflow: visible;
  }
  .location-copy {
    display: block;
    padding: calc(var(--hh) + 24px) max(24px, var(--safe-r)) 32px
      max(24px, var(--safe-l));
  }
  .location-copy h2 {
    font-size: clamp(46px, 12vw, 70px);
    margin: 26px 0;
  }
  .location-copy address {
    font-size: 22px;
  }
  .location-copy dl {
    margin: 26px 0;
  }
  .map-shield {
    inset: 15px;
  }
}
@media (pointer: coarse) and (orientation: portrait) and (min-width: 761px) {
  .menu-intro,
  .location-copy {
    padding-left: 6vw;
    padding-right: 6vw;
  }
  .menu-flow {
    max-width: 760px;
    margin: 0 auto;
  }
}

/* A title always travels with its first dish into the same column. */
.menu-flow .keep {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
}
.menu-flow .keep::after {
  content: "";
  display: table;
  clear: both;
}
