/* app.theserry.com in the look of theserry.com: the site's ground, type
   steps, bordered button and the dark Serry App band that closes its home
   page. Values are the website's own tokens (serry-astro/src/styles/serry.css),
   phone first. */
@font-face{font-family:'Cormorant Garamond';src:url('/fonts/CormorantGaramond-Medium.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:'Montserrat';src:url('/fonts/Montserrat-Regular.ttf') format('truetype');font-weight:400;font-display:swap}

:root{
  --bg:#EBE9E6;--ink:#000;--dark:#1B1A18;--dark-ink:#D7D2CB;
  --display:'Cormorant Garamond',Georgia,serif;
  --sans:'Montserrat',-apple-system,'Helvetica Neue',Arial,sans-serif;
  --ease:cubic-bezier(.22,.61,.36,1);
  --pad:clamp(24px,2vw,30px);
  --sp-section:clamp(56px,6.803vw,100px);
  --sp-block:clamp(40px,3.401vw,50px);
  --sp-title:clamp(14px,1.361vw,20px);
  --sp-btn:clamp(20px,1.905vw,28px);
  --sp-media:clamp(20px,2.177vw,32px);
  --sp-intro:clamp(46px,3.558vw,52.3px);   /* a picture hands over to a title (website rule 58) */
}
*{box-sizing:border-box}
html,body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--sans);
  -webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
h1,h2,p{margin:0}
a{color:inherit;text-decoration:none}
img{display:block}

.page{min-height:100vh;display:flex;flex-direction:column}
.wrap{width:100%;max-width:720px;margin-inline:auto;padding-inline:var(--pad)}

.top{padding-block:var(--pad)}
.top img{width:42px;height:42px;object-fit:contain}

.serif{font-family:var(--display);font-weight:500;letter-spacing:-.03em}
.h-page{font-size:clamp(29.84px,2.7524vw,40.46px);line-height:.94}
.h-lede{font-size:clamp(24.80px,2.1524vw,31.64px);line-height:.96}
.copy{font-size:14px;line-height:1.2;text-align:justify;text-justify:inter-word}

.intro{padding-top:var(--sp-section);padding-bottom:var(--sp-intro)}
.intro h1{margin-bottom:var(--sp-title)}
.intro .copy{margin-bottom:var(--sp-btn)}
.intro h1+.btn-row{margin-top:var(--sp-btn)}

/* the site's button: 12.6px, 7px 18.2px, 1px black, bordered (rule 62) */
.btn-row{display:flex;align-items:flex-start;gap:24px;flex-wrap:wrap}
.btn{display:inline-block;padding:7px 18.2px;border:1px solid var(--ink);
  font-size:12.6px;line-height:normal;white-space:nowrap;
  transition:background .38s var(--ease),color .38s var(--ease)}
.btn:hover{background:var(--ink);color:var(--bg)}
.btn-2{display:inline-block;height:31px;padding-top:8px;font-size:12.6px;line-height:15.12px;
  text-decoration:underline;text-underline-offset:3px}
.btn-2:hover{opacity:.6}

.intro--file{padding-bottom:0}
.files{padding-top:var(--sp-block);padding-bottom:var(--sp-intro)}
.preview{padding-top:var(--sp-head)}
.pages{display:flex;flex-direction:column;gap:var(--sp-title);min-height:60vh}
.pages canvas{display:block;background:#fff}

/* the website's picker (serry.css .tabs): Cormorant names, 12 apart and
   centred on a wide screen; on a phone one row swiped sideways, 24 apart,
   the next name showing at the edge. One 1px rule travels to the chosen name. */
:root{--sp-head:clamp(28px,3.265vw,48px)}
.tabs{display:flex;justify-content:center;flex-wrap:nowrap;gap:12px;
  padding:0 var(--pad) 2px;overflow-y:hidden;position:relative;max-width:720px;margin-inline:auto}
.tab{font-family:var(--display);font-weight:500;font-size:17.528px;line-height:17.388px;
  letter-spacing:-.03em;color:var(--ink);background:none;border:0;margin:0;padding:0 0 9px;
  cursor:pointer;position:relative;white-space:nowrap;transition:opacity .3s var(--ease)}
.tab>span{display:inline-block}
.tab:hover{opacity:.6}
.tab:focus-visible{outline:1px solid currentColor;outline-offset:6px}
.tab-ink{position:absolute;bottom:0;left:0;height:1px;width:0;background:var(--ink);
  pointer-events:none;opacity:0}
.tabs.ready .tab-ink{opacity:1;transition:transform .45s var(--ease),width .45s var(--ease)}

/* The Serry App on the page's own light ground, one colour throughout:
   the phone, then its title, copy and the store badges, in the website's
   steps: a block step above the phone (two blocks in one section),
   --sp-intro either side of the picture (rule 58), --sp-title to the copy,
   --sp-btn to the badges, and a full section step before the closing
   hairline (rule 35). */
.app{margin-top:auto}
.app .wrap{display:flex;flex-direction:column}
.app .shot{align-self:flex-start;width:100%;max-width:230px;height:auto;margin-bottom:var(--sp-intro)}
.app h2{margin-bottom:var(--sp-title)}
.app .copy{margin-bottom:var(--sp-btn)}
.stores{display:flex;align-items:center;gap:var(--sp-btn);flex-wrap:wrap;margin-bottom:var(--sp-section)}
.stores a{display:block;height:40px;border-radius:7px;overflow:hidden;transition:opacity .38s var(--ease)}
.stores a:hover{opacity:.7}
.stores img{height:100%;width:auto}
.app .sep{height:1px;background:var(--ink);opacity:.22}
.foot{padding-block:var(--sp-block);font-size:12.236px;line-height:1.2}
@media(max-width:767px){.foot{font-size:12.92px}}

/* the website's phone steps: one heading size (rule 38), badges a block
   step under the copy, the phone 52vw wide with a block step either side */
@media(max-width:767px){
  .h-lede{font-size:24.476px;line-height:.96}
  .app .shot{max-width:52vw}
  .tabs{justify-content:flex-start;align-items:flex-end;gap:24px;overflow-x:auto;
    scroll-snap-type:x proximity;scroll-behavior:smooth;scrollbar-width:none;
    scroll-padding-inline:var(--pad)}
  .tabs::-webkit-scrollbar{display:none}
  .tab{flex:0 0 auto;scroll-snap-align:start;font-size:16.112px;line-height:15.983px}
}

/* The venue menu page (/q/<name>): the logo bar carries the language on the
   right as quiet text with a chevron, the way the website writes its links;
   the choices open in a small white panel under it, the open one ticked. */
.top--menu{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-block:16px}
/* The website's phone steps (theserry.com, measured 22 Nov 2026): a 74 bar with
   the logo 16 from the top, a section step (56) to the title, a heading step
   (28) to the menu names, and the same 28 from the names to the menu. */
.intro--menu{padding-bottom:0}
.intro--menu h1{margin-bottom:0}
.files--menu{padding-top:var(--sp-head);padding-bottom:var(--sp-section)}
.files--menu .preview{padding-top:var(--sp-head)}
.files--one .preview{padding-top:0}
/* the capitals of the language name on the logo's top line */
.lang{position:relative;margin-top:-6px}
.lang summary{list-style:none;display:inline-flex;align-items:center;gap:6px;cursor:pointer;
  padding:0 0 22px 12px;font-size:12.6px;line-height:1;color:var(--ink);
  transition:opacity .3s var(--ease)}
.lang summary::-webkit-details-marker{display:none}
.lang summary:hover{opacity:.6}
.lang summary:focus-visible{outline:1px solid var(--ink);outline-offset:2px}
.lang summary svg{transition:transform .3s var(--ease)}
.lang[open] summary svg{transform:rotate(180deg)}
.lang__list{position:absolute;right:0;top:calc(100% - 12px);z-index:20;margin:0;padding:6px;list-style:none;
  min-width:172px;background:#fff;border:1px solid rgba(0,0,0,.08);border-radius:12px;
  box-shadow:0 12px 32px -12px rgba(0,0,0,.28)}
.lang__list a{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:11px 12px;border-radius:8px;font-size:13.5px;line-height:1.2}
.lang__list a:hover{background:var(--bg)}
.lang__list a[aria-current="true"]{font-weight:600}
.menu-one{font-size:14px;line-height:1.2;margin-top:10px}

/* Open Full Menu: a white pill over the menu's top right corner, like the
   page count pill on the app's menu screen. */
.pages-frame{position:relative;border-radius:14px}
/* Each menu page with rounded corners. */
.pages-frame .pages canvas{border-radius:14px}
/* While a menu is on its way: the white sheet and a small ring, the pill on it. */
.pages-frame.is-loading{background:#fff}
.pages-frame.is-loading::after{content:"";position:absolute;left:50%;top:min(30vh,40%);width:22px;height:22px;
  margin-left:-11px;border-radius:50%;border:1.5px solid rgba(0,0,0,.14);border-top-color:var(--ink);
  animation:pages-spin .9s linear infinite}
.pages-frame.is-loading .pages canvas{opacity:.35;transition:opacity .2s}
.pages-note{padding:56px 24px}
@keyframes pages-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.pages-frame.is-loading::after{animation:none}}
.menu-pill{position:absolute;top:12px;right:12px;z-index:2;display:inline-flex;align-items:center;
  padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.92);color:var(--ink);
  border:1px solid rgba(0,0,0,.08);box-shadow:0 4px 14px -6px rgba(0,0,0,.3);
  font-size:12.6px;line-height:1.2;white-space:nowrap;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:opacity .2s}
.menu-pill:active{opacity:.6}
.menu-pill:focus-visible{outline:1px solid var(--ink);outline-offset:2px}

