/* MunchMap motion direction: expressive editorial type, floating food finds,
   a scroll-driven saving story and a tactile screen deck. User-requested motion
   replaces the still presentation; every interaction also works without animation. */
:root { --ease-story: cubic-bezier(0.22, 1, 0.36, 1); --motion-long: 700ms; }
.header { position: sticky; top: 0; background: var(--color-paper); transition: box-shadow 240ms var(--ease-story); }
.header.scrolled { box-shadow: 0 1px 0 var(--color-rule); }
.header::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--color-accent); transform: scaleX(var(--read-progress, 0)); transform-origin: left; }
.header__inner { min-height: 88px; gap: 24px; }
.header__controls { display: none; align-items: center; gap: 12px; order: 3; }
.header__nav { margin-left: auto; gap: 32px; }
.header__nav > a:not(.nav-download) { position: relative; }
.header__nav > a:not(.nav-download)::after { content: ''; position: absolute; left: 0; right: 0; bottom: 7px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 320ms var(--ease-story); }
.header__nav > a:not(.nav-download):is(:hover, :focus-visible)::after { transform: scaleX(1); transform-origin: left; }
.header__nav a:hover { text-decoration: none; }
.nav-download { transition: background-color 220ms var(--ease-story), color 220ms var(--ease-story), transform 220ms var(--ease-story); }
.header__nav .nav-download:hover { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); transform: translateY(-2px); }
.hero { padding-block: 24px 64px; }
.hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 24px; }
.hero__content { position: relative; z-index: 2; padding-block: 24px; }
.hero h1 { font-size: clamp(48px, 5.5vw, 82px); letter-spacing: -0.06em; line-height: 1.05; }
.hero__line { display: block; overflow: clip; padding-bottom: 0.12em; margin-bottom: -0.1em; white-space: nowrap; }
.hero__line > span { display: block; }
.hero__line--serif { font-family: var(--font-editorial); font-weight: 400; font-style: italic; font-size: 1.25em; letter-spacing: -0.045em; color: var(--color-accent); line-height: 1.05; }
.hero__sub { margin-block: 28px 32px; font-size: 19px; max-width: 34ch; }
.hero__actions { gap: 28px; }
.text-link { gap: 12px; text-decoration: none; }
.text-link svg { transition: transform 240ms var(--ease-story); }
.text-link:hover svg { transform: translateX(5px); }
.appstore-btn { transition: transform 300ms var(--ease-story), filter 300ms var(--ease-story); }
.appstore-btn:hover { transform: translateY(-4px) rotate(-2deg); }
.hero__visual { height: 590px; perspective: 1000px; }
.hero__visual::before { display: none; }
.hero__orbit { position: absolute; width: 91%; aspect-ratio: 1; max-width: 470px; left: 50%; top: 54px; border-radius: 50%; background: var(--color-paper-3); transform: translateX(-50%) rotate(var(--orbit-turn, -12deg)); }
.hero__orbit::after { content: ''; position: absolute; inset: -16px 14px; border: 1px solid var(--color-accent); border-radius: 50%; transform: rotate(25deg); opacity: 0.35; }
.hero__scene { position: absolute; inset: 20px 12px 64px; transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); transform-style: preserve-3d; transition: transform 600ms var(--ease-story); }
.hero__map-wrap { position: absolute; width: 235px; height: 478px; top: 0; left: calc(50% - 117px); z-index: 3; transform: translate3d(0, var(--map-drift, 0px), 30px) rotate(-5deg); }
.hero .hero__map { position: static; width: 100%; height: 100%; border-radius: 24px; transform: none; object-fit: cover; }
.hero__video-wrap { position: absolute; width: 157px; height: 279px; top: 176px; right: -12px; z-index: 4; transform: translate3d(var(--video-drift, 0px), 0, 65px) rotate(12deg); }
.hero .hero__video { position: static; width: 100%; height: 100%; border: 4px solid var(--color-paper); border-radius: 20px; object-fit: cover; transform: none; }
.hero__pastry-wrap { position: absolute; width: 143px; height: 254px; top: 40px; left: -6px; z-index: 2; transform: translate3d(0, var(--pastry-drift, 0px), 10px) rotate(-12deg); }
.hero__pastry { width: 100%; height: 100%; object-fit: cover; border: 4px solid var(--color-paper); border-radius: 20px; box-shadow: var(--shadow-card); }
.hero .hero__pin { position: absolute; width: 40px; height: 50px; color: var(--color-accent); }
.hero .hero__pin--one { top: 380px; left: 0; transform: rotate(-15deg); }
.hero .hero__pin--two { width: 29px; height: 36px; top: 10px; left: auto; right: 25px; transform: rotate(15deg); }
.hero__pin svg { width: 100%; height: 100%; }
.hero__visual figcaption { bottom: 14px; left: 0; right: 0; color: var(--color-accent); font-family: var(--font-editorial); font-style: italic; font-size: 27px; }
.js:not(.page-entered):not(.motion-paused) .hero__line > span { animation: type-arrive 850ms var(--ease-story) both; }
.js:not(.page-entered):not(.motion-paused) .hero__line--serif > span { animation-delay: 140ms; }
.js:not(.page-entered):not(.motion-paused) [data-enter] { animation: arrive 700ms 300ms var(--ease-story) both; }
.js:not(.page-entered):not(.motion-paused) .hero__visual { animation: visual-arrive 1100ms 100ms var(--ease-story) both; }
.js .hero__video { animation: pizza-float 7s 1.2s ease-in-out infinite alternate; }
.js .hero__pastry { animation: pastry-float 8s 1.5s ease-in-out infinite alternate; }
.hero[data-offscreen] .hero__video, .hero[data-offscreen] .hero__pastry { animation-play-state: paused; }
.cravings { width: calc(100% + 96px); margin-inline: -48px; overflow: clip; background: var(--color-paper-3); color: var(--color-accent); padding-block: 22px; transform: rotate(-1.2deg); margin-block: 12px 0; }
.cravings__track { position: relative; display: flex; width: max-content; }
.cravings__group { position: relative; display: flex; flex: 0 0 auto; }
.cravings__track > span, .cravings__unit { display: flex; align-items: center; gap: 28px; flex: 0 0 auto; padding-right: 64px; font-weight: 700; font-size: clamp(34px, 4.5vw, 64px); letter-spacing: -0.055em; white-space: nowrap; line-height: 1.1; }
.cravings__track i { font-family: var(--font-editorial); font-weight: 400; font-size: 1.22em; letter-spacing: -0.035em; }
.cravings__track svg { width: 35px; height: 44px; flex: 0 0 auto; margin-left: 28px; }
.js .cravings__track { animation: cravings-drift var(--cravings-duration, 26s) linear infinite; }
.cravings:hover .cravings__track { animation-play-state: paused; }
.story-section { padding-top: 136px; }
.story-heading { align-items: center; }
.story-heading h2 { max-width: none; }
.story-heading p { max-width: 26ch; }
.story-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.story-stage { position: sticky; top: 120px; height: 600px; border-radius: 32px; background: var(--color-paper-2); overflow: clip; isolation: isolate; transition: background-color 450ms var(--ease-story); }
.story-stage[data-phase="1"] { background: var(--color-paper-3); }
.story-stage[data-phase="2"] { background: var(--color-paper-2); }
.story-stage__ring { position: absolute; width: 430px; height: 430px; left: 50%; top: 70px; border: 1px solid var(--color-rule); border-radius: 50%; transform: translateX(-50%) rotate(var(--story-turn, 0deg)); z-index: -1; }
.story-stage__ring::after { content: ''; position: absolute; inset: 32px; border: 1px solid var(--color-rule); border-radius: 50%; }
.story-frame { position: absolute; inset: 0; }
.story-frame > p { position: absolute; bottom: 46px; left: 24px; right: 24px; text-align: center; color: var(--color-accent); font-size: 17px; }
.story-frame--source > img { position: absolute; width: 224px; height: 398px; left: calc(50% - 112px); top: 44px; object-fit: cover; border-radius: 22px; transform: rotate(-6deg); box-shadow: var(--shadow-card); }
.story-frame__source { position: absolute; width: 170px; height: 260px; object-fit: cover; left: 32px; top: 32px; border-radius: 18px; transform: rotate(-9deg); }
.story-frame__add { position: absolute; width: 75%; max-width: 360px; right: 32px; bottom: 105px; border-radius: 24px; box-shadow: var(--shadow-card); transform: rotate(3deg); }
.story-frame--map > img { position: absolute; height: 465px; width: auto; left: 50%; top: 20px; border-radius: 24px; transform: translateX(-50%) rotate(4deg); box-shadow: var(--shadow-card); }
.story-progress { position: absolute; display: flex; justify-content: center; gap: 8px; bottom: 22px; left: 0; right: 0; }
.story-progress span { width: 28px; height: 3px; background: var(--color-rule); transition: background-color 220ms; }
.story-progress span.is-active { background: var(--color-accent); }
.story-steps { list-style: none; padding: 0; margin: 0; }
.story-steps li { display: flex; align-items: center; min-height: 240px; border-top: 1px solid var(--color-rule); }
.story-steps li:last-child { border-bottom: 1px solid var(--color-rule); }
.story-step { position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr) 24px; align-items: start; gap: 24px; width: 100%; min-height: 120px; padding: 32px 0 32px 16px; text-align: left; border: 0; background: transparent; cursor: pointer; }
.story-step::before { content: ''; position: absolute; left: 0; top: 32px; bottom: 32px; width: 3px; background: var(--color-accent); transform: scaleY(0); transform-origin: top; transition: transform 550ms var(--ease-story); }
.story-step[aria-current="step"]::before { transform: scaleY(1); }
.story-step__num { padding-top: 6px; font-size: 14px; color: var(--color-muted); font-variant-numeric: tabular-nums; }
.story-step__title { display: block; font-size: clamp(25px, 2.5vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.05em; transition: color 200ms; }
.story-step__copy { display: block; margin-top: 16px; color: var(--color-muted); font-size: 16px; line-height: 1.6; max-width: 38ch; }
.story-step > svg { margin-top: 8px; opacity: 0.3; transform: rotate(45deg); transition: transform 350ms var(--ease-story), opacity 250ms; }
.story-step:is(:hover, [aria-current="step"]) .story-step__title { color: var(--color-accent); }
.story-step:is(:hover, [aria-current="step"]) > svg { opacity: 1; transform: rotate(0deg); }
.story-step:active { transform: translateY(1px); }
.product-section { border-radius: 40px 40px 0 0; }
.product-section .section-head { gap: 72px; }
.product-section .section-head h2 { max-width: none; }
.app-explorer { padding: 32px 40px 24px; background: var(--color-ink-2); border-radius: 32px; }
.explorer-tabs { display: flex; width: fit-content; margin-inline: auto; padding: 5px; gap: 4px; background: var(--color-ink); border-radius: 999px; }
.explorer-tabs button { min-height: 44px; border: 0; padding: 10px 24px; border-radius: 999px; background: transparent; color: var(--color-paper); white-space: nowrap; cursor: pointer; font-size: 14px; transition: background-color 250ms, color 250ms; }
.explorer-tabs button[aria-selected="true"] { background: var(--color-paper); color: var(--color-ink); }
.explorer-tabs button[aria-selected="false"]:hover { background: var(--color-accent); }
.explorer-tabs button:active { transform: translateY(1px); }
.explorer-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: center; gap: 64px; }
.screen-deck { height: 560px; position: relative; min-width: 0; perspective: 1000px; touch-action: pan-y; cursor: grab; }
.screen-deck:active { cursor: grabbing; }
.screen-deck__card { position: absolute; left: 50%; top: 40px; width: auto; height: 470px; max-width: none; object-fit: contain; border-radius: 24px; box-shadow: var(--shadow-card); transition: transform 750ms var(--ease-story), opacity 550ms var(--ease-story); }
.screen-deck__card[data-position="active"] { transform: translateX(-50%) rotate(-4deg); opacity: 1; z-index: 3; }
.screen-deck__card[data-position="right"] { transform: translateX(10%) translateY(28px) rotate(13deg) scale(0.85); opacity: 0.36; z-index: 2; }
.screen-deck__card:is([data-position="left"], [data-position="far"]) { transform: translateX(-115%) translateY(28px) rotate(-15deg) scale(0.85); opacity: 0.36; z-index: 1; }
.screen-deck__ground { position: absolute; width: 90%; height: 270px; border-radius: 50%; background: var(--color-accent); bottom: 12px; left: 5%; z-index: 0; transform: rotateX(62deg); }
.explorer-panels { position: relative; z-index: 4; padding-right: 16px; }
.explorer-panels h3 { font-size: clamp(30px, 3.2vw, 44px); max-width: 14ch; line-height: 1.07; letter-spacing: -0.05em; }
.explorer-panels p { margin-block: 24px 28px; max-width: 36ch; font-size: 17px; color: var(--color-paper-2); line-height: 1.65; }
.explorer-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; border-bottom: 1px solid var(--color-muted); font-size: 14px; }
.explorer-link svg { transition: transform 250ms var(--ease-story); }
.explorer-link:hover svg { transform: translateX(5px); }
.feature-notes { margin-top: 64px; }
.faq[open] summary::after { transform: rotate(180deg); }
.faq summary::after { transition: transform 300ms var(--ease-story); }
.cta-section { position: relative; overflow: clip; }
.cta-section::before { content: ''; position: absolute; right: -80px; top: -180px; width: 460px; height: 460px; border: 1px solid color-mix(in oklab, var(--color-paper) 30%, transparent); border-radius: 50%; transform: translateY(var(--cta-drift, 0px)); }
.cta-section__inner { position: relative; z-index: 1; }
.footer__wordmark { display: inline-block; transition: color 300ms; }
.footer__wordmark:hover { color: var(--color-accent); text-decoration: none !important; }
html:not(.js) .explorer-tabs { display: none; }
html:not(.js) .explorer-panels > div { margin-bottom: 32px; }
@keyframes type-arrive { from { transform: translateY(115%) rotate(3deg); } to { transform: translateY(0) rotate(0deg); } }
@keyframes arrive { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes visual-arrive { from { opacity: 0; transform: translateY(28px) rotate(5deg); } to { opacity: 1; transform: translateY(0) rotate(0deg); } }
@keyframes pizza-float { from { transform: translateY(0) rotate(-2deg); } to { transform: translateY(-15px) rotate(2deg); } }
@keyframes pastry-float { from { transform: translateY(0) rotate(1deg); } to { transform: translateY(12px) rotate(-2deg); } }
@keyframes cravings-drift { to { transform: translateX(-50%); } }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; transition: none !important; }
.motion-paused .hero__scene { transform: none; }
@media (max-width: 1100px) {
  .header__nav { gap: 24px; }
  .hero h1 { font-size: clamp(46px, 5.4vw, 66px); }
  .hero__visual { height: 540px; }
  .hero__map-wrap { width: 214px; height: 435px; left: calc(50% - 107px); top: 10px; }
  .hero__video-wrap { width: 133px; height: 237px; right: -8px; }
  .hero__pastry-wrap { width: 120px; height: 213px; left: -8px; }
  .hero .hero__pin--one { top: 365px; left: 0; }
  .story-layout { gap: 40px; }
  .story-step { gap: 16px; }
  .explorer-layout { gap: 32px; }
  .app-explorer { padding-inline: 24px; }
  .screen-deck__card { height: 420px; }
  .screen-deck { height: 510px; }
}
@media (max-width: 899px) {
  .story-layout { gap: 32px; }
  .story-stage { top: 110px; height: 540px; }
  .story-frame--source > img { height: 345px; width: 194px; left: calc(50% - 97px); }
  .story-frame--map > img { height: 400px; }
  .story-step__title { font-size: 27px; }
  .story-step__copy { font-size: 14px; }
  .story-steps li { min-height: 200px; }
  .story-frame__source { width: 135px; height: 220px; left: 24px; }
  .story-frame__add { right: 24px; bottom: 100px; }
  .explorer-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .screen-deck { width: min(100%, 540px); margin-inline: auto; }
  .explorer-panels { padding: 0 16px 32px; min-height: 270px; }
  .explorer-panels h3 { max-width: 22ch; font-size: 36px; }
  .explorer-panels p { max-width: 60ch; }
}
@media (max-width: 760px) {
  .header__inner { min-height: 80px; gap: 12px; }
  .header__nav { gap: 12px; margin-left: 0; }
  .header__controls { display: flex; margin-left: auto; gap: 10px; }
  .hero { padding-block: 24px 40px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hero__content { padding: 8px 0 0; }
  .hero h1 { max-width: none; font-size: clamp(40px, 10.8vw, 76px); letter-spacing: -0.06em; }
  .hero__sub { margin-block: 24px; max-width: 32ch; font-size: 17px; }
  .hero__actions { gap: 24px; }
  .hero__visual { width: min(100%, 480px); height: 535px; margin-top: 0; }
  .hero__scene { inset: 12px 12px 70px; }
  .hero__map-wrap { width: 214px; height: 435px; top: 4px; }
  .hero__video-wrap { width: 125px; height: 222px; top: 190px; right: -8px; }
  .hero__pastry-wrap { width: 116px; height: 206px; top: 30px; left: -8px; }
  .hero__orbit { width: 91%; top: 72px; }
  .hero .hero__pin--one { width: 30px; height: 38px; top: 355px; left: 0; }
  .hero .hero__pin--two { right: 12px; top: 0; width: 24px; height: 30px; }
  .hero__visual figcaption { bottom: 12px; left: 0; right: 0; font-size: 25px; }
  .cravings { padding-block: 18px; }
  .cravings__track > span, .cravings__unit { gap: 16px; padding-right: 32px; }
  .cravings__track svg { width: 24px; height: 30px; margin-left: 8px; }
  .story-section { padding-top: 88px; }
  .story-heading { margin-bottom: 32px; }
  .story-heading p { max-width: none; }
  .story-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .story-stage { position: relative; top: auto; height: 510px; border-radius: 24px; }
  .story-frame--source > img { width: 190px; height: 338px; top: 36px; left: calc(50% - 95px); }
  .story-frame--map > img { height: 382px; top: 24px; }
  .story-frame__source { left: 24px; top: 28px; width: 145px; height: 225px; }
  .story-frame__add { width: 80%; right: 20px; bottom: 100px; }
  .story-frame > p { font-size: 15px; bottom: 44px; left: 16px; right: 16px; }
  .story-steps li { min-height: 0; }
  .story-step { min-height: 105px; padding: 22px 0 22px 12px; grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 12px; }
  .story-step::before { top: 24px; bottom: 24px; }
  .story-step__title { font-size: 25px; }
  .story-step__copy { margin-top: 12px; font-size: 15px; }
  .js .story-step:not([aria-current="step"]) .story-step__copy { display: none; }
  .story-step__num { font-size: 12px; }
  .product-section { border-radius: 28px 28px 0 0; }
  .product-section .section-head { margin-bottom: 32px; }
  .app-explorer { margin-inline: -8px; padding: 20px 12px 4px; overflow: clip; border-radius: 24px; }
  .explorer-tabs { gap: 0; padding: 4px; width: 100%; justify-content: center; }
  .explorer-tabs button { padding: 10px 14px; font-size: 12px; flex: 1; }
  .screen-deck { height: 455px; }
  .screen-deck__card { top: 36px; height: 370px; border-radius: 18px; }
  .screen-deck__card[data-position="right"] { transform: translateX(0%) translateY(26px) rotate(13deg) scale(0.82); }
  .screen-deck__card:is([data-position="left"], [data-position="far"]) { transform: translateX(-105%) translateY(26px) rotate(-15deg) scale(0.82); }
  .screen-deck__ground { bottom: 0; height: 220px; }
  .explorer-panels { padding: 0 12px 24px; min-height: 290px; }
  .explorer-panels h3 { font-size: 32px; max-width: 16ch; }
  .explorer-panels p { font-size: 16px; margin-block: 20px; }
  .explorer-link { font-size: 14px; }
  .feature-notes { gap: 32px; }
}
@media (max-width: 380px) {
  .hero__actions { gap: 16px; }
  .hero__visual { height: 480px; }
  .hero__map-wrap { width: 192px; height: 390px; left: calc(50% - 96px); }
  .hero__video-wrap { width: 106px; height: 189px; top: 175px; right: -8px; }
  .hero__pastry-wrap { width: 101px; height: 180px; top: 40px; left: -6px; }
  .hero .hero__pin--one { top: 320px; }
  .hero__visual figcaption { font-size: 23px; }
  .story-stage { height: 480px; }
  .story-frame--source > img { width: 178px; height: 316px; left: calc(50% - 89px); }
  .story-frame--map > img { height: 355px; }
  .explorer-tabs button { padding-inline: 10px; }
  .screen-deck { height: 415px; }
  .screen-deck__card { height: 330px; }
  .explorer-panels { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__scene, .hero__map-wrap, .hero__video-wrap, .hero__pastry-wrap { translate: none; }
  .hero__scene { transform: none; }
  .cravings__track { transform: none; }
}
.story-mobile-copy { display: none; }
.cravings[data-offscreen] .cravings__track, .tab-inactive * { animation-play-state: paused !important; }
@media (max-width: 760px) {
  .story-layout { display: flex; flex-direction: column; }
  .story-stage { order: 3; width: 100%; height: 470px; }
  .story-steps { order: 1; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .story-steps li, .story-steps li:last-child { border: 0; border-bottom: 1px solid var(--color-rule); }
  .story-step { display: flex; align-items: center; justify-content: center; padding: 16px 2px; min-height: 56px; }
  .story-step::before { top: auto; bottom: -1px; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; }
  .story-step[aria-current="step"]::before { transform: scaleX(1); }
  .story-step__title { font-size: 15px; white-space: nowrap; letter-spacing: -0.04em; }
  .story-step__copy, .story-step__num, .story-step > svg { display: none !important; }
  .js .story-mobile-copy { display: block; order: 2; font-size: 15px; color: var(--color-muted); min-height: 4.5em; line-height: 1.5; }
  .story-frame--map > img { height: 350px; }
  html:not(.js) .story-steps { display: block; }
  html:not(.js) .story-step__copy { display: block !important; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: clamp(34px, 10.8vw, 40px); }
}

/* Keep the original mark intact; crop only the transparent padding in its PNG. */
.brand { gap: 10px; font-size: 32px; }
.brand__logo { display: block; position: relative; width: 36px; height: 48px; flex: 0 0 auto; overflow: clip; }
.brand__logo img { position: absolute; left: -32px; top: -26px; width: 100px; height: 100px; max-width: none; }
.brand__name { display: inline-block; line-height: 1.1; }
.wordmark__letter { display: inline-block; }
@media (max-width: 760px) {
  .brand { gap: 8px; font-size: 25px; }
  .brand__logo { width: 28px; height: 36px; }
  .brand__logo img { left: -24px; top: -20px; width: 76px; height: 76px; }
}
