/* Mobile layouts allocate real rows to text, scene and controls. Long copy never
   occupies the scene's row, and browser chrome cannot alter the scroll clock. */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-wrap:break-word}
.section-heading>*,.experience-card,.branch-card,.full-menu-group,.menu-item>div,.full-menu-row>span{min-width:0}
.menu-dialog{max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);scrollbar-gutter:stable}
.dialog-close{position:sticky;top:0;min-width:44px;min-height:44px;background:var(--paper);z-index:3}
.dialog-tabs{gap:8px;flex-wrap:wrap}
.menu-tabs button,.dialog-tabs button{min-height:44px}
.branch-bottom{gap:12px;flex-wrap:wrap}
.branch-bottom a,.footer-contact a{min-height:44px;display:inline-flex;align-items:center}
.brew-stage{touch-action:pan-y pinch-zoom}
.brew-steps button{min-height:44px}
.brew-topline>a,.brew-motion{min-height:44px;display:inline-flex;align-items:center}
.mobile-nav{max-height:calc(100svh - 88px);overflow-y:auto;overscroll-behavior:contain}
.mobile-nav a{min-height:44px;display:flex;align-items:center}
.full-menu-row>span{overflow-wrap:anywhere}

/* The tablet breakpoint also covers zoomed desktop windows. */
@media(max-width:960px){
  .site-header,.section,.site-footer{padding-left:max(6%,env(safe-area-inset-left));padding-right:max(6%,env(safe-area-inset-right))}
  .site-header{height:88px}.site-header .brand img{width:88px;height:64px}
  .brew-topline>p{display:none}.brew-topline{justify-content:flex-end}
  .desktop-nav,.header-cta{display:none}
  .mobile-toggle{display:flex;width:44px;height:44px;flex-direction:column;justify-content:center;gap:7px;align-items:flex-end}
  .mobile-toggle span{display:block;width:24px;height:1px;background:var(--paper)}.mobile-toggle span:last-child{width:18px}
  .mobile-nav{display:flex;position:absolute;top:87px;left:0;right:0;background:#191b16;padding:16px max(6%,env(safe-area-inset-left));flex-direction:column;gap:8px;border-bottom:1px solid var(--line);box-shadow:0 20px 30px #0005}
  .menu-layout{grid-template-columns:1fr;gap:32px}.menu-visual{min-height:350px;max-height:420px}.menu-items{min-height:0}
  .experience-grid{grid-template-columns:1fr}.experience-card,.experience-card+article,.experience-card:last-child{padding:28px 0;border-left:0}.experience-card+article{border-top:1px solid var(--line)}.experience-card p{min-height:0;max-width:580px;font-size:15px}
  .wellness-inner{gap:35px}.member-card{padding:27px}.gym-list{gap:20px 12px}
  .gathering-section{grid-template-columns:1fr auto;gap:26px}.gathering-symbol{display:none}.gathering-offer{padding-left:28px}
  .branch-grid{gap:18px}.branch-card{padding:26px 24px 0}.branch-card h3{font-size:clamp(32px,4.7vw,43px)}.branch-number{letter-spacing:1px}.coming-soon{margin-left:5px}
  .delivery-strip{display:grid;grid-template-columns:49px minmax(0,1fr);align-items:start;gap:14px 25px}.delivery-strip>div:nth-child(2){width:auto;min-width:0}.delivery-strip>.text-link{grid-column:2;justify-self:start;margin:0}
  .footer-top{gap:35px}.footer-top>p{font-size:32px}.footer-bottom{flex-wrap:wrap}
}

@media(max-width:960px) and (orientation:portrait){
  .brew-story{height:520svh}
  .brew-pin{height:100svh;display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto;gap:10px;padding:max(12px,env(safe-area-inset-top)) max(6%,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(6%,env(safe-area-inset-left))}
  .brew-topline{position:relative;inset:auto;grid-row:1;gap:15px;min-width:0;z-index:5}
  .brew-topline p{font-size:10px;letter-spacing:1px;max-width:60%;line-height:1.5}.brew-topline p span{margin:0 5px}.brew-topline>a{font-size:12px;gap:6px;white-space:nowrap;flex-shrink:0}.brew-topline>a svg{width:15px;height:15px}
  .brew-copy{position:relative;inset:auto;grid-row:2;width:100%;min-width:0;pointer-events:none}
  .brew-copy .eyebrow{font-size:11px;letter-spacing:1.5px}
  .brew-copy h1{font-size:clamp(32px,8.6vw,58px);line-height:1.05;letter-spacing:-1.5px;margin:12px 0}
  .brew-copy>p:not(.eyebrow){font-size:14px;line-height:1.65;max-width:560px}
  .brew-copy>.button{position:static;margin-top:12px;min-height:44px;padding:10px 16px;font-size:13px;gap:20px}
  .brew-scroll-cue,.brew-scene-note{display:none}
  .brew-stage,.brew-story[data-step="4"] .brew-stage{position:relative;inset:auto;grid-row:3;min-height:0;width:100%;height:100%;align-self:stretch}
  .brew-stage #coffee-scene{mask-image:linear-gradient(180deg,transparent,#000 6%,#000 95%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 6%,#000 95%,transparent)}
  .brew-backdrop-word{font-size:clamp(76px,17vw,150px);top:48%;letter-spacing:-5px;right:3%}
  .brew-footer{position:relative;inset:auto;grid-row:4;min-width:0}
  .brew-footer-meta{min-height:44px;margin-bottom:7px;gap:10px;font-size:10px;letter-spacing:.5px}.brew-footer-meta>span{max-width:42%;line-height:1.45}.brew-footer-meta>div{gap:12px}.brew-motion{font-size:11px;padding:0;white-space:nowrap}#brew-counter{font-size:11px;letter-spacing:.5px;white-space:nowrap}
  .brew-steps{margin-top:6px;gap:6px;grid-template-columns:repeat(5,minmax(0,1fr))}.brew-steps button,.brew-steps button:last-child{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:4px;min-height:54px;padding:6px 0 0;font-size:12px;line-height:1.3;min-width:0}.brew-steps button>span{font-size:11px}
  .scene-status{font-size:12px;bottom:5%;left:8%;right:8%}.scene-load-button{font-size:13px;min-height:44px;padding:10px 16px;white-space:nowrap;bottom:12%}
}

/* Small portrait phones: keep all five buttons and the last chapter CTA on-screen. */
@media(max-width:600px) and (orientation:portrait) and (max-height:700px){
  .brew-pin{gap:6px;padding-top:max(6px,env(safe-area-inset-top));padding-bottom:max(6px,env(safe-area-inset-bottom))}
  .brew-topline p{font-size:9px;max-width:150px}.brew-topline>a{font-size:11px;min-height:36px}
  .brew-copy .eyebrow{font-size:10px}.brew-copy h1{font-size:clamp(29px,8.3vw,36px);margin:8px 0;line-height:1.03}
  .brew-copy>p:not(.eyebrow){font-size:13px;line-height:1.45;max-width:100%}.brew-copy>.button{margin-top:8px;padding:8px 13px;font-size:12px}
  .brew-footer-meta{font-size:9px;gap:7px;margin-bottom:3px}.brew-footer-meta>div{gap:8px}.brew-motion,#brew-counter{font-size:10px}
  .brew-steps{gap:4px;margin-top:4px}.brew-steps button{font-size:11px;min-height:53px;line-height:1.2}
}

/* Landscape phones get a side-by-side stage instead of a squeezed portrait layout. */
@media(orientation:landscape) and (max-height:600px){
  .brew-story{height:580svh}
  .brew-pin{height:100svh;display:grid;grid-template-columns:minmax(0,42%) minmax(0,58%);grid-template-rows:36px minmax(0,1fr) auto;gap:5px 0;padding:max(6px,env(safe-area-inset-top)) max(5%,env(safe-area-inset-right)) max(6px,env(safe-area-inset-bottom)) max(5%,env(safe-area-inset-left))}
  .brew-topline{position:relative;inset:auto;grid-row:1;grid-column:1/-1;gap:20px}.brew-topline p{font-size:9px;letter-spacing:1px;max-width:none}.brew-topline p span{margin:0 7px}.brew-topline>a{min-height:36px;font-size:11px;white-space:nowrap}
  .brew-copy{position:relative;inset:auto;grid-row:2;grid-column:1;width:100%;align-self:center;max-height:100%;overflow-y:auto;pointer-events:auto;padding-right:10px;overscroll-behavior:contain}
  .brew-copy .eyebrow{font-size:9px;letter-spacing:1px}.brew-copy h1{font-size:clamp(26px,4.4vw,40px);line-height:1.04;letter-spacing:-1px;margin:9px 0}.brew-copy>p:not(.eyebrow){font-size:12px;line-height:1.5;max-width:330px}
  .brew-copy>.button{position:static;min-height:44px;margin-top:9px;padding:8px 12px;font-size:12px;gap:15px}
  .brew-scroll-cue,.brew-scene-note{display:none}
  .brew-stage,.brew-story[data-step="4"] .brew-stage{position:relative;inset:auto;grid-row:2;grid-column:2;width:100%;height:100%;min-height:0}
  .brew-backdrop-word{font-size:90px;right:4%;top:24%;letter-spacing:-5px}.brew-stage #coffee-scene{mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
  .brew-footer{position:relative;inset:auto;grid-row:3;grid-column:1/-1}.brew-footer-meta{min-height:32px;margin-bottom:3px;font-size:9px;letter-spacing:.5px}.brew-footer-meta>div{gap:18px}.brew-motion{min-height:32px;font-size:10px}#brew-counter{font-size:10px}
  .brew-steps{gap:12px;margin-top:3px}.brew-steps button,.brew-steps button:last-child{min-height:44px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;font-size:11px;line-height:1.3}.brew-steps button>span{font-size:10px}
  .scene-status{bottom:4%;font-size:11px}.scene-load-button{font-size:12px;min-height:44px;padding:8px 12px}
}

@media(max-width:600px){
  .section{padding-top:60px;padding-bottom:60px}.section-heading{display:block}.section-heading>p{font-size:15px;line-height:1.7}.section-heading h2,h2{font-size:clamp(33px,8.7vw,44px);letter-spacing:-1.3px}
  .experience-card h3{font-size:27px}.experience-card p{font-size:15px;line-height:1.8}.feature-label{flex-wrap:wrap}
  .text-link{min-height:44px;align-items:center}.menu-tabs{gap:10px;justify-content:space-between}.menu-tabs button{font-size:12px;line-height:1.3;flex:1;padding:6px 0 12px}.menu-item h3{font-size:15px}.menu-item p{font-size:13px}.menu-item .price{font-size:18px;flex-shrink:0}.menu-visual{min-height:300px}.menu-footnote{align-items:center;gap:12px}.menu-footnote>span{font-size:11px;max-width:70%}
  .wellness-inner{grid-template-columns:1fr}.wellness-copy>p:not(.eyebrow):not(.care-partner){font-size:15px}.verified{gap:14px}.verified strong,.verified p{font-size:13px}.care-partner{display:flex;flex-wrap:wrap;gap:6px 12px}.care-partner span{margin-left:0}.member-card{padding:25px;box-shadow:7px 7px 0 #1b211a66}.member-card>p:not(.eyebrow){font-size:14px}.gym-list{font-size:13px;grid-template-columns:repeat(2,minmax(0,1fr))}.more-partners{font-size:12px}
  .gathering-section{grid-template-columns:1fr;gap:28px}.gathering-section h2{font-size:clamp(33px,8.7vw,44px)}.gathering-section p:not(.eyebrow){font-size:15px}
  .gathering-offer{min-width:0;border:1px solid var(--line);border-radius:6px;background:#ffffff04;padding:24px 20px;text-align:center}
  .gathering-offer>p{font-size:11px!important;letter-spacing:1.3px;line-height:1.5!important}
  .gathering-offer>div{display:flex;justify-content:center;align-items:baseline;gap:8px;font-size:clamp(72px,23vw,92px);line-height:1;letter-spacing:-3px;margin:20px 0 16px}
  .gathering-offer>div>span{font-size:20px;line-height:1;letter-spacing:-.4px;margin:0}
  .gathering-offer>div>sup{align-self:flex-start;font-size:34px;line-height:1;letter-spacing:-1px;margin-top:9px}
  .gathering-offer>.text-link{display:flex;width:100%;justify-content:space-between;gap:14px;min-height:46px;margin:24px 0 0;padding:12px 16px;border:1px solid var(--orange);border-radius:3px;background:var(--orange);color:var(--ink);font-size:13px;font-weight:500;text-align:left}
  .gathering-offer>.text-link:hover{background:#ff9552;border-color:#ff9552}
  .branch-grid{grid-template-columns:1fr}.branch-card h3{font-size:clamp(32px,9vw,43px)}.branch-address{font-size:13px;line-height:1.6}.branch-tags{gap:7px}.branch-tags span{font-size:11px}.branch-bottom{font-size:13px;gap:8px;padding:10px 0}.branch-bottom>span{font-size:12px}.branch-bottom>a{gap:6px}.branch-number{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.coming-soon{margin-left:0}
  .delivery-strip{grid-template-columns:37px minmax(0,1fr);gap:14px}.delivery-strip>div:nth-child(2){min-width:0;width:auto}.delivery-strip p{font-size:14px;line-height:1.75}.delivery-strip>.text-link{margin:0}.delivery-mark{width:37px;height:37px}
  .footer-top{display:grid;grid-template-columns:auto minmax(0,1fr) 44px;gap:18px}.footer-top .brand img{width:75px;height:54px}.footer-top>p{font-size:clamp(22px,5.7vw,30px);letter-spacing:-.7px}.back-top{width:44px;height:44px;margin:0}.footer-contact{gap:4px 20px;padding-bottom:18px;font-size:13px}.footer-bottom{font-size:10px;padding-bottom:max(22px,env(safe-area-inset-bottom))}
  .menu-dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:20px max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left))}.dialog-heading{gap:10px;align-items:flex-start}.dialog-heading h2{font-size:clamp(26px,7.5vw,34px)}.dialog-tabs{top:-20px;margin:16px 0;gap:6px;flex-wrap:nowrap}.dialog-tabs button{flex:1;min-width:0;padding:7px 6px;font-size:12px;line-height:1.35}.full-menu-content{grid-template-columns:1fr}.full-menu-row{font-size:14px;gap:14px}.dialog-bottom{font-size:12px}.dialog-bottom a{min-height:44px;display:inline-flex;align-items:center}.dialog-bottom>div{gap:3px 15px}
}
@media(max-width:350px){.footer-top{grid-template-columns:1fr 44px;gap:16px}.footer-top .brand{grid-column:1/-1}.footer-top>p{font-size:28px}.member-card{padding:22px}.brew-footer-meta>span{max-width:38%}.brew-topline p{letter-spacing:.6px}.branch-card{padding-left:20px;padding-right:20px}}
@media(pointer:coarse){.button{min-height:44px}.dialog-close{width:44px;height:44px}.brew-copy a{touch-action:manipulation}}

/* Each menu category gets its own stretch of native page scroll. */
.menu-scroll-story{min-width:0;position:relative}
.menu-scroll-cue{display:none}
.menu-scroll-story.is-scrolling>.menu-content{position:sticky;top:16px;height:min(620px,calc(100svh - 32px));display:flex;flex-direction:column;background:var(--paper);padding-top:6px}
.is-scrolling .menu-tabs,.is-scrolling .menu-footnote,.is-scrolling .menu-scroll-cue{flex-shrink:0}
.is-scrolling .menu-items{flex:1;min-height:0;overflow-y:auto;overscroll-behavior-y:auto;scrollbar-width:thin;scrollbar-color:#b8ab92 transparent;padding-right:4px}
.is-scrolling .menu-footnote{margin-top:12px}
.is-scrolling .menu-scroll-cue{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:11px;color:#77796e;padding:14px 0 8px;position:relative}
.is-scrolling .menu-scroll-cue:before{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background:#b98a60;transform:scaleX(var(--menu-progress,0));transform-origin:left}
.menu-scroll-cue>span:first-child{display:flex;gap:12px;align-items:center}
#menu-scroll-status{font-variant-numeric:tabular-nums;letter-spacing:1px}
@media(min-width:961px){.has-scroll-menu>.menu-visual{position:sticky;top:16px;height:501px;align-self:start}}
@media(max-width:600px){.menu-scroll-story.is-scrolling>.menu-content{height:min(650px,calc(100svh - 32px))}.is-scrolling .menu-scroll-cue{padding-top:10px;font-size:11px}.is-scrolling .menu-footnote{margin-top:8px}}
