/* ==========================================================================
   Orsa Coffee — demo website by RMflow
   Structure, type scale, spacing and motion follow the Framer "Ferea" cafe
   template (copied 1:1). Only the immersive intro (section 1) is new.
   ========================================================================== */

/* 0. Tokens ---------------------------------------------------------------- */
:root {
  --cream: #F3EFEA;
  --brown: #7E4124;
  --caramel: #AC6D36;
  --sand: #E7DFD3;
  --tan: #DD9F57;
  --card-brown: #86472A;
  --f-head: 'Fira Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --f-body: 'Akshar', 'Arial Narrow', sans-serif;
  --pad: 30px;
  --maxw: 1344px;
  --r-xl: 64px;
  --r-lg: 32px;
  --ease: cubic-bezier(.22, .8, .2, 1);
}

/* 1. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--cream); color: var(--brown); font-family: var(--f-body); font-size: 20px; line-height: 24px; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6, p, ul, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; }
.sec { padding-left: var(--pad); padding-right: var(--pad); }
.col { display: flex; flex-direction: column; align-items: center; gap: 80px; }

/* Type scale (measured on the template at 1440px) */
.h2, .hero-h1, .h3, .h4, .h5, .h4-big, .hero-tag h2 { font-family: var(--f-head); font-weight: 900; text-transform: uppercase; }
.h2 { font-size: 120px; line-height: .9; color: var(--brown); }
.h2.on-dark { color: var(--cream); }
.h2.on-brown { font-size: 72px; line-height: .9; }
.h3 { font-size: 72px; line-height: .9; }
.h4 { font-size: 48px; line-height: .9; }
.h4-big { font-size: 64px; line-height: .9; color: var(--cream); text-align: center; }
.h5 { font-size: 48px; line-height: .9; }
h6 { font-family: var(--f-body); font-size: 24px; font-weight: 700; letter-spacing: -1.2px; line-height: .8; text-transform: uppercase; }

/* Tags (small rotated pills) */
.tag { display: inline-block; font-family: var(--f-body); font-weight: 700; font-size: 24px; letter-spacing: -1.2px; line-height: 1; text-transform: uppercase; padding: 12px 16px; border-radius: 100px; transform: rotate(var(--rot, 0deg)); }
.tag-light { background: var(--cream); color: var(--brown); }
.tag-dark { background: var(--brown); color: var(--sand); }
.tag-brown { background: var(--brown); color: var(--cream); }

/* 2. Buttons (with the template's text-roll hover) ------------------------ */
.btn { display: inline-flex; align-items: center; gap: 24px; padding: 8px 8px 5px 24px; border-radius: 100px; font-family: var(--f-body); font-weight: 700; font-size: 24px; letter-spacing: -1.2px; text-transform: uppercase; line-height: 19.2px; position: relative; overflow: hidden; white-space: nowrap; }
.btn-txt { position: relative; display: block; height: 19.2px; overflow: hidden; }
.btn-txt b { display: block; font-weight: 700; transition: transform .4s var(--ease); }
.btn-txt::after { content: attr(data-t); position: absolute; left: 0; top: 100%; transition: transform .4s var(--ease); }
.btn:hover .btn-txt b, .btn:hover .btn-txt::after { transform: translateY(-100%); }
.btn-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; margin-top: -3px; transition: transform .4s var(--ease); }
.btn:hover .btn-ic { transform: rotate(-12deg) scale(1.06); }
.btn-outline { border: 1.5px solid var(--brown); color: var(--brown); }
.btn-outline .btn-ic { background: var(--caramel); color: var(--cream); }
.btn-solid { background: var(--caramel); color: var(--cream); }
.btn-solid .btn-ic { background: var(--cream); color: var(--caramel); }
.btn-cream { background: var(--cream); color: var(--brown); }
.btn-cream .btn-ic { background: var(--caramel); color: var(--cream); }

/* 2b. Preloader — spinning bean on caramel until the film is ready */
.preloader { position: fixed; inset: 0; z-index: 100; background: var(--caramel); display: grid; place-content: center; justify-items: center; gap: 16px; transition: opacity .7s var(--ease), visibility .7s; }
.preloader svg { animation: preloader-spin 1.2s cubic-bezier(.65, 0, .35, 1) infinite; transition: transform .7s var(--ease); }
.preloader span { font-family: var(--f-body); font-weight: 700; font-size: 22px; letter-spacing: .18em; color: var(--cream); padding-left: .18em; }
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader.is-done svg { transform: scale(.8); }
@keyframes preloader-spin { to { rotate: 360deg; } }
html:has(.preloader:not(.is-done)) { overflow: hidden; }

/* 3. INTRO — immersive scroll film ---------------------------------------- */
.intro { position: relative; height: 900vh; background: #efd9ae; }
.intro-stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; }
.intro-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #efd9ae; }
.intro-vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 45%, rgba(126,65,36,0) 55%, rgba(126,65,36,.28) 100%); }
.intro-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 28px 48px; color: var(--brown); font-family: var(--f-body); font-weight: 700; letter-spacing: -1.2px; font-size: 24px; z-index: 3; }
.intro-brand { display: inline-flex; align-items: center; gap: 9px; }
.intro-brand svg { width: 31px; height: 27px; }
.intro-right { display: inline-flex; align-items: center; gap: 22px; }
.intro-skip { background: rgba(243,239,234,.72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 18px; letter-spacing: .08em; text-transform: uppercase; border: 1.5px solid var(--brown); border-radius: 100px; padding: 8px 16px 6px; transition: background .3s, color .3s; }
.intro-skip:hover { background: var(--brown); color: var(--cream); }
.intro-count { font-size: 20px; letter-spacing: 0; font-weight: 600; opacity: .75; }
.intro-chapters { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; pointer-events: none; }
.intro-line { grid-area: 1 / 1; font-family: var(--f-head); font-weight: 900; text-transform: uppercase; font-size: clamp(56px, 9.6vw, 170px); line-height: .9; text-align: center; color: var(--brown); text-shadow: 0 2px 30px rgba(243,239,234,.45); opacity: 0; will-change: opacity, transform; }
.intro-welcome small { display: block; font-family: var(--f-body); font-weight: 700; font-size: clamp(15px, 1.6vw, 22px); letter-spacing: .22em; line-height: 1; text-transform: uppercase; margin-bottom: 18px; }
.intro-line.is-light { color: var(--cream); text-shadow: 0 2px 40px rgba(126,65,36,.45); }
 .intro-hint { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px; font-family: var(--f-body); font-weight: 700; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; color: var(--brown); transition: opacity .5s; animation: hintPulse 2.4s ease-in-out infinite; }
.mouse { display: block; position: relative; width: 26px; height: 42px; border: 2px solid var(--brown); border-radius: 16px; }
.mouse i { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--brown); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@keyframes hintPulse { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
.intro-progress { position: absolute; right: 30px; top: 50%; transform: translateY(-50%); z-index: 3; height: 42vh; display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--brown); font-family: var(--f-body); font-weight: 700; }
.ip-pct { font-size: 20px; letter-spacing: -.5px; min-width: 44px; text-align: center; }
.ip-track { position: relative; flex: 1; width: 4px; border-radius: 4px; background: rgba(126,65,36,.22); }
.ip-fill { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 4px; background: var(--brown); transform-origin: top; transform: scaleY(0); }
.ip-dot { position: absolute; left: 50%; top: var(--p, 0%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--cream); border: 3px solid var(--brown); }
.ip-lab { writing-mode: vertical-rl; font-size: 15px; letter-spacing: .14em; text-transform: uppercase; }
.intro-bloom { position: absolute; inset: 0; background: radial-gradient(90% 90% at 50% 50%, #fff8e8, #f6e3bd); opacity: 0; z-index: 1; pointer-events: none; }
.intro-fade { position: absolute; inset: 0; background: var(--cream); opacity: 0; z-index: 4; pointer-events: none; }

/* 4. Header / nav ---------------------------------------------------------- */
.site-header { padding: 12px var(--pad); background: var(--cream); position: relative; z-index: 6; }
.nav { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; height: 75px; border-bottom: 1px dotted rgba(126,65,36,.7); }
.nav-links { display: flex; gap: 24px; align-items: center; flex: 1; }
.nav-links a { font-family: var(--f-body); font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--brown); display: inline-flex; align-items: center; gap: 12px; }
.nav-links a:hover, .has-dd:hover { color: var(--caramel); }
.has-dd { font-family: var(--f-body); font-weight: 600; font-size: 20px; text-transform: uppercase; color: var(--brown); display: inline-flex; align-items: center; gap: 12px; }
.dd { position: relative; }
.dd-menu { position: absolute; top: 100%; left: -16px; margin-top: 10px; min-width: 200px; background: var(--sand); border-radius: 22px; padding: 12px; display: flex; flex-direction: column; gap: 2px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; z-index: 9; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a { padding: 8px 12px; border-radius: 12px; }
.dd-menu a:hover { background: var(--cream); }
.logo { display: inline-flex; align-items: center; gap: 9.2px; color: var(--brown); position: absolute; left: 50%; transform: translateX(-50%); }
.logo svg { color: var(--caramel); }
.logo span { font-family: var(--f-body); font-weight: 700; font-size: 24px; letter-spacing: -1.2px; line-height: .8; }
.nav .btn { flex: 0 0 auto; }
.nav { position: relative; }

/* 5. Hero (normal, after the film) ---------------------------------------- */
.hero { position: relative; padding: 80px var(--pad) 120px; overflow: hidden; background: var(--cream); }
.grain { position: absolute; inset: 0; opacity: .7; z-index: 1; pointer-events: none; background: url('/assets/img/grain.webp') center / cover; mix-blend-mode: multiply; }
/* hero art = the template's own splash + cup (logo changed to ORSA) */
.hero-splash { position: absolute; z-index: 1; top: 178px; right: -262px; width: min(1250px, 92vw); max-width: none; }
.hero-inner { position: relative; z-index: 2; min-height: 760px; }
.hero-title { position: relative; width: 100%; max-width: 694px; height: 289px; }
.hero-h1 { font-size: 200px; line-height: 180px; color: var(--brown); white-space: nowrap; letter-spacing: 0; }
.hero-tag { position: absolute; left: 0; bottom: 0; z-index: 2; background: var(--caramel); padding: 12px; transform: rotate(-3deg); transform-origin: left bottom; }
.hero-tag h2 { font-size: 120px; line-height: 108px; color: var(--cream); }
.sticker { position: absolute; z-index: 3; filter: drop-shadow(0 4px 8px rgba(0,0,0,.18)); }
.sticker-mood { width: 129px; height: 118px; left: 0; top: -105px; transform: rotate(4deg); }
.sticker-cup { width: 127px; height: 79px; left: 491px; bottom: 65px; transform: rotate(5deg); }
.hero-copy { position: relative; z-index: 3; margin-top: 80px; max-width: 364px; display: flex; flex-direction: column; gap: 48px; align-items: flex-start; }
.hc-text { display: flex; flex-direction: column; gap: 12px; }
.hero-copy p { font-size: 20px; line-height: 24px; }
.hero-cup { position: absolute; z-index: 3; width: 376px; right: 70px; bottom: -161px; filter: drop-shadow(0 30px 40px rgba(90,40,20,.28)); }
/* depth: every .depth layer moves with the pointer (JS sets --dx/--dy), .float bobs on its own */
.depth { transform: translate3d(var(--dx, 0px), calc(var(--dy, 0px) + var(--py, 0px)), 0) rotate(var(--rz, 0deg)); will-change: transform; }
.float { animation: floaty var(--fd, 7s) ease-in-out infinite; animation-delay: var(--fdl, 0s); }
@keyframes floaty { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -16px; rotate: 3deg; } }
.hero-bean { position: absolute; z-index: 3; height: auto; filter: drop-shadow(0 18px 20px rgba(60,25,10,.3)); }
.hb1 { width: 120px; left: 47%; bottom: 40px; --rz: -8deg; --fd: 6s; }
.hb2 { width: 86px; left: 61%; bottom: -30px; opacity: .8; --rz: 14deg; --fd: 8s; --fdl: -2s; }
.fb { position: absolute; z-index: 3; height: auto; filter: drop-shadow(0 16px 18px rgba(60,25,10,.3)); }
.fb.soft, .hb2.soft { opacity: .75; }

/* 6. About ----------------------------------------------------------------- */
.about { padding-top: 0; padding-bottom: 0; }
.about-box { position: relative; background: var(--caramel); border-radius: var(--r-xl); padding: 160px 0; display: flex; flex-direction: column; align-items: center; gap: 46px; overflow: hidden; }
.sec-title { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.sec-title.center { align-items: center; text-align: center; }
.sec-title.narrow { max-width: 620px; }
.about-box .sec-title { max-width: 918px; position: relative; z-index: 2; }
/* About beans: same 6 cut-outs and positions as the template, floating + scroll parallax */
.ab-bean { position: absolute; z-index: 1; height: auto; transform: translate3d(0, var(--py, 0px), 0); filter: drop-shadow(0 16px 18px rgba(60,25,10,.3)); will-change: transform; }
.ab-bean.soft { opacity: .7; }
.ab1 { width: 104px; top: 13px; left: 3.9%; --fd: 6.5s; }
.ab2 { width: 122px; top: 179px; left: 83.3%; --fd: 8s; --fdl: -1s; }
.ab3 { width: 154px; top: 465px; left: 0; --fd: 7s; --fdl: -3s; }
.ab4 { width: 181px; bottom: 10px; right: 11px; --fd: 9s; --fdl: -2s; }
.ab5 { width: 121px; top: 261px; left: 16%; --fd: 7.5s; --fdl: -4s; }
.ab6 { width: 121px; top: 18px; right: 0; --fd: 8.5s; --fdl: -5s; }
/* glass: milky iced coffee + a dark twin at 30% for depth (template does the same) */
.ab-glass { position: relative; z-index: 2; width: 38%; max-width: 520px; aspect-ratio: .7472; }
.ab-glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ab-glass .glass-main { filter: drop-shadow(0 40px 50px rgba(60,25,10,.35)); }
.ab-glass .glass-ghost { opacity: .3; z-index: 1; }
.ab-text { position: relative; z-index: 2; max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 40px; text-align: center; margin-top: 8px; }
.ab-text p { font-size: 24px; line-height: 28px; font-weight: 700; color: var(--cream); }
.ring { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.ring > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.ring text { font-family: var(--f-body); font-weight: 700; font-size: 16px; letter-spacing: .5px; fill: var(--cream); }
.ring-arrow { position: relative; transition: transform .4s var(--ease); }
.ring:hover .ring-arrow { transform: translateY(6px); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 7. Menu ------------------------------------------------------------------ */
.menu { padding-top: 160px; padding-bottom: 120px; }
.menu-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 80px; }
.menu-head-l { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; max-width: 460px; }
/* menu slider: pure transform (no native scroll area => wheel/trackpad always scrolls the page) */
.menu-viewport { overflow: hidden; margin-right: calc((100vw - 100%) / -2); }
.menu-track { display: flex; will-change: transform; transition: transform .9s var(--ease); cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.menu-track.drag { transition: none; cursor: grabbing; }
.menu-track img { -webkit-user-drag: none; user-drag: none; pointer-events: none; }
.menu-card { flex: 0 0 677px; display: flex; }
.menu-card > * { }
.menu-card { position: relative; padding-right: 236px; }
.menu-card::after { content: ""; position: absolute; top: 0; bottom: 0; right: 236px; width: 1px; background: rgba(126,65,36,.55); }
.menu-card > .mc-inner { display: contents; }
.menu-card { flex-direction: column; height: 530px; }
.menu-card .mc-top, .menu-card .mc-img, .menu-card .mc-price { width: 440px; }
.mc-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.mc-top .h5 { flex: 1; }
.mc-order { font-family: var(--f-body); font-weight: 700; font-size: 24px; letter-spacing: -1.2px; color: var(--caramel); display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; border-bottom: 2px solid var(--caramel); width: 136px; flex: none; white-space: nowrap; }
.mc-order:hover { color: var(--brown); border-color: var(--brown); }
.mc-img { flex: 1; position: relative; min-height: 0; margin: 16px 0; }
.mc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .6s var(--ease); }
.menu-card:hover .mc-img img { transform: scale(1.06) rotate(-2deg); }
.mc-price { display: flex; align-items: center; justify-content: space-between; }
.mc-price p { font-weight: 600; font-size: 20px; line-height: 24px; display: flex; gap: 20px; }
.mc-price p b { font-weight: 600; font-size: 24px; }
.mc-price i { flex: 0 0 1px; align-self: stretch; background: var(--brown); min-height: 24px; }
.menu-ctrl { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.mbtn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--caramel); color: var(--cream); transition: background .3s, transform .3s var(--ease); }
.mbtn:hover { background: var(--brown); transform: scale(1.06); }
.mbtn:active { transform: scale(.94); }
#menuPrev svg { transform: rotate(180deg); }
.credit { text-decoration: underline; text-underline-offset: 3px; }
.credit:hover { color: var(--tan); }
.dots { display: flex; gap: 8px; width: max-content; margin: 0; padding: 10px 14px; background: var(--sand); border-radius: 100px; }
.dots i { width: 12px; height: 12px; border-radius: 50%; background: rgba(126,65,36,.35); transition: background .3s, transform .3s; }
.dots i.on { background: var(--brown); transform: scale(1.1); }

/* 8. Care / why choose us -------------------------------------------------- */
.care { padding-top: 100px; padding-bottom: 10px; }
.care-box { max-width: var(--maxw); margin: 0 auto; background: var(--sand); border-radius: var(--r-xl); padding: 120px 40px 200px; display: flex; flex-direction: column; align-items: center; gap: 80px; }
.care-box .sec-title { max-width: 722px; }
.lead { font-size: 24px; line-height: 28px; max-width: 435px; }
.care-grid { display: flex; gap: 20px; align-items: flex-start; justify-content: center; width: 100%; }
.care-col { display: flex; flex-direction: column; gap: 76px; width: 100%; max-width: 663px; }
.care-r { padding-top: 350px; }
.ccard { position: relative; border-radius: 56px; overflow: visible; aspect-ratio: 663 / 800; display: flex; flex-direction: column; justify-content: flex-end; padding: 16px; will-change: transform; }
.ccard > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 56px; }
.ccard-in { position: relative; background: var(--cream); border-radius: 40px; padding: 28px 32px 34px; display: flex; flex-direction: column; gap: 16px; }
.ccard-in h5 { font-family: var(--f-body); font-weight: 600; font-size: 32px; line-height: 36px; }
.ccard-in p { font-size: 24px; line-height: 28px; }
.sticker-title { position: absolute; top: -40px; left: 50%; z-index: 2; transform: translateX(-50%) rotate(var(--rot, 0deg)); text-align: center; font-family: var(--f-head); font-weight: 900; font-size: 48px; line-height: .9; text-transform: uppercase; color: var(--cream); -webkit-text-stroke: 14px var(--brown); paint-order: stroke fill; stroke-linejoin: round; white-space: nowrap; padding: 6px 10px; filter: drop-shadow(0 2px 0 rgba(126,65,36,.2)); }

/* 9. Ticker ---------------------------------------------------------------- */
.ticker-sec { padding: 0 var(--pad) 120px; }
.ticker-box { max-width: var(--maxw); margin: 0 auto; background: var(--brown); border-radius: var(--r-xl); padding: 40px 0; overflow: hidden; }
.ticker-move { display: flex; width: max-content; animation: tick 28s linear infinite; }
.ticker-set { display: flex; align-items: center; gap: 80px; padding-right: 80px; flex: none; }
.ticker-set span { font-family: var(--f-head); font-weight: 900; font-size: 120px; line-height: 1; color: var(--sand); text-transform: uppercase; white-space: nowrap; }
.ticker-set svg { width: 75px; height: 64px; color: var(--caramel); flex: none; }
@keyframes tick { to { transform: translateX(-33.3333%); } }

/* 10. Our place ------------------------------------------------------------ */
.place { padding-bottom: 120px; }
.place-list { display: flex; gap: 20px; width: 100%; }
.pimg { flex: 1; aspect-ratio: .6834; border-radius: var(--r-lg); overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pimg:hover img { transform: scale(1.05); }
.place .h2, .cup .h2, .blog .h2 { }
.place .h2, .blog .h2 { font-size: 72px; }

/* 11. Cup ------------------------------------------------------------------ */
.cup { padding-bottom: 120px; }
.cup-row { display: flex; align-items: center; }
.cup-h { flex: 1; max-width: 700px; font-size: 72px; line-height: .9; }
.cup-h::first-line { font-size: 120px; }
.cup-img { position: relative; flex: 1; max-width: 692px; aspect-ratio: .992; }
.cup-img .cup-glass { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 34px 40px rgba(80,35,15,.28)); }
.fb1 { width: 92px; top: 8%; left: 6%; --rz: -10deg; --fd: 7s; }
.fb2 { width: 118px; top: 58%; left: -3%; --rz: 12deg; --fd: 9s; --fdl: -3s; }
.fb3 { width: 108px; bottom: 10%; right: 2%; --rz: 20deg; --fd: 8s; --fdl: -1s; }
.fb4 { width: 110px; top: -26px; right: -22px; --rz: -14deg; --fd: 7s; }
.fb5 { width: 130px; bottom: -28px; left: -30px; --rz: 10deg; --fd: 9s; --fdl: -2s; }
.fb6 { width: 90px; left: 12%; top: 22%; --rz: -12deg; --fd: 7s; }
.fb7 { width: 112px; right: 9%; bottom: 14%; --rz: 18deg; --fd: 9s; --fdl: -3s; }

/* 12. Offer ---------------------------------------------------------------- */
.offer { padding-top: 50px; padding-bottom: 160px; }
.offer-row { display: flex; align-items: center; gap: 80px; }
.offer-img-wrap { flex: 1; position: relative; }
.offer-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 1.01; }
.offer-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.offer-img:hover img { transform: scale(1.04); }
.offer-r { flex: 1; max-width: 548px; display: flex; flex-direction: column; gap: 212px; }
.offer-r .h2 { font-size: 72px; }
.lead-s { font-size: 24px; line-height: 28px; }
.combo { display: flex; flex-direction: column; gap: 5px; }
.combo-row { display: flex; align-items: center; gap: 20px; }
.combo-row img { width: 75px; height: 75px; object-fit: contain; }
.combo-row .cn, .combo-row .cp { font-weight: 600; font-size: 24px; line-height: 28px; white-space: nowrap; }
.combo-row i { flex: 1; height: 1px; background: var(--caramel); opacity: .33; }
.combo-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 24px; }
.price { display: flex; align-items: baseline; gap: 12px; }
.price s { font-size: 32px; color: var(--caramel); }
.price b { font-size: 40px; font-weight: 600; color: var(--brown); }

/* 13. Testimonials --------------------------------------------------------- */
.testi { padding: 0 var(--pad); height: 380vh; position: relative; }
.testi-box { position: sticky; top: 0; height: 100vh; }
.testi-stick { position: relative; height: 100%; background: var(--caramel); border-radius: var(--r-xl); overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 0; padding-top: 5vh; }
.testi .sec-title { gap: 16px; z-index: 1; }
.testi-h { position: relative; }
.testi-h .h2 { font-size: min(120px, 11vh); }
.deco { position: absolute; }
.d-moka { width: 100px; left: -140px; top: -20px; transform: rotate(-14deg); }
.d-cup { width: 112px; right: -150px; top: 10px; transform: rotate(12deg); }
.tcards { position: relative; width: 480px; height: 640px; margin-top: 2vh; }
.tcard { position: absolute; inset: 0 auto auto 0; width: 480px; border-radius: 40px; padding: 40px; display: flex; flex-direction: column; gap: 32px; background: var(--card-brown); color: var(--cream); will-change: transform; box-shadow: 0 30px 60px rgba(60,25,10,.25); }
.tcard > img { width: 100%; aspect-ratio: 2; object-fit: cover; border-radius: 24px; }
.tcard .stars { display: flex; gap: 6px; }
.tcard .stars svg { width: 27px; height: 26px; color: var(--cream); }
.tcard blockquote { font-weight: 600; font-size: 24px; line-height: 28px; }
.author { display: flex; align-items: center; gap: 17px; background: var(--sand); color: var(--brown); border-radius: 100px; padding: 8px 16px 8px 8px; margin-top: auto; }
.author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.author b { display: block; font-weight: 600; font-size: 20px; line-height: 24px; }
.author span { display: block; font-size: 20px; line-height: 24px; }
.tcard.t2 { background: var(--tan); color: var(--brown); }
.tcard.t2 .stars svg { color: var(--brown); }
.tcard.t3 { background: var(--sand); color: var(--brown); }
.tcard.t3 .stars svg { color: var(--brown); }
.tcard.t3 .author, .tcard.t2 .author { background: var(--cream); }
.testi-p { position: relative; max-width: 460px; margin-top: 22px; text-align: center; color: var(--cream); font-weight: 600; font-size: 22px; line-height: 26px; opacity: 0; }

/* 14. Blog ----------------------------------------------------------------- */
.blog { padding-top: 160px; padding-bottom: 80px; }
.top-c { max-width: 500px; gap: 40px; }
.top-c > .tag { margin-bottom: -20px; }
.blog-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; width: 100%; }
.bcard { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 40px; transition: background .4s var(--ease); }
.bcard:hover { background: var(--sand); }
.bimg { aspect-ratio: 1; border-radius: 28px; overflow: hidden; }
.bimg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.bcard:hover .bimg img { transform: scale(1.08); }
.bin { padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.tags { display: flex; gap: 4px; }
.tags span { font-family: var(--f-body); font-weight: 600; font-size: 16px; line-height: 20px; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; background: var(--sand); color: var(--brown); }
.tags span:first-child { background: var(--brown); color: var(--cream); }
.bin h5 { font-family: var(--f-body); font-weight: 600; font-size: 24px; line-height: 28px; }

/* 15. FAQ ------------------------------------------------------------------ */
.faq { padding-top: 80px; padding-bottom: 160px; }
.faq-row { display: flex; gap: 80px; align-items: flex-start; }
.faq-l { flex: 1; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; position: sticky; top: 40px; max-width: 460px; }
.faq-l p { font-size: 24px; line-height: 28px; margin-bottom: 20px; }
.faq-r { flex: 1.3; display: flex; flex-direction: column; gap: 12px; }
.fq { background: var(--sand); border-radius: 32px; overflow: hidden; transition: background .3s; }
.fq button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 32px; text-align: left; font-weight: 600; font-size: 24px; line-height: 28px; }
.fq button i { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--caramel); color: var(--cream); display: grid; place-items: center; transition: transform .4s var(--ease); }
.fq.open button i { transform: rotate(45deg); }
.fa { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.fq.open .fa { grid-template-rows: 1fr; }
.fa p { overflow: hidden; padding: 0 32px; font-size: 24px; line-height: 28px; }
.fq.open .fa p { padding-bottom: 32px; }

/* 16. CTA + footer --------------------------------------------------------- */
.cta { position: relative; height: 572px; overflow: hidden; background: var(--brown); }
.cta-in .h4-big { text-shadow: 0 4px 30px rgba(60,25,10,.45); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(126,65,36,.05) 0%, rgba(126,65,36,.35) 55%, var(--brown) 100%); }
.cta .fb { z-index: 2; }
.cta-in { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; padding: 0 var(--pad); }
.footer { background: var(--brown); color: var(--cream); padding: 50px var(--pad) 50px; }
.footer .logo-l { position: static; transform: none; color: var(--cream); }
.footer .logo-l svg { color: var(--caramel); }
.foot-top { display: flex; justify-content: space-between; align-items: center; padding: 0 0 30px; }
.news { display: flex; align-items: center; gap: 24px; font-weight: 600; }
.news div { display: flex; background: rgba(243,239,234,.12); border-radius: 100px; padding: 6px 6px 6px 22px; }
.news input { background: none; border: 0; outline: 0; color: var(--cream); font: inherit; width: 220px; }
.news input::placeholder { color: rgba(243,239,234,.55); }
.news button { width: 38px; height: 38px; border-radius: 50%; background: var(--caramel); color: var(--cream); display: grid; place-items: center; }
.foot-mid { display: flex; justify-content: space-between; gap: 60px; padding: 50px 0; border-top: 1px dotted rgba(243,239,234,.4); }
.foot-cols { display: flex; gap: 100px; }
.foot-cols div, .foot-info div { display: flex; flex-direction: column; gap: 14px; }
.foot-cols h6, .foot-info h6 { color: var(--caramel); margin-bottom: 8px; }
.foot-cols a { font-size: 24px; line-height: 28px; }
.foot-cols a:hover { color: var(--tan); }
.foot-info { display: flex; gap: 80px; }
.foot-info p { font-size: 24px; line-height: 28px; }
.foot-word { font-family: var(--f-head); font-weight: 900; font-size: 27vw; line-height: .78; color: var(--sand); opacity: .95; text-align: center; letter-spacing: 0; margin: 10px 0 30px; white-space: nowrap; }
.foot-bot { display: flex; justify-content: space-between; font-size: 20px; }
.totop { font-weight: 700; letter-spacing: -.5px; }

/* 17. Reveal on scroll ----------------------------------------------------- */
.rv { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.hero-title, .hero-copy { opacity: 0; transform: translateY(30px); }
body.hero-on .hero-title, body.hero-on .hero-copy { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1s var(--ease); }
body.hero-on .hero-copy { transition-delay: .2s; }
.hero-cup, .hero-bean, .hero-splash { opacity: 0; transition: opacity 1.1s var(--ease) .3s; }
body.hero-on .hero-cup, body.hero-on .hero-bean, body.hero-on .hero-splash { opacity: 1; }

/* 18. Tablet --------------------------------------------------------------- */
@media (max-width: 1199px) {
  .hero-h1 { font-size: 15vw; line-height: .9; }
  .hero-title { height: auto; padding-bottom: 12vw; max-width: none; }
  .hero-tag h2 { font-size: 9vw; line-height: .9; }
  .hero-tag { padding: 8px 10px; }
  .sticker-cup { left: auto; right: 12%; }
  .hero-splash { width: 130vw; right: -40vw; top: 10%; }
  .hero-cup { width: 32vw; right: 4vw; bottom: -12vw; }
  .h2 { font-size: 90px; }
  .menu-card { flex-basis: 520px; padding-right: 60px; }
  .menu-card::after { right: 60px; }
  .menu-card .mc-top, .menu-card .mc-img, .menu-card .mc-price { width: 440px; }
  .ticker-set span { font-size: 90px; }
  .cup-h { font-size: 56px; }
  .cup-h::first-line { font-size: 90px; }
  .offer-r { gap: 80px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .faq-row { flex-direction: column; }
  .faq-l { position: static; max-width: none; }
  .foot-mid { flex-direction: column; }
}

/* 19. Mobile --------------------------------------------------------------- */
@media (max-width: 809px) {
  :root { --pad: 16px; --r-xl: 36px; --r-lg: 24px; }
  body { font-size: 18px; }
  .intro { height: 760vh; }
  .intro-progress { right: 12px; height: 34vh; }
  .ip-pct { font-size: 15px; min-width: 34px; }
  .ip-lab { font-size: 12px; }
  .intro-hint { font-size: 17px; bottom: 26px; }
  .intro-top { padding: 20px 20px; }
  .intro-line { font-size: 17vw; }
  .site-header { padding: 8px var(--pad); }
  .nav { height: 64px; }
  .nav-links li:not(:first-child):not(:nth-child(2)) { display: none; }
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 16px; }
  .logo { position: static; transform: none; display: none; }
  .btn { font-size: 18px; gap: 14px; padding: 6px 6px 4px 16px; }
  .btn-ic { width: 32px; height: 32px; }
  .hero { padding: 40px var(--pad) 90px; }
  .hero-h1 { font-size: 24vw; }
  .hero-tag h2 { font-size: 14vw; }
  .sticker-mood { width: 84px; height: 76px; top: -60px; }
  .sticker-cup { display: none; }
  .hero-inner { min-height: 640px; }
  .hero-copy { margin-top: 30px; gap: 28px; max-width: 260px; }
  .hero-copy p { font-size: 17px; line-height: 21px; }
  .hero-cup { width: 46vw; right: -6vw; bottom: -18vw; }
  .hb1 { width: 80px; left: 34%; bottom: 10px; }
  .hb2 { display: none; }
  .hero-splash { width: 120vw; right: -38vw; top: 52%; }
  .h2, .place .h2, .blog .h2, .h2.on-brown { font-size: 12.5vw; }
  .h3, .offer-r .h2 { font-size: 13vw; }
  .h4-big { font-size: 11vw; }
  .tag { font-size: 18px; padding: 9px 13px; }
  .about-box { padding: 80px 0 60px; gap: 30px; }
  .ab-glass { width: 64%; }
  .ab-bean { width: 60px !important; }
  .ab5, .ab3 { display: none; }
  .ab-text { padding: 0 24px; }
  .ab-text p { font-size: 20px; line-height: 24px; }
  .menu { padding-top: 80px; padding-bottom: 60px; }
  .menu-head { flex-direction: column; align-items: flex-start; gap: 24px; margin-bottom: 40px; }
  .menu-card { flex-basis: 82vw; padding-right: 20px; height: 470px; }
  .menu-card::after { right: 10px; }
  .menu-card .mc-top, .menu-card .mc-img, .menu-card .mc-price { width: calc(82vw - 40px); }
  .h5 { font-size: 34px; }
  .care { padding-top: 60px; }
  .care-box { padding: 70px 14px 90px; gap: 60px; }
  .care-grid { flex-direction: column; }
  .care-r { padding-top: 0; }
  .care-col { gap: 60px; }
  .ccard { aspect-ratio: 3 / 4.2; border-radius: 36px; }
  .ccard > img { border-radius: 36px; }
  .ccard-in { padding: 20px 22px 24px; border-radius: 26px; }
  .ccard-in h5 { font-size: 26px; line-height: 28px; }
  .ccard-in p, .lead, .lead-s { font-size: 19px; line-height: 23px; }
  .sticker-title { font-size: 34px; -webkit-text-stroke: 10px var(--brown); }
  .ticker-set span { font-size: 60px; }
  .ticker-set svg { width: 44px; height: 38px; }
  .ticker-set { gap: 40px; padding-right: 40px; }
  .ticker-box { padding: 24px 0; }
  .place-list { flex-direction: column; }
  .cup-row { flex-direction: column; }
  .cup-h { font-size: 12vw; }
  .cup-h::first-line { font-size: 16vw; }
  .offer-row { flex-direction: column; gap: 40px; }
  .offer-r { gap: 40px; }
  .combo-row img { width: 56px; height: 56px; }
  .combo-row .cn, .combo-row .cp { font-size: 19px; }
  .price b { font-size: 30px; }
  .price s { font-size: 22px; }
  .testi { height: 340vh; }
  .tcards { width: 88vw; max-width: 380px; height: 560px; }
  .tcard { width: 100%; padding: 22px; gap: 20px; border-radius: 30px; }
  .tcard blockquote { font-size: 19px; line-height: 23px; }
  .d-moka, .d-cup { width: 64px; }
  .d-moka { left: -70px; } .d-cup { right: -74px; }
  .testi-h .h2 { font-size: 11vw; }
  .blog { padding-top: 90px; }
  .blog-grid { grid-template-columns: 1fr; }
  .faq { padding-bottom: 90px; }
  .fq button { font-size: 20px; padding: 20px; }
  .fa p { font-size: 19px; line-height: 23px; padding: 0 20px; }
  .cta { height: 480px; }
  .foot-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .foot-cols { gap: 36px; flex-wrap: wrap; }
  .foot-info { flex-direction: column; gap: 30px; }
  .foot-bot { flex-direction: column; gap: 10px; font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-move, .ring > svg:first-child, .intro-hint i { animation: none; }
  .rv, .hero-title, .hero-copy, .hero-cup, .hero-bean, .hero-splash { opacity: 1; transform: none; transition: none; }
  .intro { height: 100vh; }
}

/* 20. Mobile v2 (26/09) — hierarchy + fixes for phones ---------------------- */
@media (max-width: 809px) {
  /* intro: horizontal progress under the top bar, titles clear of it */
  .intro-top { padding: max(16px, env(safe-area-inset-top)) 18px 0; font-size: 20px; }
  .intro-count { font-size: 15px; }
  .intro-skip { font-size: 14px; padding: 7px 13px 5px; }
  .intro-right { gap: 12px; }
  .intro-progress { top: calc(max(16px, env(safe-area-inset-top)) + 50px); left: 18px; right: 18px; transform: none; height: auto; flex-direction: row; gap: 10px; }
  .ip-track { flex: 1; height: 3px; width: auto; }
  .ip-fill { transform-origin: left; }
  .ip-dot { top: 50%; left: var(--p, 0%); width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-width: 2px; }
  .ip-pct { order: 2; min-width: 38px; font-size: 14px; text-align: right; }
  .ip-lab { display: none; }
  .intro-line { font-size: 13.5vw; padding: 0 22px; line-height: .92; }
  .intro-hint { bottom: max(24px, env(safe-area-inset-bottom)); font-size: 15px; }

  /* nav: logo + CTA, section links live in the menu dropdown */
  .nav { height: 60px; justify-content: space-between; }
  .nav-links { display: none; }
  .logo { display: inline-flex; position: static; transform: none; }

  /* section rhythm */
  .menu { padding-top: 70px; padding-bottom: 40px; }
  .care { padding-top: 40px; }
  .ticker-sec { padding-bottom: 70px; }
  .place { padding-bottom: 70px; }
  .place .col { gap: 40px; }
  .cup { padding-bottom: 60px; }
  .offer { padding-top: 10px; padding-bottom: 80px; }
  .blog { padding-top: 70px; padding-bottom: 40px; }
  .blog .col { gap: 40px; }
  .faq { padding-top: 40px; padding-bottom: 70px; }
  .faq-row { gap: 36px; }
  .h2.on-brown { font-size: 10.5vw; }
  .lead { font-size: 18px; line-height: 22px; }

  /* menu: one product per screen, centred */
  .menu-viewport { margin-right: 0; }
  .menu-card { flex: 0 0 100%; height: 440px; padding-right: 0; }
  .menu-card::after { display: none; }
  .menu-card .mc-top, .menu-card .mc-img, .menu-card .mc-price { width: 100%; }
  .h5 { font-size: 36px; }
  .mc-order { font-size: 18px; width: auto; }
  .mc-price p { font-size: 17px; gap: 12px; }
  .mc-price p b { font-size: 20px; }
  .menu-ctrl { margin-top: 28px; }
  .mbtn { width: 44px; height: 44px; }

  /* cup: glass visible under the headline */
  .cup-row { gap: 20px; align-items: flex-start; }
  .cup-img { width: 100%; flex: none; max-width: none; aspect-ratio: 1.1; }
  .fb1 { width: 64px; } .fb2 { width: 78px; left: 2%; } .fb3 { width: 72px; }
  .fb4 { width: 76px; top: -20px; right: -6px; } .fb5 { width: 86px; bottom: -20px; left: -10px; }
  .fb6 { width: 60px; } .fb7 { width: 76px; }

  /* testimonials: tighter stage */
  .testi-stick { padding-top: 4vh; }

  /* footer: newsletter full width */
  .news { flex-direction: column; align-items: stretch; gap: 12px; width: 100%; }
  .news div { width: 100%; }
  .news input { width: 100%; min-width: 0; flex: 1; }
  .foot-top { gap: 20px; }
  .foot-mid { padding: 36px 0; gap: 36px; }
  .foot-cols a, .foot-info p { font-size: 20px; line-height: 24px; }
  .foot-word { margin: 20px 0 24px; }
}
