:root {
  --green: #0f3d2e;
  --green-2: #1f5949;
  --leaf: #7a9f58;
  --cream: #f5ebd8;
  --aged-paper: #ead8b6;
  --old-paper: #d9bd8d;
  --ink-brown: #3f2619;
  --paper: #c89f68;
  --brown: #6b3f2a;
  --dark: #2a1810;
  --ink: #17382f;
  --muted: rgba(42, 24, 16, 0.72);
  --white: #fffaf0;
  --drink-base: #4b2618;
  --drink-syrup: rgba(245, 235, 216, 0.88);
  --drink-topping: #fbf2df;
  --milk-height: 46%;
  --ice-opacity: 0.85;
  --paper-board-bg:
    url("/images/wall-background.png"),
    linear-gradient(#fbf2df, #fbf2df);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--cream);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--dark);
  overflow-x: clip;
  background:
    radial-gradient(circle at 16% 14%, rgba(255, 250, 240, 0.72), transparent 16rem),
    radial-gradient(circle at 88% 28%, rgba(200, 159, 104, 0.22), transparent 22rem),
    repeating-linear-gradient(90deg, rgba(74, 38, 20, 0.035) 0 1px, transparent 1px 9px),
    var(--cream);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  overflow: visible;
  padding: 0;
  isolation: isolate;
  max-width: 100%;
  background: var(--cream);
}

.section {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
  box-shadow: none;
  transform-origin: center top;
  will-change: transform, opacity, clip-path, filter, box-shadow;
}

.section:not(.hero) {
  min-height: 100svh;
  box-shadow: 0 -26px 70px rgba(20, 10, 6, 0.2);
}

.story,
.configurator,
.contact {
  width: 100%;
  min-height: 100svh;
}

.section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.18), transparent 10rem),
    radial-gradient(circle at 82% 76%, rgba(79, 38, 20, 0.12), transparent 16rem),
    repeating-linear-gradient(102deg, rgba(69, 42, 23, 0.035) 0 1px, transparent 1px 8px),
    repeating-linear-gradient(4deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 11px);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.section > * {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.pin-spacer {
  width: 100% !important;
  max-width: 100% !important;
}

.paper-note,
.receipt-slip,
.photo-stamp,
.coffee-ring {
  pointer-events: none;
}

.paper-note,
.receipt-slip {
  position: absolute;
  z-index: 3;
  color: var(--ink-brown);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.2), transparent 28%, rgba(85, 45, 24, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 1.65rem, rgba(80, 48, 25, 0.16) 1.68rem 1.72rem),
    var(--aged-paper);
  border: 1px solid rgba(86, 50, 24, 0.18);
  box-shadow: 0 18px 28px rgba(42, 24, 16, 0.22);
}

.paper-note {
  width: 14rem;
  padding: 1.45rem 1.15rem 1rem;
  border-radius: 2px 8px 3px 5px;
  transform: rotate(-4deg);
}

.paper-note::before {
  content: "";
  position: absolute;
  top: -0.7rem;
  left: 50%;
  width: 4.6rem;
  height: 1.25rem;
  transform: translateX(-50%) rotate(3deg);
  background: rgba(236, 218, 178, 0.72);
  border-left: 1px solid rgba(120, 88, 50, 0.22);
  border-right: 1px solid rgba(120, 88, 50, 0.14);
  box-shadow: 0 2px 8px rgba(42, 24, 16, 0.12);
}

.paper-note span,
.receipt-slip span,
.photo-stamp {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.paper-note strong,
.receipt-slip strong {
  display: block;
  margin-top: 0.3rem;
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
  line-height: 0.95;
}

.paper-note em,
.receipt-slip small {
  display: block;
  margin-top: 0.65rem;
  font-family: "Caveat", cursive;
  font-size: 1.05rem;
  font-style: normal;
  opacity: 0.78;
}

.receipt-slip {
  width: 11rem;
  padding: 1rem 0.9rem;
  border-radius: 2px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.34), transparent),
    repeating-linear-gradient(180deg, rgba(79, 38, 20, 0.08) 0 1px, transparent 1px 9px),
    #f5e8cf;
  transform: rotate(5deg);
}

.receipt-slip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.45rem;
  height: 0.5rem;
  background: linear-gradient(135deg, transparent 0.35rem, #f5e8cf 0) 0 0 / 0.7rem 0.5rem repeat-x;
}

.photo-stamp {
  position: absolute;
  z-index: 3;
  padding: 0.42rem 0.7rem;
  border: 1px solid rgba(245, 235, 216, 0.55);
  color: rgba(245, 235, 216, 0.78);
  font-family: "Caveat", cursive;
  font-size: 1.1rem;
  text-transform: none;
  transform: rotate(3deg);
}

.coffee-ring {
  position: absolute;
  z-index: 2;
  width: 9rem;
  height: 9rem;
  border: 0.72rem solid rgba(91, 45, 24, 0.24);
  border-left-color: rgba(91, 45, 24, 0.08);
  border-bottom-color: rgba(91, 45, 24, 0.16);
  border-radius: 50%;
  filter: blur(0.4px);
  opacity: 0.8;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.25rem;
  border: 0;
  border-radius: 5px;
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), transparent),
    var(--green);
  font-weight: 700;
  box-shadow: 0 16px 36px rgba(15, 61, 46, 0.24), inset 0 0 0 1px rgba(245, 235, 216, 0.14);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px) rotate(-0.6deg);
  background: #155340;
}

.button.secondary {
  background: var(--brown);
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  font-weight: 700;
  color: var(--cream);
  border-bottom: 2px solid currentColor;
}

.ghost-link.dark {
  color: var(--green);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--leaf);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.4rem;
  color: var(--cream);
  font-size: clamp(4rem, 10vw, 9.5rem);
  line-height: 0.88;
}

h2 {
  max-width: 11ch;
  margin-bottom: 1.2rem;
  color: var(--green);
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: 0.95;
}

h3 {
  color: var(--green);
}

.hero {
  display: grid;
  align-items: center;
  min-height: 100svh;
  isolation: isolate;
  color: var(--cream);
  padding: 0;
  background: var(--green);
}

.hero-visual {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: start;
  width: 100%;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
  background: var(--green);
  box-shadow: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("https://images.unsplash.com/photo-1521017432531-fbd92d768814?auto=format&fit=crop&w=2200&q=90");
  background-size: cover;
  background-position: center;
  filter: blur(8px) saturate(0.9) contrast(1.05);
  transform: scale(1.08);
}

.hero-visual::after {
  content: none;
}

.hero-ring {
  left: 7%;
  bottom: 12%;
  border-color: rgba(83, 39, 21, 0.32);
  border-right-color: rgba(83, 39, 21, 0.08);
}

.hero-note {
  right: clamp(1.2rem, 7vw, 6rem);
  top: clamp(5.6rem, 12vw, 8rem);
}

.hero .photo-stamp {
  right: clamp(1.2rem, 8vw, 7rem);
  bottom: clamp(1.5rem, 5vw, 4rem);
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 5vw, 5rem);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  color: var(--cream);
  font-weight: 700;
}

.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.nav-links {
  gap: clamp(1rem, 3vw, 2.4rem);
  color: rgba(245, 235, 216, 0.82);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--cream);
}

.nav-cta {
  background: var(--cream);
  color: var(--green);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  align-self: center;
  width: min(880px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0;
  text-align: center;
  text-shadow: 0 5px 22px rgba(26, 13, 8, 0.72);
}

.hero-content p:not(.eyebrow) {
  max-width: 36rem;
  color: rgba(245, 235, 216, 0.94);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero-actions,
.contact-actions,
.branch-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.bag-stage {
  position: absolute;
  left: 50%;
  bottom: -1px;
  z-index: 4;
  width: min(900px, 78vw);
  min-width: 390px;
  height: min(660px, 74svh);
  pointer-events: none;
  transform: translateX(-50%);
}

.paper-bag {
  position: absolute;
  bottom: 0;
  left: 50%;
  z-index: 3;
  width: 92%;
  height: 32%;
  transform: translateX(-50%);
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(90deg, rgba(255, 245, 218, 0.38), transparent 11%, rgba(71, 34, 20, 0.12) 54%, rgba(255, 255, 255, 0.16) 78%, transparent),
    repeating-linear-gradient(92deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 7px),
    linear-gradient(180deg, #d5ad73, var(--paper) 58%, #a87342);
  box-shadow: 0 -12px 34px rgba(103, 55, 30, 0.18), 0 30px 80px rgba(0, 0, 0, 0.32);
}

.paper-bag-image {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  object-fit: fill;
  filter: drop-shadow(0 24px 44px rgba(42, 24, 16, 0.34));
}

.paper-bag-image:not([hidden]) ~ .bag-fold,
.paper-bag-image:not([hidden]) ~ .bag-logo {
  display: none;
}

.paper-bag::before,
.paper-bag::after {
  content: "";
  position: absolute;
  inset-block: 8%;
  width: 20%;
  background: linear-gradient(90deg, rgba(60, 30, 20, 0.18), transparent);
}

.paper-bag::before {
  left: 0;
  border-radius: 16px 0 0 24px;
}

.paper-bag::after {
  right: 0;
  transform: scaleX(-1);
  border-radius: 0 16px 24px 0;
}

.bag-fold {
  height: 2.8rem;
  border-radius: 16px 16px 4px 4px;
  background: linear-gradient(180deg, rgba(103, 55, 30, 0.32), rgba(255, 255, 255, 0.08));
  box-shadow: 0 8px 18px rgba(71, 34, 20, 0.24);
}

.bag-logo {
  position: absolute;
  top: 56%;
  left: 50%;
  display: grid;
  place-items: center;
  gap: 0.5rem;
  transform: translate(-50%, -50%);
  color: var(--green);
}

.bag-logo span {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 42%, #1f6f62, var(--green));
}

.bag-logo strong {
  font-size: 0.82rem;
  letter-spacing: 0;
}

.hero-cup {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 2;
  width: min(430px, 42vw);
  height: min(660px, 64vw);
  transform: translateX(-50%) translateY(70%);
  opacity: 0.58;
}

.hero-cup-image {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 30px 48px rgba(20, 10, 6, 0.45));
}

.hero-cup-image[hidden] {
  display: none;
}

.cup {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 2;
  width: 70%;
  height: 48%;
  transform: translateX(-50%);
  opacity: 0.58;
  border-radius: 18px 18px 38px 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 18px 0 26px rgba(255,255,255,0.12), 0 24px 60px rgba(0,0,0,0.28);
}

.cup-lid {
  position: absolute;
  top: 13%;
  left: -10%;
  z-index: 4;
  width: 120%;
  height: 2rem;
  border-radius: 1rem;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.24) 0 5px, transparent 5px 12px),
    rgba(245, 235, 216, 0.88);
}

.straw {
  position: absolute;
  left: 54%;
  top: -18%;
  z-index: 5;
  width: 0.7rem;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(90deg, #f9f2e4, #bba98c);
  transform: rotate(-4deg);
  box-shadow: 0 6px 18px rgba(42, 24, 16, 0.2);
}

.drink-layer {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  border-radius: 22px 22px 34px 34px;
}

.drink-coffee {
  height: 72%;
  background: linear-gradient(180deg, rgba(92, 47, 29, 0.86), rgba(42, 18, 10, 0.9));
}

.drink-milk {
  height: 42%;
  background: linear-gradient(180deg, rgba(245,235,216,0.86), rgba(197,149,91,0.38));
  mix-blend-mode: screen;
}

.ice {
  position: absolute;
  z-index: 2;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.48);
  transform: rotate(14deg);
}

.ice-one {
  top: 4.8rem;
  left: 24%;
}

.ice-two {
  top: 7rem;
  right: 24%;
  transform: rotate(-10deg);
}

.cup-shine,
.preview-shine {
  position: absolute;
  top: 14%;
  left: 18%;
  width: 16%;
  height: 68%;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.42), transparent);
}

.steam {
  position: absolute;
  left: 50%;
  bottom: 325px;
  width: 46px;
  height: 112px;
  border-left: 2px solid rgba(245,235,216,0.45);
  border-radius: 50%;
  animation: steam 3.6s ease-in-out infinite;
}

.steam-two {
  margin-left: 34px;
  animation-delay: 1.2s;
}

@keyframes steam {
  0%, 100% { opacity: 0.12; transform: translateY(18px) scale(0.78); }
  50% { opacity: 0.75; transform: translateY(-18px) scale(1); }
}

.story {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  background:
    linear-gradient(90deg, rgba(246, 230, 196, 0.92), rgba(237, 214, 171, 0.88)),
    url("https://images.unsplash.com/photo-1517701604599-bb29b565090c?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
}

.story-ring {
  left: 4%;
  top: 10%;
  transform: rotate(18deg);
}

.story-note {
  right: clamp(1rem, 5vw, 4.5rem);
  bottom: clamp(1.2rem, 5vw, 4rem);
  transform: rotate(-3deg);
}

.section-copy > p:not(.eyebrow) {
  max-width: 42rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.2rem);
  line-height: 1.7;
}

.value-list {
  display: grid;
  gap: 1rem;
  margin-top: 2.4rem;
}

.value-list article {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 0.8rem 0.9rem;
  border-radius: 5px;
  background: rgba(255, 250, 240, 0.38);
  box-shadow: inset 0 -1px 0 rgba(83, 39, 21, 0.12);
}

.value-list span {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--cream) 0 23%, transparent 24%),
    var(--green);
  box-shadow: 0 12px 26px rgba(15, 61, 46, 0.18);
}

.value-list h3 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.value-list p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.collage {
  position: relative;
  min-height: 680px;
}

.collage-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 10px solid #fff8ea;
  border-bottom-width: 24px;
  border-radius: 3px 7px 4px 5px;
  background: #fff8ea;
  box-shadow: 0 24px 60px rgba(42, 24, 16, 0.24);
}

.collage-card img,
.polaroid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.35) saturate(0.25) hue-rotate(98deg) brightness(0.76);
  transition: filter 280ms ease, transform 280ms ease;
}

.collage-card:hover img,
.collage-card:focus-visible img {
  filter: none;
  transform: scale(1.05);
}

.polaroid:hover img,
.polaroid:focus-visible img {
  filter: sepia(0.08) saturate(0.95) hue-rotate(0deg) brightness(0.98);
}

.card-1 { top: 4%; left: 2%; width: 42%; height: 34%; transform: rotate(-5deg); }
.card-2 { top: 0; right: 4%; width: 44%; height: 42%; transform: rotate(4deg); }
.card-3 { top: 38%; left: 14%; width: 34%; height: 32%; transform: rotate(3deg); }
.card-4 { top: 46%; right: 0; width: 42%; height: 34%; transform: rotate(-4deg); }
.card-5 { bottom: 0; left: 0; width: 38%; height: 27%; transform: rotate(5deg); }
.card-6 { bottom: 2%; right: 25%; width: 28%; height: 26%; transform: rotate(-2deg); }

.configurator {
  display: grid;
  align-items: center;
  min-height: 100svh;
  height: auto;
  overflow: hidden;
  padding: clamp(1.2rem, 3vh, 2.4rem) clamp(1rem, 4vw, 4.5rem);
  background:
    linear-gradient(90deg, rgba(245, 235, 216, 0.92), rgba(245, 235, 216, 0.78) 42%, rgba(25, 16, 10, 0.36)),
    linear-gradient(180deg, rgba(255, 250, 240, 0.3), rgba(63, 38, 25, 0.18)),
    url("https://p0.pikist.com/photos/167/163/cafe-food-restaurant-coffee-shop-bar-counter-rustic-barista.jpg");
  background-size: cover;
  background-position: center;
  color: var(--ink-brown);
}

.drink-slip {
  right: clamp(1rem, 4vw, 3.5rem);
  top: clamp(4.8rem, 8vw, 6.5rem);
  transform: rotate(3deg);
}

.configurator h2,
.configurator h3 {
  color: var(--green);
}

.configurator .section-copy {
  position: relative;
  z-index: 3;
  justify-self: start;
  align-self: center;
  width: min(720px, 100%);
  margin: 0;
  text-align: left;
  text-shadow: none;
}

.configurator .section-copy h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-size: clamp(2.05rem, 3.35vw, 3.45rem);
  line-height: 0.96;
}

.configurator .section-copy .eyebrow {
  color: var(--leaf);
}

.configurator .section-copy .button {
  margin-top: 1rem;
}

.builder {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(0.75rem, 2.2vw, 2rem);
  align-items: stretch;
  width: min(1160px, 100%);
  margin-inline: auto;
  height: calc(100svh - clamp(2.4rem, 6vh, 4.8rem));
  min-height: 0;
  max-height: 720px;
}

.builder-copy-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(63, 38, 25, 0.18);
  border-radius: 4px 9px 5px 7px;
  color: var(--ink-brown);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.26), transparent 36%, rgba(91, 45, 24, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 1.8rem, rgba(91, 45, 24, 0.1) 1.83rem 1.87rem),
    rgba(245, 235, 216, 0.84);
  box-shadow: 0 24px 56px rgba(63, 38, 25, 0.16);
}

.builder-copy-panel .section-copy,
.builder-copy-panel .summary {
  display: grid;
  align-content: center;
  padding: clamp(0.85rem, 1.9vw, 1.45rem);
  min-height: 0;
}

.builder-copy-panel .section-copy {
  border-bottom: 1px solid rgba(63, 38, 25, 0.18);
}

.bill-holder {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  min-height: 100%;
  padding: clamp(0.5rem, 1.25vw, 0.85rem);
  overflow: hidden;
  border: 1px solid rgba(63, 38, 25, 0.28);
  border-radius: 6px 10px 5px 8px;
  background:
    linear-gradient(90deg, rgba(255, 236, 193, 0.12), transparent 16%, rgba(57, 26, 12, 0.18) 48%, transparent 78%),
    repeating-linear-gradient(7deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 9px),
    linear-gradient(135deg, #8a5731, #5f341d 46%, #9a6338);
  box-shadow: 0 34px 86px rgba(42, 24, 16, 0.34), inset 0 0 0 1px rgba(255,255,255,0.12);
}

.bill-holder::before,
.bill-holder::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  z-index: 0;
  height: 1rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 10% 50%, #2f1a0e 0 0.42rem, transparent 0.44rem),
    radial-gradient(circle at 90% 50%, #2f1a0e 0 0.42rem, transparent 0.44rem),
    linear-gradient(180deg, #c9965f, #5d3219);
  box-shadow: 0 8px 14px rgba(42, 24, 16, 0.22);
}

.bill-holder::before {
  top: 50%;
}

.bill-holder::after {
  bottom: 8%;
}

.builder-controls {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-self: center;
  width: min(440px, 94%);
  padding: clamp(0.42rem, 1vw, 0.62rem);
  border: 1px solid rgba(63, 38, 25, 0.2);
  border-radius: 3px 7px 4px 5px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.22), transparent 34%, rgba(91, 45, 24, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 1.55rem, rgba(91, 45, 24, 0.1) 1.58rem 1.62rem),
    rgba(245, 235, 216, 0.9);
  box-shadow: 0 18px 38px rgba(42, 24, 16, 0.18);
  transform: rotate(-0.4deg);
}

.option-group {
  display: grid;
  grid-template-columns: minmax(5.7rem, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.5rem, 1.2vw, 0.8rem);
  min-width: 0;
  padding: 0.62rem 0.36rem;
  border-bottom: 1px solid rgba(63, 38, 25, 0.18);
}

.option-group:last-child {
  border-bottom: 0;
}

.option-group h3 {
  margin-bottom: 0;
  color: rgba(63, 38, 25, 0.72);
  font-size: 0.68rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.chip-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0.28rem;
  align-items: stretch;
  min-width: 0;
}

.chip {
  min-height: 1.9rem;
  margin: 0;
  padding: 0.28rem 0.55rem;
  border: 1px solid rgba(63, 38, 25, 0.22);
  border-radius: 5px;
  color: var(--ink-brown);
  background: rgba(255, 250, 240, 0.42);
  cursor: pointer;
  user-select: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.chip:hover,
.chip.is-active {
  color: var(--cream);
  background: var(--green);
  transform: translateY(-1px);
  animation: chipSettle 260ms ease;
}

.drink-preview {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  align-content: center;
  align-self: center;
  min-height: 0;
  max-height: 100%;
}

.drink-polaroid {
  gap: 0.36rem;
  width: min(205px, 62%);
  margin: 0;
  padding: 0.55rem 0.55rem 0.72rem;
  border-radius: 4px 7px 5px 6px;
  background: #fffaf0;
  box-shadow: 0 24px 56px rgba(42, 24, 16, 0.28);
  transform: rotate(2.2deg);
}

.summary.is-changing {
  animation: summaryRefresh 420ms ease both;
}

.drink-polaroid.is-changing {
  animation: polaroidRefresh 460ms cubic-bezier(.2,.7,.25,1) both;
}

@keyframes summaryRefresh {
  0% { opacity: 0.72; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes polaroidRefresh {
  0% { opacity: 0.72; transform: rotate(2.2deg) translateY(8px) scale(0.98); }
  62% { opacity: 1; transform: rotate(1.4deg) translateY(-3px) scale(1.01); }
  100% { opacity: 1; transform: rotate(2.2deg) translateY(0) scale(1); }
}

@keyframes chipSettle {
  0% { transform: translateY(0); }
  55% { transform: translateY(-2px); }
  100% { transform: translateY(-1px); }
}

@media (prefers-reduced-motion: reduce) {
  .summary.is-changing,
  .drink-polaroid.is-changing,
  .chip.is-active {
    animation: none;
  }
}

.drink-photo-slot {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 4.45;
  overflow: hidden;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 24%, rgba(245, 235, 216, 0.62), transparent 10rem),
    linear-gradient(135deg, rgba(15, 61, 46, 0.82), rgba(42, 24, 16, 0.82));
}

.drink-photo-slot > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.1) saturate(0.9);
}

.drink-polaroid figcaption {
  display: grid;
  gap: 0.18rem;
  color: var(--ink-brown);
}

.drink-polaroid figcaption span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.drink-polaroid figcaption strong {
  font-family: "Caveat", cursive;
  font-size: clamp(1.08rem, 1.8vw, 1.4rem);
  line-height: 1;
}

.preview-glass {
  position: relative;
  width: min(170px, 70%);
  height: min(250px, 82%);
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.48);
  border-top-width: 10px;
  border-radius: 28px 28px 70px 70px;
  background: linear-gradient(90deg, rgba(255,255,255,0.18), rgba(255,255,255,0.04));
  box-shadow:
    inset 24px 0 46px rgba(255,255,255,0.12),
    0 28px 70px rgba(0,0,0,0.3),
    0 0 80px rgba(245, 235, 216, 0.12);
}

.preview-fill {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  border-radius: 28px 28px 62px 62px;
  transition: height 360ms ease, background 260ms ease, opacity 260ms ease;
}

.base-layer {
  height: 72%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--drink-base), #ffffff 12%), var(--drink-base));
}

.milk-layer {
  height: var(--milk-height);
  background: linear-gradient(180deg, rgba(251,242,223,0.9), rgba(245,235,216,0.42));
  mix-blend-mode: screen;
}

.syrup-layer {
  height: 76%;
  background:
    radial-gradient(ellipse at 38% 36%, var(--drink-syrup) 0 7%, transparent 8%),
    radial-gradient(ellipse at 62% 55%, var(--drink-syrup) 0 8%, transparent 9%),
    linear-gradient(130deg, transparent 0 32%, var(--drink-syrup) 33% 40%, transparent 41% 100%);
  opacity: 0.76;
}

.topping-layer {
  bottom: 68%;
  height: 12%;
  border-radius: 50% 50% 22px 22px;
  background: var(--drink-topping);
}

.preview-ice {
  position: absolute;
  inset: 18% 18% auto;
  display: flex;
  justify-content: space-between;
  opacity: var(--ice-opacity);
  transition: opacity 260ms ease;
}

.preview-ice span {
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 14px;
  background: rgba(255,255,255,0.54);
  transform: rotate(14deg);
  box-shadow: inset 8px 8px 16px rgba(255,255,255,0.35);
}

.preview-ice span:nth-child(2) {
  transform: rotate(-8deg) translateY(38px);
}

.preview-ice span:nth-child(3) {
  transform: rotate(18deg) translateY(84px);
}

.is-stirred .syrup-layer {
  animation: stir 520ms ease;
}

@keyframes stir {
  0% { transform: translateY(22px) skewY(-4deg); opacity: 0.4; }
  100% { transform: translateY(0) skewY(0); opacity: 0.76; }
}

.summary {
  align-self: center;
  width: 100%;
  border: 0;
  border-radius: 0;
  color: var(--ink-brown);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.summary .eyebrow,
.summary h3 {
  color: var(--ink-brown);
}

.summary h3 {
  margin-bottom: 0.42rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 2.35vw, 2.15rem);
  line-height: 1;
}

.summary p:not(.eyebrow) {
  color: rgba(63, 38, 25, 0.72);
  line-height: 1.38;
}

.summary-ticket {
  display: grid;
  gap: 0.28rem;
  width: fit-content;
  margin: 0.65rem 0 0;
  padding: 0.55rem 0.7rem;
  border-radius: 4px;
  color: var(--cream);
  background: var(--green);
  font-weight: 700;
}

.summary .button {
  width: 100%;
}

.moments {
  background: transparent;
}

.moments-note {
  left: clamp(1rem, 7vw, 5rem);
  top: clamp(5.3rem, 9vw, 7rem);
  transform: rotate(-7deg);
}

.centered {
  display: grid;
  justify-items: center;
  text-align: center;
}

.moments-wall {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(320px, 1.05fr) minmax(180px, 0.82fr);
  gap: clamp(1.2rem, 3vw, 3.2rem);
  align-items: center;
  width: min(1420px, 100%);
  margin: 0 auto;
  min-height: calc(100svh - clamp(8rem, 12vw, 12rem));
}

.moments-cta {
  width: min(520px, 100%);
  padding: clamp(1.3rem, 2.5vw, 2.1rem);
  border: 1px solid rgba(63, 38, 25, 0.18);
  border-radius: 3px 8px 4px 6px;
  color: var(--ink-brown);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.24), transparent 34%, rgba(91, 45, 24, 0.08)),
    repeating-linear-gradient(0deg, transparent 0 1.75rem, rgba(91, 45, 24, 0.12) 1.78rem 1.82rem),
    rgba(245, 235, 216, 0.74);
  box-shadow: 0 24px 54px rgba(63, 38, 25, 0.12);
  transform: rotate(-0.8deg);
}

.moments-cta h2 {
  max-width: 10ch;
  margin-bottom: 0.9rem;
  font-size: clamp(3.1rem, 6vw, 6.8rem);
}

.moments-cta p:not(.eyebrow) {
  max-width: 28rem;
  margin-bottom: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.polaroids {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  justify-items: center;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  perspective: 1200px;
}

.polaroid-column {
  align-content: center;
}

.polaroid-column.is-reverse {
  margin-top: clamp(1.2rem, 4vw, 3rem);
}

.polaroid {
  position: relative;
  display: flex;
  flex-direction: column;
  width: clamp(180px, 15vw, 245px);
  min-height: clamp(300px, 23vw, 390px);
  padding: 0.58rem 0.58rem 0.85rem;
  border-radius: 3px 6px 4px 5px;
  background: #fffaf0;
  box-shadow: none;
  cursor: pointer;
  transform-origin: 50% -2.1rem;
  translate: 0 0;
  animation: floatPolaroid 6.5s ease-in-out infinite;
  transition: transform 260ms ease, filter 220ms ease;
}

.polaroid:hover,
.polaroid:focus-visible,
.polaroid.is-open {
  filter: saturate(1.05);
  outline: none;
  animation-play-state: paused;
}

.photo-clip {
  position: absolute;
  top: -2rem;
  left: 50%;
  z-index: 4;
  width: 1rem;
  height: 2.45rem;
  border: 2px solid #5c3a25;
  border-bottom-width: 7px;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(90deg, #c7a16a, #6d472b);
  box-shadow: 0 7px 12px rgba(42,24,16,0.24);
  transform: translateX(-50%);
}

.photo-clip::before {
  content: none;
}

.polaroid img {
  aspect-ratio: 1 / 1.05;
  height: auto;
  border-radius: 4px;
}

.polaroid > div {
  display: grid;
  align-content: start;
  flex: 1;
}

.polaroid h3 {
  margin: 0.62rem 0 0.12rem;
  font-size: 0.95rem;
}

.favorite {
  margin-bottom: 0.35rem;
  font-size: 0.84rem;
  color: var(--brown);
  font-weight: 700;
}

.quote {
  max-height: none;
  min-height: 3.7rem;
  margin: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity 220ms ease, transform 220ms ease;
}

.polaroid:hover .quote,
.polaroid:focus-visible .quote,
.polaroid.is-open .quote {
  opacity: 1;
  transform: translateY(0);
}

.polaroid-1 { transform: rotate(-6deg) translateY(0.4rem); animation-delay: -0.4s; }
.polaroid-2 { transform: rotate(4deg) translateY(0.9rem); animation-delay: -1.8s; }
.polaroid-3 { transform: rotate(-3deg) translateY(0.2rem); animation-delay: -2.7s; }
.polaroid-4 { transform: rotate(5deg) translateY(1.1rem); animation-delay: -0.9s; }
.polaroid-5 { transform: rotate(-4deg) translateY(0.8rem); animation-delay: -3.4s; }
.polaroid-6 { transform: rotate(3deg) translateY(0.2rem); animation-delay: -1.2s; }
.polaroid-7 { transform: rotate(-5deg) translateY(1.1rem); animation-delay: -2.1s; }
.polaroid-8 { transform: rotate(4deg) translateY(0.5rem); animation-delay: -4s; }

@keyframes floatPolaroid {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.55rem; }
}

.branches {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(460px, 1.3fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  background: transparent;
}

.community-board {
  min-height: 200svh;
  padding: 0;
  background: var(--paper-board-bg);
  background-size: 640px 640px, auto;
  background-position: top left;
  background-repeat: repeat;
}

.community-board::before {
  content: none;
}

.board-panel {
  position: relative;
  min-height: 100svh;
  padding: clamp(4.5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
}

.community-board .moments {
  display: block;
}

.community-board .branches {
  min-height: 100svh;
}

.community-board .branches::before {
  content: none;
}

.branch-stamp {
  left: clamp(1rem, 5vw, 4rem);
  bottom: clamp(1rem, 4vw, 3rem);
  color: rgba(63, 38, 25, 0.78);
  border-color: rgba(63, 38, 25, 0.36);
}

.postcard-deco {
  position: absolute;
  top: clamp(4rem, 8vw, 7rem);
  right: clamp(1rem, 6vw, 5rem);
  z-index: 2;
  width: 12rem;
  min-height: 7.6rem;
  padding: 1rem;
  border: 1px solid rgba(63, 38, 25, 0.18);
  color: var(--ink-brown);
  background:
    linear-gradient(90deg, transparent 0 58%, rgba(63, 38, 25, 0.16) 58% 59%, transparent 59%),
    repeating-linear-gradient(0deg, transparent 0 1.2rem, rgba(63, 38, 25, 0.1) 1.22rem 1.25rem),
    rgba(245, 235, 216, 0.34);
  transform: rotate(4deg);
}

.postcard-deco span {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.postcard-deco strong {
  display: block;
  margin-top: 1.5rem;
  font-family: "Caveat", cursive;
  font-size: 1.4rem;
}

.pen-deco {
  position: absolute;
  right: clamp(8rem, 18vw, 18rem);
  bottom: clamp(2rem, 7vw, 5rem);
  z-index: 2;
  width: 13rem;
  height: 0.75rem;
  border-radius: 999px;
  background:
    linear-gradient(90deg, #1c332d 0 70%, #b88951 70% 80%, #352116 80% 100%);
  box-shadow: 0 8px 12px rgba(63, 38, 25, 0.12);
  transform: rotate(-12deg);
}

.pen-deco::after {
  content: "";
  position: absolute;
  right: -1.1rem;
  top: 50%;
  border-left: 1.3rem solid #352116;
  border-top: 0.38rem solid transparent;
  border-bottom: 0.38rem solid transparent;
  transform: translateY(-50%);
}

.ticket-deco {
  position: absolute;
  left: clamp(18rem, 28vw, 28rem);
  top: clamp(7rem, 11vw, 9rem);
  z-index: 2;
  padding: 0.5rem 0.8rem;
  border: 1px dashed rgba(63, 38, 25, 0.28);
  color: rgba(63, 38, 25, 0.72);
  font-family: "Caveat", cursive;
  font-size: 1.1rem;
  transform: rotate(-5deg);
}

.branch-catalogue {
  display: grid;
  gap: 1.3rem;
}

.branch-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(280px, 1fr);
  gap: clamp(1.4rem, 3vw, 2.8rem);
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 260ms ease, opacity 260ms ease;
}

.branch-panel.is-open {
  animation: panelIn 360ms ease;
}

@keyframes panelIn {
  from { opacity: 0.4; transform: translateY(16px); }
}

.branch-gallery {
  position: relative;
  min-height: 420px;
}

.gallery-photo {
  position: absolute;
  width: 58%;
  aspect-ratio: 4 / 3;
  border: 9px solid #fff8ea;
  border-bottom-width: 28px;
  border-radius: 2px 5px 3px 4px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(63, 38, 25, 0.16);
}

.gallery-photo-1 {
  left: 4%;
  top: 8%;
  z-index: 3;
  transform: rotate(-5deg);
}

.gallery-photo-2 {
  right: 6%;
  top: 0;
  z-index: 2;
  transform: rotate(5deg);
}

.gallery-photo-3 {
  left: 28%;
  bottom: 4%;
  z-index: 4;
  transform: rotate(2deg);
}

.branch-copy {
  position: relative;
  padding: clamp(1rem, 2.5vw, 1.8rem);
}

.branch-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-top: 1px solid rgba(63, 38, 25, 0.12);
  border-bottom: 1px solid rgba(63, 38, 25, 0.12);
  background:
    repeating-linear-gradient(0deg, transparent 0 1.8rem, rgba(63, 38, 25, 0.08) 1.82rem 1.86rem);
}

.branch-panel h3 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.branch-panel p {
  color: var(--muted);
  line-height: 1.55;
}

.branch-note {
  max-width: 34rem;
  font-family: "Caveat", cursive;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--ink-brown);
}

.branch-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 2vw, 1.3rem);
}

.branch-option {
  display: grid;
  gap: 0.35rem;
  min-height: 7rem;
  padding: 0.9rem;
  border: 1px solid rgba(63, 38, 25, 0.22);
  border-radius: 2px;
  color: var(--ink-brown);
  text-align: left;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.28), transparent),
    rgba(245, 235, 216, 0.28);
  cursor: pointer;
  transform: rotate(-1.2deg);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.branch-option:nth-child(2) {
  transform: rotate(1.4deg);
}

.branch-option:nth-child(3) {
  transform: rotate(-0.5deg);
}

.branch-option span,
.branch-option small {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.branch-option strong {
  color: var(--green);
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  line-height: 1.05;
}

.branch-option small {
  color: var(--muted);
}

.branch-option:hover,
.branch-option.is-active {
  border-color: rgba(15, 61, 46, 0.58);
  background: rgba(255, 250, 240, 0.5);
  transform: rotate(0deg) translateY(-0.2rem);
}

.contact {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 100svh;
  padding: 0;
  color: var(--ink-brown);
  background-image: url("/images/Footer-Background.jpg");
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
  width: min(590px, 42vw);
  margin: auto auto auto clamp(2rem, 7vw, 7rem);
  padding: clamp(1.2rem, 2.4vw, 2rem);
  border: 1px solid rgba(63, 38, 25, 0.18);
  border-radius: 2px 7px 4px 5px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.24), transparent 32%),
    repeating-linear-gradient(0deg, transparent 0 2rem, rgba(63, 38, 25, 0.13) 2.03rem 2.07rem),
    #f4e4c5;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.24);
  transform: rotate(0.8deg);
}

.contact-copy {
  position: relative;
  padding: 0;
}

.contact-copy::before {
  content: none;
}

.contact h2 {
  color: var(--green);
  max-width: 9ch;
  margin-bottom: 0.7rem;
  font-size: clamp(3rem, 5vw, 5.1rem);
}

.contact p:not(.eyebrow) {
  max-width: 28rem;
  color: var(--muted);
  line-height: 1.55;
}

.contact .ghost-link {
  color: var(--green);
}

.contact-actions {
  justify-content: start;
  gap: 0.65rem;
}

.contact-actions .button,
.contact-actions .ghost-link,
.diary-form .button {
  min-height: 2.35rem;
  padding: 0.55rem 0.8rem;
  font-size: 0.9rem;
}

.diary-form {
  position: relative;
  display: grid;
  gap: 0.8rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--ink-brown);
  background: transparent;
  box-shadow: none;
  transform: none;
}

.diary-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(63, 38, 25, 0.18);
}

.diary-header span {
  color: var(--leaf);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.diary-header strong {
  color: var(--ink-brown);
  font-family: "Caveat", cursive;
  font-size: 1.55rem;
}

label {
  display: grid;
  gap: 0.3rem;
  color: var(--ink-brown);
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 2px solid rgba(63, 38, 25, 0.24);
  border-radius: 0;
  padding: 0.52rem 0.2rem;
  color: var(--ink-brown);
  background: transparent;
}

input::placeholder,
textarea::placeholder {
  color: rgba(63, 38, 25, 0.44);
}

@media (max-width: 1280px) {
  .community-board .branches {
    grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
    gap: clamp(1.2rem, 3vw, 2.4rem);
    padding: clamp(3.8rem, 6vw, 5.25rem) clamp(2rem, 4vw, 3.4rem);
  }

  .branches .section-copy h2 {
    max-width: 9ch;
    font-size: clamp(3.7rem, 6.4vw, 5rem);
  }

  .branches .section-copy > p:not(.eyebrow) {
    max-width: 24rem;
    font-size: 0.98rem;
  }

  .branch-catalogue {
    min-width: 0;
    gap: 0.95rem;
  }

  .branch-panel {
    grid-template-columns: minmax(220px, 0.85fr) minmax(260px, 1fr);
    gap: 1rem;
  }

  .branch-gallery {
    min-height: 300px;
  }

  .gallery-photo {
    width: 54%;
    border-width: 7px;
    border-bottom-width: 22px;
  }

  .branch-copy {
    padding: 1rem;
  }

  .branch-panel h3 {
    font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  }

  .branch-note {
    font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  }

  .branch-options {
    gap: 0.8rem;
  }

  .branch-option {
    min-height: 5.5rem;
    padding: 0.75rem;
  }

  .branch-option strong {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
  }

  .postcard-deco {
    right: clamp(1rem, 4vw, 2.5rem);
    width: 10.5rem;
    opacity: 0.78;
  }

  .ticket-deco {
    left: 32%;
    opacity: 0.72;
  }

  .pen-deco {
    right: clamp(7rem, 16vw, 12rem);
    bottom: clamp(1.2rem, 4vw, 2.4rem);
    width: 10rem;
  }
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .bag-stage {
    opacity: 0.95;
    width: min(660px, 82vw);
  }

  .story,
  .branches,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .branches {
    align-content: start;
    align-items: start;
    gap: 1.8rem;
  }

  .branches .section-copy h2 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 9vw, 5.4rem);
  }

  .collage {
    min-height: 560px;
  }

  .moments-wall {
    grid-template-columns: 1fr;
    align-items: start;
    min-height: auto;
  }

  .moments-cta {
    order: -1;
    justify-self: center;
  }

  .polaroid-column {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(760px, 100%);
    justify-self: center;
  }

  .polaroid-column.is-reverse {
    margin-top: 0;
  }

  .polaroid {
    width: min(190px, 28vw);
    min-height: 335px;
  }

  .branch-panel {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .branch-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 0.9rem;
    min-height: auto;
    padding-block: 0.6rem;
  }

  .gallery-photo,
  .gallery-photo-1,
  .gallery-photo-2,
  .gallery-photo-3 {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .gallery-photo-1 {
    transform: rotate(-4deg);
  }

  .gallery-photo-2 {
    transform: rotate(3deg);
  }

  .gallery-photo-3 {
    transform: rotate(-1.5deg);
  }

  .branch-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-card {
    width: min(560px, 66vw);
    margin-left: 0;
  }
}

@media (min-width: 681px) and (max-height: 820px) and (orientation: landscape) {
  .configurator {
    min-height: 100vh;
    padding-block: 1.4rem;
  }

  .drink-slip {
    display: none;
  }

  .builder {
    width: min(1040px, 100%);
    height: calc(100vh - 2.8rem);
    min-height: 0;
    max-height: calc(100vh - 2.8rem);
    gap: clamp(0.7rem, 2vw, 1.8rem);
  }

  .configurator .section-copy h2 {
    font-size: clamp(1.95rem, 3vw, 2.8rem);
  }

  .builder-copy-panel .section-copy,
  .builder-copy-panel .summary {
    padding: clamp(0.65rem, 1.4vw, 1.05rem);
  }

  .summary h3 {
    font-size: clamp(1.25rem, 2vw, 1.8rem);
  }

  .summary p:not(.eyebrow) {
    line-height: 1.34;
  }

  .summary-ticket {
    margin-top: 0.5rem;
    padding: 0.45rem 0.6rem;
  }

  .bill-holder {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    padding: 0.55rem;
  }

  .drink-polaroid {
    width: min(180px, 58%);
    padding: 0.45rem 0.45rem 0.65rem;
  }

  .builder-controls {
    padding: 0.4rem;
  }

  .option-group {
    grid-template-columns: minmax(4.9rem, 0.36fr) minmax(0, 1fr);
    gap: 0.48rem;
    padding: 0.42rem 0.28rem;
  }

  .chip {
    min-height: 1.58rem;
    padding-block: 0.2rem;
  }
}

@media (max-width: 680px) {
  .site-shell {
    padding: 0;
  }

  .section {
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 5.5rem 1rem;
  }

  .section:not(.hero) {
    width: 100%;
    min-height: 100svh;
    margin: 0;
  }

  .community-board .branches {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    min-height: auto;
    padding: 4.75rem 1.25rem 3rem;
    overflow: hidden;
  }

  .branches {
    gap: 1.25rem;
    padding: 4.75rem 1.25rem 3rem;
  }

  .branches .section-copy,
  .branch-catalogue,
  .branch-options {
    width: 100%;
    min-width: 0;
  }

  .branches .section-copy h2 {
    max-width: 9ch;
    margin-bottom: 0.75rem;
    font-size: clamp(2.85rem, 13vw, 4.05rem);
  }

  .branches .section-copy p {
    max-width: 28rem;
    font-size: 0.94rem;
  }

  .hero {
    min-height: 100svh;
    align-items: start;
    padding: 0;
  }

  .hero-visual {
    width: 100%;
    min-height: 100%;
    margin-top: 0;
  }

  .nav {
    padding: 1rem;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav-cta {
    display: none;
  }

  .paper-note,
  .receipt-slip,
  .photo-stamp,
  .postcard-deco,
  .pen-deco,
  .ticket-deco,
  .coffee-ring {
    display: none;
  }

  h1 {
    font-size: clamp(3.6rem, 18vw, 5.5rem);
  }

  h2 {
    max-width: 13ch;
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .contact-actions .button,
  .contact-actions .ghost-link {
    width: 100%;
  }

  .contact {
    background-image: url("/images/Footer-Background.jpg");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
  }

  .configurator {
    overflow: visible;
  }

  .contact-card {
    width: 100%;
    margin: auto;
  }

  .diary-form {
    transform: none;
  }

  .bag-stage {
    left: 50%;
    right: auto;
    bottom: 0;
    width: min(560px, 98vw);
    min-width: 220px;
    height: 500px;
    transform: translateX(-50%);
  }

  .hero-cup {
    width: 270px;
    height: 420px;
  }

  .cup {
    width: 76%;
    height: 55%;
  }

  .paper-bag {
    height: 28%;
  }

  .collage {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    min-height: auto;
  }

  .collage-card {
    position: static;
    width: auto;
    height: auto;
    aspect-ratio: 1 / 1;
    transform: none;
    border-width: 6px;
  }

  .configurator .section-copy {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-bottom: 0;
  }

  .configurator .section-copy h2 {
    max-width: 11ch;
  }

  .builder {
    grid-template-columns: 1fr;
    gap: 1rem;
    height: auto;
    max-height: none;
    min-height: auto;
  }

  .builder-copy-panel {
    grid-template-rows: auto auto;
  }

  .bill-holder {
    grid-template-rows: auto auto;
    min-height: auto;
    padding: 1rem;
  }

  .bill-holder::before {
    top: 49%;
  }

  .bill-holder::after {
    bottom: 9%;
  }

  .builder-controls {
    grid-template-columns: 1fr;
    width: 100%;
    transform: none;
  }

  .option-group {
    grid-template-columns: 1fr;
    gap: 0.62rem;
    overflow: visible;
    white-space: normal;
  }

  .chip-row {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
  }

  .summary {
    transform: none;
  }

  .drink-polaroid {
    width: min(320px, 100%);
    transform: none;
  }

  .preview-glass {
    width: min(170px, 70%);
    height: 250px;
  }

  .moments-wall {
    gap: 1.4rem;
  }

  .moments-cta {
    width: 100%;
    transform: none;
  }

  .moments-cta h2 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 13vw, 4.3rem);
  }

  .polaroids {
    gap: 1.2rem;
  }

  .polaroid-column {
    grid-template-columns: 1fr;
    width: min(220px, 72vw);
  }

  .polaroid {
    width: 100%;
    min-height: 315px;
    min-width: 0;
  }

  .polaroid,
  .polaroid-1,
  .polaroid-2,
  .polaroid-3,
  .polaroid-4,
  .polaroid-5,
  .polaroid-6,
  .polaroid-7,
  .polaroid-8 {
    transform: none;
  }

  .branch-panel {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    width: 100%;
    min-width: 0;
  }

  .branch-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    min-height: auto;
    width: 100%;
    margin: 0.35rem 0 0.9rem;
    padding: 0;
    overflow: hidden;
  }

  .gallery-photo,
  .gallery-photo-1,
  .gallery-photo-2,
  .gallery-photo-3 {
    position: relative;
    inset: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-width: 5px;
    border-bottom-width: 14px;
  }

  .gallery-photo-1 {
    z-index: 2;
    transform: rotate(-5deg);
  }

  .gallery-photo-2 {
    z-index: 1;
    transform: rotate(5deg);
  }

  .gallery-photo-3 {
    z-index: 3;
    transform: rotate(2deg);
  }

  .branch-copy {
    width: 100%;
    min-width: 0;
    padding: 0.9rem 0;
  }

  .branch-panel h3 {
    font-size: clamp(1.8rem, 8vw, 2.35rem);
  }

  .branch-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .branch-actions .button,
  .branch-actions .ghost-link {
    width: 100%;
    text-align: center;
  }

  .branch-options {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .branch-option,
  .branch-option:nth-child(2),
  .branch-option:nth-child(3) {
    min-height: auto;
    padding: 0.8rem 0.9rem;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
