/* V5 — readable type, warm colour and tactile coffee details. */
.desktop-nav { gap: 4px; font-size: 17px; }
.desktop-nav a { font-weight: 450; padding: 12px 15px; letter-spacing: -.025em; }
.mobile-nav a, .mobile-nav button { font-weight: 450; }
.takeaway-icon { width: 29px; height: 35px; flex: 0 0 29px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linejoin: round; stroke-linecap: round; overflow: visible; transition: transform .45s var(--ease); }
.button:hover .takeaway-icon, .button:focus-visible .takeaway-icon { transform: rotate(9deg) translateY(-3px); }
.cup-icon-steam { opacity: .6; stroke-dasharray: 7 2; }
.button:hover .cup-icon-steam { animation: cup-icon-breathe 1.8s ease-in-out infinite; }
@keyframes cup-icon-breathe { 50% { opacity: 1; transform: translateY(-2px); } }

/* The stream remains locked to the photographed spout and cup coordinates. */
.machine-stage { min-height: 720px; max-height: 900px; }
.machine-copy { margin-left: 60.5%; width: 39.5%; padding: 34px 38px 40px 0; }
.machine-copy h2 { font-size: clamp(48px, 4.5vw, 66px); }
.machine-copy .eyebrow { font-size: 10px; margin-bottom: 16px; }
.machine-copy .ritual-intro { font-size: 18px; line-height: 1.7; color: #ebd6c1; margin-top: 20px; }
.machine-copy .ritual-steps { gap: 20px; margin: 26px 0; }
.machine-copy .ritual-step { gap: 15px; opacity: .42; transition: opacity .5s, transform .6s var(--ease); }
.machine-copy .ritual-step.is-active { opacity: 1; transform: translateX(5px); }
.machine-copy .ritual-step h3 { font-size: 17px; line-height: 1.4; font-weight: 550; }
.machine-copy .ritual-step p { font-size: 14px; line-height: 1.65; color: #e0c4a7; margin-top: 5px; }
.machine-copy .step-number { width: 29px; height: 29px; border-radius: 10px; font-size: 11px; }
.machine-copy > .button { min-height: 58px; font-size: 16px; padding: 13px 23px; gap: 22px; border-radius: 18px; }
.machine-scroll-note { font-size: 11px; }
.espresso-glint { animation: rich-espresso-glint .72s linear infinite; opacity: .8; }
.espresso-crema { animation: crema-flow .86s linear infinite; }
.espresso-depth { animation: crema-flow 1.1s linear infinite; }
.crema-pool { opacity: .85; }
.crema-bubbles { animation: crema-simmer 1.6s ease-in-out infinite; transform-origin: 498px 574px; }
.coffee-ripple { stroke: #e8bb78; stroke-width: 1.5; }
@keyframes rich-espresso-glint { to { stroke-dashoffset: -38; } }
@keyframes crema-flow { to { stroke-dashoffset: -50; } }
@keyframes crema-simmer { 50% { opacity: .45; transform: scale(1.11, 1.04); } }

/* Two deliberately separate, stable thumbnail rails. */
.pair-section { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 44px; }
.pair-photo { align-self: stretch; height: 100%; min-height: 760px; }
.pair-photo img { object-position: 48% 50%; }
.pair-copy { min-width: 0; padding-block: 10px; }
.pair-copy > p { font-size: 18px; line-height: 1.8; max-width: 500px; }
.pair-copy .eyebrow { font-size: 11px; }
.pair-copy h2 { font-size: clamp(48px, 4.7vw, 66px); }
.pair-copy .button { font-size: 17px; min-height: 58px; padding: 14px 24px; margin-top: 26px; }
.pair-copy .duo-note { font-size: 13px; line-height: 1.7; margin-top: 16px; }
.photo-caption { font-size: 12px; line-height: 1.6; }

/* The passes are warm, tactile little collections of cups. */
.subscription-section { grid-template-columns: minmax(0, .78fr) minmax(0, 1.4fr); gap: 42px; background: #f7ede2; }
.subscription-copy > p { font-size: 17px; line-height: 1.85; color: #79604c; max-width: 430px; }
.subscription-copy .eyebrow { font-size: 11px; }
.subscription-perks { font-size: 15px; line-height: 1.7; gap: 14px; }
.subscription-perks b { width: 32px; height: 32px; border-radius: 12px; font-size: 11px; background: #ead2b3; }
.subscription-copy > .text-link { font-size: 15px; margin-top: 24px; }
.subscription-copy > .concept-note { font-size: 12px; line-height: 1.7; }
.subscription-plans { gap: 18px; min-width: 0; }
.subscription-plan { padding: 29px 25px 25px; border: 1px solid #f3cea0; border-radius: 29px; color: #502f20; background: radial-gradient(ellipse at 100% 4%, #fff9e4 0, transparent 60%), #f9dfb4; box-shadow: 0 18px 40px #80512410, inset 0 1px 0 #fff8; isolation: isolate; }
.subscription-plan > :not(.plan-halo) { position: relative; z-index: 1; }
.plan-dark { background: radial-gradient(ellipse at 100% 8%, #ffe3c6 0, transparent 63%), #f0b4a0; border-color: #eeb09b; color: #502b22; box-shadow: 0 18px 40px #9e4d2e14, inset 0 1px 0 #fff8; transform: translateY(20px); }
.plan-dark:hover { transform: translateY(12px); }
.plan-top { font-size: 11px; letter-spacing: .075em; display: grid; gap: 13px; font-weight: 550; }
.plan-saving, .plan-dark .plan-saving { background: #fff8e7b5; color: #774526; font-size: 13px; padding: 7px 11px; border-radius: 12px; font-weight: 500; box-shadow: inset 0 1px 0 #fff6; }
.plan-dark .plan-saving { background: #fff1e4bd; color: #873e2d; }
.plan-cups { gap: 15px; margin: 20px 0 12px; align-items: center; }
.plan-cups > b { font-size: 96px; line-height: 1.05; letter-spacing: -.07em; }
.plan-cups > span { font-size: 16px; line-height: 1.55; }
.plan-halo { position: absolute; right: -29px; top: 45px; width: 138px; height: 164px; transform: rotate(15deg); color: #b56e38; opacity: .12; pointer-events: none; }
.plan-halo .takeaway-icon { width: 100%; height: 100%; stroke-width: .65; }
.plan-stamps { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 7px 5px; margin: 17px 0 24px; min-height: 49px; align-content: center; }
.plan-stamps svg { width: 100%; max-width: 19px; height: 23px; fill: #a7653413; stroke: #9d5b31; stroke-width: 1.35; stroke-linejoin: round; transform-origin: center bottom; }
.plan-dark .plan-stamps svg { fill: #ae483512; stroke: #9e4f3b; }
.subscription-plan.is-visible .plan-stamps svg { animation: stamp-arrive .55s var(--ease) both; animation-delay: calc(var(--stamp-index) * 38ms + 200ms); }
.subscription-plan:hover .plan-halo .takeaway-icon { transform: translateY(-7px) rotate(-8deg); }
.plan-price { gap: 8px 12px; align-items: baseline; }
.plan-price > strong { font-size: 35px; font-weight: 550; letter-spacing: -.055em; }
.plan-price > s, .plan-dark .plan-price > s { font-size: 15px; color: #9b7054; }
.plan-price > span, .plan-dark .plan-price > span { display: block; width: 100%; color: #7b5138; font-size: 15px; margin-top: 3px; }
.plan-price > span b { font-weight: 600; }
.subscription-plan > p, .plan-dark > p { font-size: 12px; line-height: 1.7; margin-top: 19px; color: #805b42; }
.subscription-plan > .button, .plan-dark > .button { min-height: 57px; font-size: 15px; line-height: 1.4; padding: 13px 16px; border-radius: 17px; background: #44291d; color: #fff1df; margin-top: 21px; box-shadow: inset 0 1px 0 #ffffff1a; }
.subscription-plan > .button:hover { background: #69422c; }
.subscription-plan .button .takeaway-icon { width: 22px; height: 28px; flex-basis: 22px; }
.subscription-footnote { font-size: 12px; line-height: 1.8; color: #93765b; margin-top: 24px; }
@keyframes stamp-arrive { from { opacity: 0; transform: translateY(8px) rotate(-15deg) scale(.8); } to { opacity: 1; transform: none; } }

/* A physical card, a table and two coffees — the value is live HTML. */
.gift-section { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; background: #fbf0e2; }
.gift-heading > .eyebrow { font-size: 11px; }
.gift-heading > p { font-size: 18px; line-height: 1.8; max-width: 440px; margin: 25px 0; color: #806450; }
.gift-denominations { gap: 10px; margin: 0 0 26px; flex-wrap: wrap; }
.gift-denominations button { min-height: 51px; font-size: 17px; padding: 11px 19px; border-radius: 16px; color: #725039; border: 1px solid #dcc5a7; background: #fffbf3; transition: background .3s, border-color .3s, transform .35s var(--ease), box-shadow .3s; }
.gift-denominations button:hover { transform: translateY(-3px); border-color: #b97d50; }
.gift-denominations button.is-selected { background: #c36b48; border-color: #c36b48; color: #fff7ec; box-shadow: 0 6px 16px #ab5c2820; }
.gift-heading .button { min-height: 58px; font-size: 17px; padding: 14px 24px; gap: 20px; border-radius: 18px; }
.gift-heading .concept-note { font-size: 12px; line-height: 1.7; }
.gift-scene-v5 { display: block; width: 100%; min-height: 0; height: auto; aspect-ratio: 1.15; border-radius: 29px; overflow: hidden; isolation: isolate; box-shadow: 0 18px 40px #8b57221a; background: #b77b42; text-align: left; }
.gift-scene-v5 > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 60% 60%; transition: transform 1s var(--ease); }
.gift-scene-v5:hover > img { transform: scale(1.035); }
.gift-scene-v5::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, #41220718 0, transparent 22%, transparent 60%, #44210950 100%); }
.gift-scene-tag { position: absolute; z-index: 2; top: 21px; left: 21px; padding: 10px 15px; border: 1px solid #ffffff66; background: #fff5e3db; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 15px; font-size: 13px; color: #805030; display: flex; align-items: center; gap: 9px; }
.gift-scene-tag svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.gift-scene-value { position: absolute; z-index: 2; left: 23px; bottom: 23px; right: 23px; padding: 17px 20px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center; border: 1px solid #f8dbad80; background: #3c241ad9; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-radius: 20px; color: #fff1da; box-shadow: inset 0 1px 0 #ffffff17; }
.gift-scene-value > span:first-child { font-size: 12px; letter-spacing: .025em; opacity: .8; }
.gift-scene-value > b { grid-column: 1; font-size: 29px; font-weight: 500; letter-spacing: -.035em; }
.gift-scene-arrow { grid-column: 2; grid-row: 1 / 3; display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #d8ae784d; border-radius: 14px; }
.gift-scene-arrow .ui-arrow { width: 22px; height: 22px; }

/* Mood cards with recognisable little illustrations. */
.pause-heading .eyebrow { font-size: 11px; }
.pause-heading > p { font-size: 18px; line-height: 1.7; max-width: none; }
.pause-layout { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 43px; }
.pause-picture { min-height: 610px; border-radius: 28px; }
.pause-image-description { position: absolute; inset: 0; pointer-events: none; }
.pause-frame-label { font-size: 11px; padding: 10px 13px; border-radius: 12px; }
.pause-arrows .round-button { width: 46px; height: 46px; border-radius: 16px; }
.pause-moods { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.pause-moods button { min-width: 0; min-height: 86px; display: flex; align-items: center; gap: 10px; padding: 14px 13px; text-align: left; position: relative; border: 1px solid #e8d5bb; border-radius: 21px; background: #faf1e3; color: #77543a; font-size: 15px; line-height: 1.4; box-shadow: inset 0 1px 0 #fff9; transition: background .35s, transform .4s var(--ease), border-color .35s, box-shadow .35s; }
.pause-moods button:hover { transform: translateY(-3px); border-color: #c69b6a; background: #fff6e7; }
.pause-moods button[aria-selected=true] { background: #f3d4a8; color: #573723; border-color: #d6ab72; box-shadow: 0 7px 17px #ba824c11, inset 0 1px 0 #fff9; }
.mood-icon { width: 43px; height: 43px; flex: 0 0 43px; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
.mood-icon-wash { fill: #ecc58e4d; stroke: none; }
[data-mood="1"] .mood-icon { color: #ae5c47; }
[data-mood="1"] .mood-icon-wash { fill: #e6a69328; }
[data-mood="2"] .mood-icon { color: #7d6750; }
[data-mood="3"] .mood-icon { color: #a76331; }
.pause-moods button:hover .mood-icon, .pause-moods button:focus-visible .mood-icon { transform: rotate(-9deg) translateY(-2px); }
.mood-selected-dot { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #a26b39; bottom: 9px; right: 11px; opacity: 0; transform: scale(0); transition: opacity .3s, transform .5s var(--ease); }
.pause-moods button[aria-selected=true] .mood-selected-dot { opacity: 1; transform: scale(1); }
.pause-story { padding: 31px 0 27px; transition: opacity .2s, transform .4s var(--ease); }
.pause-section:has(.pause-picture.is-changing) .pause-story { opacity: .25; transform: translateY(7px); }
.pause-story > span { font-size: 11px; line-height: 1.7; letter-spacing: .1em; margin-bottom: 17px; }
.pause-story h3 { font-size: clamp(39px, 3.5vw, 49px); line-height: 1.12; }
.pause-story > p { font-size: 17px; line-height: 1.8; max-width: 420px; color: #80654e; }
.pause-story > .text-link { font-size: 16px; margin-top: 15px; min-height: 44px; }
.pause-map-link { font-size: 14px; line-height: 1.6; padding: 19px; background: #f0e1ca; border-radius: 21px; gap: 14px; }
.pause-map-link small { font-size: 12px; color: #977252; }
.concept-caption { font-size: 12px; }

/* Chocolate footer, larger links and a cup resting in the composition. */
.site-footer { background: radial-gradient(ellipse at 87% 12%, #814f2c38, transparent 51%), #301c14; }
.footer-feature { gap: 30px; position: relative; }
.footer-feature > div:first-child { min-width: 0; flex: 1; }
.footer-feature h2 { font-size: clamp(45px, 4.5vw, 68px); }
.footer-feature .eyebrow { font-size: 11px; }
.footer-coffee-art { width: 156px; height: 220px; flex: 0 0 156px; position: relative; align-self: flex-end; margin-right: -20px; }
.footer-coffee-art img { width: 166px; height: 208px; position: relative; z-index: 1; top: 10px; object-fit: contain; transform: rotate(-7deg); filter: drop-shadow(0 10px 9px #0d08067d); transition: transform .8s var(--ease); }
.footer-coffee-art::after { content: ''; width: 142px; height: 24px; position: absolute; bottom: 0; left: 5px; border-radius: 50%; background: #1b100b; box-shadow: 0 0 25px #150b0877; transform: rotate(-4deg); }
.footer-feature:hover .footer-coffee-art img { transform: rotate(-3deg); }
.footer-coffee-steam { position: absolute; z-index: 2; width: 24px; height: 70px; top: -31px; left: 69px; border-left: 2px solid #ffebc963; border-radius: 50%; filter: blur(3px); animation: footer-aroma 5s ease-in-out infinite; }
.footer-menu-button { width: 145px; height: 145px; background: #eac38b; box-shadow: inset 0 0 0 7px #f5d5a71f, 0 12px 25px #160d0a30; }
.footer-menu-button > span:first-child { font-size: 16px; font-weight: 500; }
.footer-columns { grid-template-columns: 1.1fr 1fr 1fr 1.15fr; gap: 31px; }
.footer-columns h3 { font-size: 15px; line-height: 1.55; margin-bottom: 22px; color: #edc89b; font-weight: 500; }
.footer-columns a:not(.brand-lockup), .footer-columns button { font-size: 15px; line-height: 1.65; color: #d5b693; margin: 13px 0; transition: color .25s, transform .35s var(--ease); }
.footer-columns a:not(.brand-lockup):hover, .footer-columns button:hover { color: #fff0d6; transform: translateX(3px); }
.footer-brand p { font-size: 14px; color: #c6a481; }
.footer-mini-beans { gap: 11px; margin-top: 24px; }
.footer-mini-beans span { width: 21px; height: 30px; box-shadow: inset -4px -3px 5px #50311b88, inset 3px 3px 5px #e4b87e25; }
.footer-mini-beans span::after { left: 10px; border-left-width: 2px; }
.footer-bottom { font-size: 12px; line-height: 1.7; color: #b4916e; }
.footer-bottom b { color: #dfb986; }
@keyframes footer-aroma { 50% { transform: translate(7px, -14px) scale(1.15); opacity: .4; } }

/* The launcher is a real little cup, not another generic app button. */
.chat-launcher.chat-cup-launcher { position: fixed; bottom: 18px; right: 24px; width: 228px; height: 122px; display: block; padding: 0; border-radius: 27px; background: none; color: #fff3de; box-shadow: none; transition: transform .5s var(--ease); isolation: isolate; }
.chat-launcher.chat-cup-launcher:hover { background: none; transform: translateY(-4px); }
.chat-cup-launcher .chat-cup-label { position: absolute; display: block; left: 0; bottom: 14px; padding: 14px 35px 14px 19px; border: 1px solid #9c674843; background: #3b2119; color: #fff0dc; border-radius: 23px 23px 9px 23px; box-shadow: 0 8px 25px #3a1e2328, inset 0 1px 0 #ffffff15; text-align: left; }
.chat-cup-label strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.5; white-space: nowrap; }
.chat-cup-label small { display: block; font-size: 12px; color: #dfb78d; margin-top: 2px; }
.chat-cup-launcher .chat-cup-picture { display: block; position: absolute; right: 0; bottom: 0; width: 91px; height: 114px; }
.chat-cup-picture img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 5px #351e1a45); transform: rotate(7deg); transition: transform .6s var(--ease); }
.chat-cup-launcher:hover .chat-cup-picture img { transform: rotate(-4deg) translateY(-2px); }
.chat-cup-launcher .chat-cup-steam { display: block; position: absolute; width: 40px; height: 37px; top: -23px; left: 28px; pointer-events: none; }
.chat-cup-steam i { position: absolute; display: block; left: 6px; bottom: 0; width: 11px; height: 30px; border-left: 2px solid #fff7e8; border-radius: 50%; filter: blur(1px) drop-shadow(0 0 2px #7b543350); animation: chat-cup-aroma 3s ease-in-out infinite; opacity: 0; }
.chat-cup-steam i:nth-child(2) { left: 16px; animation-delay: 1s; }
.chat-cup-steam i:nth-child(3) { left: 27px; animation-delay: 2s; }
.chat-cup-launcher[aria-expanded=true] .chat-cup-label { background: #62422c; }
@keyframes chat-cup-aroma { 15% { opacity: .75; } 80%, 100% { transform: translate(7px, -15px) scale(1.2); opacity: 0; } }
.coffee-chat { bottom: 151px; right: 24px; width: 432px; max-height: min(720px, calc(100svh - 180px)); border-radius: 31px; border: 1px solid #e7cfb2; background: #fff8ec; }
.coffee-chat > header { background: #edd7b9; padding: 22px; }
.chat-avatar { width: 47px; height: 52px; border-radius: 0; background: none; box-shadow: none; }
.chat-avatar img { width: 44px; height: 55px; object-fit: contain; filter: drop-shadow(0 3px 2px #7e593526); }
.coffee-chat header h2 { font-size: 16px; font-weight: 550; }
.coffee-chat header p { font-size: 12px; color: #876341; }
.coffee-chat #chat-close { width: 42px; height: 42px; border-radius: 15px; background: #dfc4a1; }
.chat-messages { padding: 22px 20px; gap: 16px; max-height: 360px; min-height: 140px; }
.chat-message { background: #3b2219; color: #fff2df; font-size: 15px; line-height: 1.75; padding: 18px 20px; border-radius: 24px 24px 24px 7px; box-shadow: 0 6px 15px #38201516, inset 0 1px 0 #ffffff0e; }
.chat-message.user { background: #e8c198; color: #4a2b1b; border-radius: 24px 24px 7px 24px; }
.chat-message button { font-size: 13px; min-height: 42px; border-radius: 13px; background: #c99862; color: #2f1a12; padding: 10px 14px; }
.chat-suggestions { gap: 7px; padding-bottom: 16px; }
.chat-suggestions button { font-size: 12px; min-height: 39px; padding: 9px 11px; border-radius: 13px; color: #785137; background: #f2dfc4; border-color: #e6c9a2; }
.coffee-chat input { font-size: 15px; min-height: 48px; border-color: #dec09a; }
.coffee-chat form button { width: 48px; height: 48px; background: #3b2219; border-radius: 16px; }
.chat-note { font-size: 11px; color: #947457; line-height: 1.6; }

@media (max-width: 1150px) {
  .desktop-nav { display: none; }
  .mobile-only { display: flex; }
  .machine-copy { margin-left: 56%; width: 44%; padding-right: 28px; }
  .machine-copy h2 { font-size: 52px; }
  .machine-copy .ritual-intro { font-size: 17px; }
  .machine-copy .ritual-step h3 { font-size: 16px; }
  .machine-copy .ritual-step p { font-size: 13px; }
  .pair-section { gap: 30px; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); }
  .subscription-section { grid-template-columns: 1fr; gap: 35px; }
  .subscription-copy > p { max-width: 640px; }
  .subscription-perks { display: flex; flex-wrap: wrap; gap: 12px 24px; }
  .subscription-plans { gap: 24px; }
  .subscription-plan { padding: 30px; }
  .plan-dark { transform: none; }
  .plan-dark:hover { transform: translateY(-7px); }
  .plan-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .plan-cups > b { font-size: 100px; }
  .plan-stamps { max-width: 280px; }
  .gift-section { gap: 30px; }
  .gift-heading h2 { font-size: 47px; }
  .gift-heading > p { font-size: 16px; }
  .gift-denominations button { font-size: 16px; padding: 10px 15px; }
  .pause-layout { gap: 28px; }
  .pause-moods button { gap: 7px; padding: 12px 10px; font-size: 14px; }
  .mood-icon { width: 37px; height: 37px; flex-basis: 37px; }
  .pause-story h3 { font-size: 39px; }
  .pause-story > p { font-size: 16px; }
  .footer-columns { grid-template-columns: 1fr 1fr; gap: 35px 50px; }
  .footer-coffee-art { width: 130px; flex-basis: 130px; height: 180px; }
  .footer-coffee-art img { width: 137px; height: 171px; }
  .footer-coffee-art::after { width: 112px; }
}

@media (max-width: 850px) {
  .pair-section { grid-template-columns: 1fr; gap: 30px; }
  .pair-photo { height: 410px; min-height: 0; }
  .pair-copy { padding: 5px 8px 12px; }
  .pair-copy > p { max-width: 640px; }
  .pause-layout { grid-template-columns: 1fr; }
  .pause-picture { min-height: 0; aspect-ratio: 1.35; }
  .pause-moods { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pause-moods button { flex-direction: column; text-align: center; padding: 14px 9px; }
  .pause-story { padding-top: 29px; }
  .pause-story > p { max-width: 580px; }
  .footer-coffee-art { display: none; }
}

@media (max-width: 650px) {
  .machine-section { height: 180svh; min-height: 1300px; }
  .machine-stage { top: 95px; height: calc(100svh - 112px); min-height: 720px; max-height: 820px; }
  .machine-scene { height: 43%; }
  .machine-vignette { background: linear-gradient(180deg, transparent 18%, #24120c00 26%, #24120ce6 35%, #24120c 41%); }
  .machine-copy { margin: 0; width: 100%; top: 34.5%; left: 0; bottom: 0; height: auto; padding: 0 25px 49px; }
  .machine-copy .eyebrow { font-size: 9px; line-height: 1.7; margin-bottom: 13px; }
  .machine-copy h2 { font-size: 43px; line-height: 1.08; }
  .machine-copy .ritual-intro { font-size: 16px; line-height: 1.7; margin-top: 17px; max-width: 320px; }
  .machine-copy .ritual-steps { margin: 21px 0 16px; height: 82px; }
  .machine-copy .ritual-step { gap: 12px; opacity: 0; }
  .machine-copy .ritual-step.is-active { transform: none; }
  .machine-copy .ritual-step h3 { font-size: 16px; }
  .machine-copy .ritual-step p { font-size: 13px; line-height: 1.65; max-width: 280px; }
  .machine-copy .step-number { width: 27px; height: 27px; font-size: 10px; }
  .machine-copy > .button { font-size: 15px; min-height: 53px; padding: 11px 18px; gap: 18px; border-radius: 17px; }
  .machine-copy .takeaway-icon { width: 25px; height: 30px; flex-basis: 25px; }
  .machine-scroll-note { font-size: 9px; left: 25px; bottom: 14px; }
  .pair-section { padding: 15px; gap: 28px; }
  .pair-photo { height: 310px; border-radius: 21px; }
  .photo-caption { font-size: 11px; padding: 11px 12px; }
  .pair-copy { padding: 0 10px 12px; }
  .pair-copy .eyebrow { font-size: 9px; line-height: 1.8; }
  .pair-copy h2 { font-size: 45px; }
  .pair-copy > p { font-size: 16px; margin-top: 20px; }
  .pair-copy .button { width: 100%; font-size: 16px; min-height: 56px; padding: 12px 17px; justify-content: space-between; gap: 10px; }
  .pair-copy .button .takeaway-icon { width: 23px; height: 29px; flex-basis: 23px; }
  .pair-copy .duo-note { font-size: 12px; line-height: 1.7; }
  .subscription-section { gap: 30px; }
  .subscription-copy > .eyebrow { font-size: 10px; }
  .subscription-copy > p { font-size: 16px; margin-top: 21px; }
  .subscription-perks { display: grid; font-size: 14px; gap: 12px; }
  .subscription-copy > .text-link { font-size: 15px; margin-top: 20px; }
  .subscription-copy > .concept-note { font-size: 11px; margin-top: 6px; }
  .subscription-plans { grid-template-columns: 1fr; gap: 20px; }
  .subscription-plan { padding: 26px 23px 23px; border-radius: 25px; }
  .plan-top { font-size: 10px; gap: 12px; }
  .plan-saving, .plan-dark .plan-saving { font-size: 12px; }
  .plan-cups { gap: 20px; margin: 21px 0 10px; }
  .plan-cups > b { font-size: 91px; }
  .plan-cups > span { font-size: 16px; }
  .plan-stamps { margin: 18px 0 23px; min-height: 48px; }
  .plan-price > strong { font-size: 35px; }
  .plan-price > s, .plan-dark .plan-price > s { font-size: 15px; }
  .plan-price > span, .plan-dark .plan-price > span { width: 100%; margin-left: 0; font-size: 15px; }
  .subscription-plan > p, .plan-dark > p { font-size: 12px; margin-top: 18px; }
  .subscription-plan > .button, .plan-dark > .button { font-size: 15px; min-height: 56px; }
  .subscription-footnote { font-size: 11px; line-height: 1.8; margin-top: 0; }
  .gift-section { grid-template-columns: 1fr; gap: 29px; }
  .gift-heading > .eyebrow { font-size: 9px; }
  .gift-heading h2 { font-size: 43px; }
  .gift-heading > p { font-size: 16px; line-height: 1.8; margin: 22px 0; }
  .gift-denominations { gap: 8px; }
  .gift-denominations button { font-size: 16px; min-height: 48px; padding: 10px 16px; border-radius: 14px; }
  .gift-heading .button { font-size: 16px; min-height: 54px; padding: 12px 22px; }
  .gift-heading .concept-note { font-size: 11px; }
  .gift-scene-v5 { width: 100%; aspect-ratio: auto; border-radius: 23px; }
  .gift-scene-v5 > img { height: auto; aspect-ratio: 3 / 2; object-position: center; }
  .gift-scene-v5::after { display: none; }
  .gift-scene-tag { font-size: 11px; top: 14px; left: 14px; padding: 9px 11px; border-radius: 13px; }
  .gift-scene-value { position: relative; inset: auto; padding: 14px 17px; border: 0; border-radius: 0; background: #43291c; }
  .gift-scene-value > span:first-child { font-size: 10px; }
  .gift-scene-value > b { font-size: 27px; }
  .pause-heading .eyebrow { font-size: 9px; }
  .pause-heading > p { font-size: 16px; line-height: 1.8; margin-top: 20px; }
  .pause-layout { gap: 24px; }
  .pause-picture { aspect-ratio: 1.1; border-radius: 22px; }
  .pause-frame-label { font-size: 9px; padding: 9px 11px; }
  .pause-arrows .round-button { width: 44px; height: 44px; border-radius: 15px; }
  .pause-moods { grid-template-columns: 1fr 1fr; gap: 9px; }
  .pause-moods button { gap: 9px; flex-direction: column; min-height: 113px; border-radius: 19px; padding: 13px 8px; font-size: 14px; line-height: 1.4; }
  .mood-icon { width: 42px; height: 42px; flex-basis: 42px; }
  .pause-story { padding: 28px 0 24px; }
  .pause-story > span { font-size: 10px; line-height: 1.8; margin-bottom: 16px; }
  .pause-story h3 { font-size: 39px; }
  .pause-story > p { font-size: 16px; line-height: 1.8; margin-top: 19px; }
  .pause-story > .text-link { font-size: 15px; }
  .pause-map-link { font-size: 13px; padding: 17px 14px; border-radius: 18px; }
  .pause-map-link small { font-size: 11px; line-height: 1.6; }
  .concept-caption { font-size: 11px; line-height: 1.7; }
  .site-footer { padding-left: 25px; padding-right: 25px; }
  .footer-feature { flex-wrap: wrap; align-items: center; gap: 22px; }
  .footer-feature > div:first-child { flex: 0 0 100%; }
  .footer-feature .eyebrow { font-size: 9px; max-width: none; }
  .footer-feature h2 { font-size: 43px; }
  .footer-coffee-art { display: block; width: 121px; flex: 0 0 121px; height: 159px; margin: 4px 0 -6px 7px; }
  .footer-coffee-art img { width: 122px; height: 153px; }
  .footer-coffee-art::after { width: 105px; height: 18px; }
  .footer-coffee-steam { left: 48px; height: 45px; top: -15px; }
  .footer-menu-button { margin-left: auto; width: 112px; height: 112px; margin-right: 2px; }
  .footer-menu-button > span:first-child { font-size: 13px; line-height: 1.5; }
  .footer-menu-button .ui-arrow { width: 23px; height: 23px; }
  .footer-columns { grid-template-columns: 1fr; gap: 27px; padding-top: 32px; }
  .footer-brand { display: flex; flex-wrap: wrap; gap: 20px; grid-column: auto; }
  .footer-brand p { font-size: 13px; line-height: 1.8; }
  .footer-brand .coffee-logo { width: 146px; height: 50px; }
  .footer-mini-beans { display: none; }
  .footer-columns h3 { font-size: 15px; margin-bottom: 16px; }
  .footer-columns a:not(.brand-lockup), .footer-columns button { font-size: 15px; line-height: 1.7; margin: 11px 0; }
  .footer-columns > div:last-child { display: block; grid-column: auto; }
  .footer-bottom { font-size: 11px; line-height: 1.8; gap: 12px; }
  .footer-bottom > span:nth-child(2) { font-size: 11px; }
  .chat-launcher.chat-cup-launcher { width: 83px; height: 120px; right: 9px; bottom: 10px; border-radius: 24px; }
  .chat-cup-launcher .chat-cup-picture { width: 79px; height: 99px; bottom: 19px; right: 2px; }
  .chat-cup-launcher .chat-cup-label { display: block; left: 0; bottom: 0; width: 83px; padding: 7px 10px; border-radius: 13px; text-align: center; z-index: 2; }
  .chat-cup-label strong, .chat-cup-label small { display: none; }
  .chat-cup-label::after { content: 'Чат'; display: block; font-size: 12px; line-height: 1.4; }
  .chat-cup-launcher .chat-cup-steam { height: 30px; width: 36px; top: -15px; left: 20px; }
  .chat-cup-steam i { height: 22px; }
  .coffee-chat { right: 12px; left: 12px; bottom: 143px; width: auto; max-height: calc(100svh - 163px); border-radius: 28px; }
  .coffee-chat > header { padding: 17px 16px; gap: 9px; }
  .coffee-chat header h2 { font-size: 14px; }
  .coffee-chat header p { font-size: 11px; }
  .chat-avatar { width: 39px; height: 46px; }
  .chat-avatar img { width: 37px; height: 46px; }
  .coffee-chat #chat-close { width: 40px; height: 40px; }
  .chat-messages { padding: 17px 15px; min-height: 110px; max-height: 36svh; }
  .chat-message { font-size: 14px; line-height: 1.75; padding: 16px 17px; border-radius: 22px 22px 22px 6px; }
  .chat-message.user { border-radius: 22px 22px 6px 22px; }
  .chat-message button { font-size: 12px; min-height: 42px; }
  .chat-suggestions { padding: 0 14px 13px; gap: 6px; }
  .chat-suggestions button { font-size: 11px; min-height: 36px; padding: 8px 10px; }
  .coffee-chat form { padding: 0 14px; }
  .coffee-chat input { font-size: 16px; padding: 11px 12px; }
  .chat-note { font-size: 10px; padding: 11px 14px 14px; }
  .toast { bottom: 149px; }
}

@media (max-width: 380px) {
  #jazz-player.jazz-v5 .jazz-volume { max-width: calc(100vw - 40px); }
  .machine-copy { padding-left: 21px; padding-right: 21px; }
  .machine-copy h2 { font-size: 40px; }
  .machine-copy .ritual-intro { font-size: 15px; }
  .machine-copy .ritual-step h3 { font-size: 15px; }
  .machine-copy .ritual-step p { font-size: 12px; }
  .machine-copy > .button { font-size: 14px; gap: 14px; }
  .pair-copy .button { font-size: 14px; }
  .plan-top { display: grid; }
  .plan-cups { gap: 14px; }
  .plan-cups > b { font-size: 83px; }
  .plan-cups > span { font-size: 15px; }
  .subscription-plan { padding-left: 20px; padding-right: 20px; }
  .gift-denominations { gap: 6px; }
  .gift-denominations button { font-size: 14px; padding: 10px 14px; }
  .chat-launcher.chat-cup-launcher { width: 72px; height: 110px; right: 7px; }
  .chat-cup-launcher .chat-cup-picture { width: 70px; height: 88px; right: 1px; bottom: 20px; }
  .chat-cup-launcher .chat-cup-label { width: 72px; }
  .chat-cup-launcher .chat-cup-steam { left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .espresso-glint, .espresso-crema, .espresso-depth, .crema-bubbles, .plan-stamps svg, .chat-cup-steam i, .footer-coffee-steam { animation: none !important; }
  .machine-section { height: auto; min-height: 0; }
  .machine-stage { position: relative; top: auto; min-height: 760px; height: 760px; }
  .machine-copy .ritual-step { opacity: 1; transform: none; }
  .plan-dark, .plan-dark:hover { transform: none; }
  .subscription-plan .plan-stamps svg { opacity: 1; transform: none; }
  .gift-scene-v5 > img, .mood-icon, .chat-cup-picture img { transition: none; }
  .chat-cup-steam { display: none !important; }
}
@media (max-width: 650px) and (prefers-reduced-motion: reduce) {
  .machine-stage { min-height: 1040px; height: 1040px; }
  .machine-scene { height: 36%; }
  .machine-copy { top: 34%; }
  .machine-vignette { background: linear-gradient(180deg, transparent 20%, #24120c00 25%, #24120ce6 34%, #24120c 39%); }
  .machine-copy .ritual-steps { height: auto; display: grid; gap: 15px; margin: 23px 0; }
  .machine-copy .ritual-step { position: relative; inset: auto; opacity: 1; }
}
