/*! Momo Land theme stylesheet. BUILT FILE: do not edit. Sources: css/src/*.css (tools/build-css.sh). */

/* ---- 00-fonts.css ---- */
/*
 * Momo Land web fonts.
 *
 * LAYOUT   Source file css/src/00-fonts.css [foundation]. It is concatenated
 *          into css/site.css, so the urls are relative to css/: the .woff2
 *          files sit flat in assets/fonts/ (exactly the 12 files named below).
 *
 * RULE     Never write a family name in theme CSS. Use the custom properties
 *          in the :root block at the end of this file, e.g.
 *              font-family: var(--font-display);
 *          Every face then swaps with a one-line change in :root (or with an
 *          override of that property in the theme), which matters because
 *          several of these fonts have open licence questions (fonts.json,
 *          "owner_licence_list").
 *
 * FILES    Full-glyph-set WOFF2 conversions of the fonts in the design
 *          package (nothing reached the 60 KB subsetting threshold), plus
 *          Poppins Bold (SIL OFL) subset to Devanagari + Basic Latin for the
 *          one paragraph of real Nepali text.
 *
 * PRICES   No font here has a rupee sign (U+20B9) except Poppins Devanagari.
 *          The design writes prices as bare numbers. Keep prices as real
 *          digits in the HTML.
 *
 * NEPALI   The design's Nepali face (Aakriti Bold) is a legacy Preeti-encoded
 *          font with no Unicode Devanagari. It is deliberately NOT declared
 *          here and its file is kept out of the shippable set
 *          (legacy-do-not-ship/). See the notes above --font-nepali.
 */

/* ---- Riffic Free Bold: nav, hero tagline, menu item names -------------- */
@font-face {
  font-family: "Riffic Free";
  src: url("../assets/fonts/riffic-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- KG Blank Space Solid: big display headings, section labels,
        testimonials, copyright line ------------------------------------- */
@font-face {
  font-family: "KG Blank Space Solid";
  src: url("../assets/fonts/kg-blank-space-solid.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Facers (normal width): sub-headings, captions, footer blurb -------- */
@font-face {
  font-family: "Facers";
  src: url("../assets/fonts/facers-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Facers";
  src: url("../assets/fonts/facers-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---- Facers Condensed: menu descriptions, column heads, variants -------- */
@font-face {
  font-family: "Facers Condensed";
  src: url("../assets/fonts/facers-condensed-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Facers Condensed";
  src: url("../assets/fonts/facers-condensed-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Facers Condensed";
  src: url("../assets/fonts/facers-condensed-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Facers Condensed";
  src: url("../assets/fonts/facers-condensed-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- TAN Headline: menu section titles ---------------------------------- */
@font-face {
  font-family: "TAN Headline";
  src: url("../assets/fonts/tan-headline.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Real Delight: menu prices (digits and "/" only in the design).
        The font has no $ % @ ^ _ ` ~ and no dashes.
        Its "4" is an open script four that reads like a "u": "450" looks
        like "U50". That is how the design itself looks (see
        price-digit-check/compare.png). ---------------------------------- */
@font-face {
  font-family: "Real Delight";
  src: url("../assets/fonts/real-delight.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---- Momo Price: OPT-IN composite for prices. Real Delight for every
        character except the digit 4, which is taken from Facers Condensed
        Semibold (a file the menu page already loads, so no extra download)
        and scaled to Real Delight's digit height. Font files are untouched;
        this is CSS only. Switch it on with
            --font-price: var(--font-price-legible);
        size-adjust needs Chrome 92+, Firefox 92+, Safari 17+; older Safari
        draws that one "4" about 16% larger. ------------------------------ */
@font-face {
  font-family: "Momo Price";
  src: url("../assets/fonts/real-delight.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0-33, U+35-10FFFF;
}
@font-face {
  font-family: "Momo Price";
  src: url("../assets/fonts/facers-condensed-semibold.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+34;
  size-adjust: 86%;
}

/* ---- Metropolis Semi Bold: footer links and contact lines --------------- */
@font-face {
  font-family: "Metropolis";
  src: url("../assets/fonts/metropolis-semibold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---- Poppins Bold (SIL Open Font License 1.1), Devanagari + Basic Latin
        subset with all GSUB/GPOS kept: the Unicode face for real Nepali
        text. Not part of the design package; closest free match to Aakriti
        Bold found on this machine (nepali-compare/compare.png). ----------- */
@font-face {
  font-family: "Poppins Devanagari";
  src: url("../assets/fonts/poppins-devanagari-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/*
 * ---------------------------------------------------------------------------
 * Font tokens. One property per family in the design. To replace a face,
 * change the FIRST name in its list (and add the new @font-face above, or
 * load it from the theme); nothing else in the theme should need touching.
 * Weights the design uses are listed so a replacement can be checked for them.
 * ---------------------------------------------------------------------------
 */
:root {
  /* KG Blank Space Solid 400. Big Home headings ("Taste & Capture", "THE MOMO
     BUZZ", "WHAT MOMO LOVERS SAY"), strip labels, testimonials, copyright. */
  --font-display: "KG Blank Space Solid", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;

  /* Riffic Free 700. Nav, hero tagline, frozen-pack captions, menu item names.
     No curly quotes, no en/em dash, no "|" in this font: use ' " and -. */
  --font-rounded: "Riffic Free", "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;

  /* Facers 400 / 500. Sub-headings, ribbon, polaroid captions, footer blurb. */
  --font-text: "Facers", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;

  /* Facers Condensed 300 / 400 / 500 / 600. Menu descriptions, variant lists,
     price-table column heads, serving notes. */
  --font-condensed: "Facers Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;

  /* TAN Headline 400. Full Menu section titles. */
  --font-menu-title: "TAN Headline", Georgia, "Times New Roman", serif;

  /* Real Delight 400. Every menu price (digits and "/"). As designed.
     For a "4" nobody can misread, set
         --font-price: var(--font-price-legible);                           */
  --font-price: "Real Delight", "Riffic Free", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-price-legible: "Momo Price", "Riffic Free", "Arial Rounded MT Bold", system-ui, sans-serif;

  /* Metropolis 600. Footer column heads, links, address, phone, domain. */
  --font-footer: "Metropolis", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Poppins Devanagari 700. REAL UNICODE Nepali text only (the frozen-momo
     paragraph), on an element with lang="ne". Use line-height 1.4 or more:
     at 1.2 and below the marks above the head line rise out of the line box,
     so they are cut off inside any overflow:hidden parent and crowd the line
     above (nepali-compare/frozen-paragraph.png). Size: Poppins looks as big
     as the design's Aakriti Bold at 0.70 of Aakriti's nominal size (design
     30.77 pt on the 1080 artboard = Poppins 21.4 pt; 28.6 px at 1440 wide).
     - The outlined Nepali headlines ("खाजाको राजा", "यहाँ फ्रोजन म:म: पाइन्छ!")
       are SVG artwork: ship the SVG and give it the Unicode text as its
       accessible name / visually hidden text with lang="ne".
     - Never load Aakriti on real text and never put its ASCII keystrokes
       ("oxfF", "vfhfsf] /fhf" ...) in HTML: search engines, screen readers
       and copy/paste would get gibberish. */
  --font-nepali: "Poppins Devanagari", "Noto Sans Devanagari", "Kohinoor Devanagari", "Nirmala UI", "Mangal", sans-serif;
}


/* ---- 01-base.css ---- */
/* ==========================================================================
   01-base.css   OWNER: [shared]
   Tokens (colours, design unit, layout, motion, shadows), reset, layout
   utilities, focus, typography helpers. Shared tokens live ONLY here.
   Breakpoints (the only two layouts):
     desktop / tablet   >= 768px   the 1080 pt artboard, scaled with --pt
     phone              <  768px   @media (max-width: 767.98px), --pt = 100vw / 390
   ========================================================================== */

:root {
  /* ---- Colours (tokens.json > colors.core) ---- */
  --c-yellow: #f1d649;         /* Momo yellow: header band, Home background, nav text, ribbon text */
  --c-yellow-menu: #f9c91a;    /* warmer yellow of the Full Menu card */
  --c-gold: #edbf00;           /* footer column headings */
  --c-star-light: #ffe83b;     /* testimonial star, light half */
  --c-star-amber: #ffcf1c;     /* testimonial star, dark half; testimonial names */
  --c-green-dark: #052d2c;     /* the main dark: nav bar, headings, body text, ribbon, bubbles */
  --c-green-forest: #0c5233;   /* stamps, mascot shadow, "MoMo The Classics" / "Chef's Blend" titles */
  --c-green-stamp: #0f4f35;    /* stamps on the menu's green band */
  --c-green-doodle: #053823;   /* doodle divider inside the menu card */
  --c-green-mid: #2b8162;      /* menu green band, menu titles, Thukpa border */
  --c-green-leaf: #04793e;     /* Khaja Ko Sathi item text */
  --c-green-panel: #008252;    /* Khaja Ko Sathi panel border */
  --c-orange: #e7662a;         /* Chicken Wings box border */
  --c-cream: #fff6e5;          /* testimonials band, footer */
  --c-cream-light: #fff9e6;    /* page background of Our Story and Full Menu */
  --c-cream-panel: #f7f3e8;    /* Khaja Ko Sathi panel fill */
  --c-mint: #e7f3ed;           /* noodle watermark */
  --c-ink: #1f2626;            /* soft black: logo outline, doodles, hero headline, Chef's Blend items */
  --c-black: #000000;          /* label rows, Classics table, footer tagline + copyright, rules */
  --c-white: #ffffff;
  --c-shadow-on-cream: #e6ddce; /* black 10% multiply over --c-cream (speech-bubble shadows) */
  /* Inactive nav item. Designed as --c-yellow at 20% on the bar (#334d31, contrast 1.6:1);
     raised to 65% (5.1:1) so it passes WCAG AA. */
  --c-nav-inactive: #9e9b3f;

  /* ---- The design unit ----
     1 artboard point. The artboard is 1080 pt wide; content is capped at 1320 px.
     Write every desktop/tablet size as calc(N * var(--pt)), N = the value in points from the spec.
     On phones (< 768 px) it is redefined below as 1/390 of the viewport: give phone-specific N values. */
  --pt: calc(min(100vw, 1320px) / 1080);

  /* ---- Layout ---- */
  --content-max: 1320px;                    /* width of the centred content column (.container) */
  --inset: calc(131.38 * var(--pt));        /* content edge used by the label rows, Buzz, testimonials (827 pt column) */
  --inset-hero: calc(81.58 * var(--pt));    /* the hero text starts further left */
  --gutter: 20px;                           /* phone side padding */
  --rule: 1px solid var(--c-black);         /* the 1 pt black rule (phase 1; sections now separate with dividers) */
  --focus-ring: 3px solid var(--c-green-dark);
  --header-h: 72px;                         /* height of the sticky header bar (phone: 60px) */
  --div-h: 24px;                            /* height of the shaped section dividers (phone: 16px) */

  /* ---- Motion (phase 2; the engine is css/src/05-motion.css + js/src/00-core.js) ----
     Easings: the cubic-bezier values are the fallbacks; real springs replace them below where linear() exists. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);          /* fast start, soft landing: fades, slides */
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);       /* idle loops */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);    /* one overshoot (16%): entrances, hovers */
  --ease-wobble: cubic-bezier(0.3, 1.9, 0.5, 1);       /* bigger overshoot (35%): stickers, the nav marker */
  --ease-bounce: cubic-bezier(0.3, 1.3, 0.6, 1);       /* drops and lands like a ball (no overshoot past the floor) */
  --t-fast: 180ms;                          /* presses, colour changes */
  --t-med: 380ms;                           /* fades, small moves */
  --t-slow: 650ms;                          /* springy entrances (the spring needs the time to settle) */

  /* ---- Depth: the house "sticker" shadow is a hard offset, like the speech bubbles of the design ---- */
  --shadow-ink: rgba(5, 45, 44, 0.22);      /* the shadow colour on yellow / cream */
  --shadow-ink-strong: rgba(3, 30, 29, 0.45); /* on green / dark bands */
  --shadow-sticker: 4px 5px 0 var(--shadow-ink);
  --shadow-sticker-lg: 7px 9px 0 var(--shadow-ink);
  --shadow-soft: 0 12px 26px -12px rgba(5, 45, 44, 0.4);   /* a lifted card */
  --stroke: 2.5px;                          /* outline weight of stickers, chips and buttons */
  --radius-card: 22px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* ---- Stacking ---- */
  --z-header: 60;
  --z-burst: 90;
}

@supports (transition-timing-function: linear(0, 1)) {
  :root {
    --ease-spring: linear(0, 0.024 2.6%, 0.103 5.6%, 0.262 9.6%, 0.737 19.8%, 0.919 24.6%, 1.041 29%, 1.121 33.6%, 1.159 38.6%, 1.155 44.8%, 1.065 57.8%, 0.995 69.6%, 0.973 81.8%, 0.991 99.8%, 1);
    --ease-wobble: linear(0, 0.028 2%, 0.116 4.2%, 0.29 7%, 0.921 15.2%, 1.119 18.4%, 1.244 21.2%, 1.319 24%, 1.346 27%, 1.321 30.4%, 1.224 35%, 0.989 44%, 0.908 49%, 0.88 54%, 0.908 60.4%, 1.023 74.2%, 1.041 83%, 1);
    --ease-bounce: linear(0, 0.015 4.5%, 0.061 9%, 0.138 13.5%, 0.245 18%, 0.383 22.5%, 0.551 27%, 0.75 31.5%, 0.98 36%, 0.996 36.5%, 0.889 41%, 0.812 45.5%, 0.766 50%, 0.75 54.5%, 0.765 59%, 0.811 63.5%, 0.887 68%, 1 72.8%, 0.953 77.3%, 0.938 81.8%, 0.952 86.3%, 0.999 91%, 0.984 95.5%, 1);
  }
}

@media (max-width: 767.98px) {
  :root {
    --pt: calc(100vw / 390);
    --inset: var(--gutter);
    --inset-hero: var(--gutter);
    --header-h: 60px;
    --div-h: 16px;
  }
}

/* ---- Reset ----
   Element resets are wrapped in :where() so they carry NO specificity: any class rule
   (.nav__list { margin-inline: auto }) wins without tricks. */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Anchors and focused elements land below the sticky header (and the WP admin bar when logged in). */
  scroll-padding-top: calc(var(--header-h) + var(--wp-admin--admin-bar--height, 0px));
}

/* Extra air between the header and an anchor target. A page with its own sticky row under the header
   (the menu's section chips) raises --anchor-gap on its sections. */
:where(section[id], footer[id], [data-anchor]) {
  scroll-margin-top: var(--anchor-gap, 12px);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--c-cream-light);
  color: var(--c-green-dark);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Home is brand yellow with the faint halftone dots (the .tex-dots texture of 04-components.css).
   The yellow home slots are transparent, so the dots run through the whole page without a seam. */
body.momo--home {
  background-color: var(--c-yellow);
  background-image: radial-gradient(circle, rgba(5, 45, 44, 0.075) 1.5px, transparent 2px), radial-gradient(circle, rgba(5, 45, 44, 0.075) 1.5px, transparent 2px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd) {
  margin: 0;
}

:where(h1, h2, h3, h4, h5, h6) {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.1;
}

:where(ul[class], ol[class]) {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(img, picture, svg, video) {
  display: block;
  max-width: 100%;
}

:where(img, video) {
  height: auto;
}

:where(a) {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

:where(button, input, select, textarea) {
  font: inherit;
  color: inherit;
}

:where(button) {
  cursor: pointer;
}

:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}

[hidden] {
  display: none !important;
}

/* ---- Focus ---- */
:focus {
  outline: none;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* On the dark bar and other dark surfaces use the yellow ring: add .on-dark to the container. */
.on-dark :focus-visible,
.on-dark:focus-visible {
  outline-color: var(--c-yellow);
}

/* Sections that receive focus from the skip link / anchor navigation do not need a ring. */
main:focus,
section:focus,
footer:focus,
[tabindex="-1"]:focus {
  outline: none;
}

/* ---- Accessibility helpers ---- */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--c-green-dark);
  color: var(--c-yellow);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border-radius: 6px;
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: none;
  outline: 3px solid var(--c-yellow);
  outline-offset: 2px;
}

/* ---- Layout utilities ----
   .band       a full-bleed horizontal band (section background). Colour modifiers below.
               On the HOME page the band colour comes from the .slot wrapper of front-page.php, not from these.
   .container  the centred content column inside a band: 100% wide, capped at 1320 px, position: relative,
               so children can be placed with artboard coordinates: left: calc(X * var(--pt)).
               (Do not size anything to calc(1080 * var(--pt)): use 100%, a classic scrollbar makes
               100vw wider than the page.)
   .container--inset  adds the 131.38 pt side inset (the 827 pt column); on phones the 20 px gutter. */
/* Every band is its own stacking context: a decorative layer with a negative z-index (the doodle scatter)
   stays above the band colour and below the content. Art that must overlap the NEXT band needs z-index: 1
   on its own band. */
.band {
  position: relative;
  width: 100%;
  isolation: isolate;
}

.band--yellow { background: var(--c-yellow); }
.band--cream { background: var(--c-cream); }
.band--cream-light { background: var(--c-cream-light); }
.band--green { background: var(--c-green-mid); }
.band--dark { background: var(--c-green-dark); }

/* Clip artwork that bleeds past the band edge (stamps). Never let it widen the page. */
.band--clip {
  overflow: hidden;
  overflow: clip;
}

/* The 1 pt black rule the design draws above a section (hero/Taste, Taste/Buzz, frozen/footer). */
.band--rule-top {
  border-top: var(--rule);
}

.container {
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin-inline: auto;
}

.container--inset {
  padding-inline: var(--inset);
}

/* ---- Typography helpers (families only through the --font-* tokens of 00-fonts.css) ---- */
.t-display { font-family: var(--font-display); font-weight: 400; }       /* KG Blank Space Solid */
.t-rounded { font-family: var(--font-rounded); font-weight: 700; }       /* Riffic Free Bold */
.t-text { font-family: var(--font-text); font-weight: 400; }             /* Facers 400 */
.t-text-medium { font-family: var(--font-text); font-weight: 500; }      /* Facers 500 */
.t-condensed { font-family: var(--font-condensed); font-weight: 300; }   /* Facers Condensed 300 (400/500/600 exist) */
.t-menu-title { font-family: var(--font-menu-title); font-weight: 400; } /* TAN Headline */
.t-price { font-family: var(--font-price); font-weight: 400; font-variant-numeric: lining-nums; } /* Real Delight */
.t-footer { font-family: var(--font-footer); font-weight: 600; }         /* Metropolis SemiBold */
.t-nepali { font-family: var(--font-nepali); font-weight: 700; line-height: 1.4; } /* real Unicode Nepali, with lang="ne" */

.t-center { text-align: center; }
.t-nowrap { white-space: nowrap; }
.t-balance { text-wrap: balance; }

/* ---- Page shell ----
   The footer sits at the bottom of the window on short pages (404, a short generic page). */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.site-header,
.prefooter,
.site-footer {
  flex: none;
}

.site-main {
  display: block;
  flex: 1 0 auto;
}


/* ---- 02-header.css ---- */
/* ==========================================================================
   02-header.css   OWNER: [shared]
   The ONE compact sticky header bar (owner feedback: the old band was "too
   much"): logo left, the five links, the Call pill right. --header-h tall
   (72 px; phones 60 px: logo, call icon, menu button + a drop-down panel).
   Markup: header.php. Behaviour: js/src/00-core.js (section 5).
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  color: var(--c-green-dark);
  view-transition-name: momo-header;
}

/* Logged in: stay below the WordPress admin bar (which itself stops being fixed under 600 px). */
.admin-bar .site-header { top: 32px; }

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}

/* The bar carries the colour (not the header element), so the phone backdrop can sit behind it.
   Full-bleed colour, content capped at the page column. */
.site-header__bar {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(10px, 1.6vw, 24px);
  height: var(--header-h);
  padding-inline: max(clamp(14px, 2.4vw, 32px), calc((100% - var(--content-max)) / 2 + 32px));
  background: var(--c-yellow);
  border-bottom: 2px solid var(--c-green-dark);
}

/* A soft shadow once the page has scrolled (opacity only). */
.site-header__bar::after {
  content: "";
  position: absolute;
  inset: 100% 0 auto;
  height: 16px;
  margin-top: 2px;
  background: linear-gradient(rgba(5, 45, 44, 0.2), rgba(5, 45, 44, 0));
  opacity: 0;
  transition: opacity var(--t-med) ease;
  pointer-events: none;
}

.site-header.is-stuck .site-header__bar::after {
  opacity: 1;
}

/* ---- Logo ---- */
.site-header__logo {
  display: block;
  flex: none;
  width: calc((var(--header-h) - 16px) * 1.423); /* the artwork is 207.09 x 145.52 */
  border-radius: 10px;
  transform-origin: 50% 92%;
  view-transition-name: momo-logo;
}

.site-header__logo:focus-visible {
  outline-offset: 2px;
}

.site-header__logo .logo {
  transform-origin: 50% 92%;
}

/* ---- Links ---- */
.nav {
  position: relative;
  justify-self: center;
  view-transition-name: momo-nav;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0px, 0.9vw, 14px);
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 3px clamp(8px, 1.05vw, 14px) 0;
  border-radius: var(--radius-pill);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1;
  white-space: nowrap;
  color: var(--c-green-dark);
  text-decoration: none;
  transition: translate var(--t-med) var(--ease-spring);
}

.nav__link:focus-visible {
  outline-offset: -3px;
}

/* The marker: one little pill that springs to the hovered / focused link and back to the current one.
   Positioned by 00-core.js (--x = the link's centre). */
.nav__marker {
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 26px;
  height: 6px;
  margin-left: -13px;
  border-radius: var(--radius-pill);
  background: var(--c-green-dark);
  translate: var(--x, 0px) 0;
  scale: 0.2 1;
  opacity: 0;
  pointer-events: none;
}

.nav__marker.is-on {
  scale: 1;
  opacity: 1;
}

.nav.is-ready .nav__marker {
  transition: translate var(--t-slow) var(--ease-wobble), scale var(--t-med) var(--ease-spring), opacity var(--t-fast) ease;
}

/* Until the script has placed the marker (and without JavaScript) the current link draws its own. */
.nav:not(.has-marker) .nav__link.is-current::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  width: 26px;
  height: 6px;
  margin-left: -13px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

/* ---- Right side ---- */
.site-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 8px;
}

.nav-toggle,
.site-header__backdrop {
  display: none;
}

/* ---- Small, classy motion ---- */
@media (prefers-reduced-motion: no-preference) {
  /* The logo lands with one squash and stretch. */
  .site-header__logo {
    animation: momo-logo-land 0.75s var(--ease-out) 0.1s both;
  }

  /* The Call pill wobbles once, a moment after the page has settled. */
  .site-header__call {
    animation: momo-nudge 0.9s var(--ease-out) 1.6s 1 both;
  }

  @media (hover: hover) {
    .site-header__logo:hover .logo {
      animation: momo-jelly 0.6s var(--ease-out);
    }

    .nav__link:hover {
      translate: 0 -2px;
    }
  }
}

@keyframes momo-logo-land {
  0% { transform: translateY(-10px) scale(0.9, 1.1); }
  38% { transform: translateY(0) scale(1.12, 0.86); }
  62% { transform: scale(0.95, 1.06); }
  82% { transform: scale(1.02, 0.98); }
  100% { transform: none; }
}

/* ---- Tablet: tighten ---- */
@media (max-width: 899.98px) {
  .site-header__bar {
    column-gap: 6px;
  }
}

/* ---- Phone: logo, call icon, menu button; the links drop down as a panel ---- */
@media (max-width: 767.98px) {
  .site-header__bar {
    grid-template-columns: auto 1fr;
    padding-inline: 14px 10px;
  }

  /* The Call pill becomes a round icon button (its accessible name is the aria-label). */
  .site-header__call {
    --btn-sx: 3px;
    --btn-sy: 3px;
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  .site-header__call .btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .js .nav-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: var(--stroke) solid var(--c-green-dark);
    border-radius: 50%;
    background: var(--c-cream-light);
    color: var(--c-green-dark);
    box-shadow: 3px 3px 0 var(--shadow-ink);
    -webkit-tap-highlight-color: transparent;
    transition: scale var(--t-fast) var(--ease-spring);
  }

  .nav-toggle:active {
    scale: 0.9;
  }

  .nav-toggle__icon {
    position: relative;
    display: block;
    width: 20px;
    height: 16px;
  }

  .nav-toggle__icon::before,
  .nav-toggle__icon::after,
  .nav-toggle__icon span {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: currentColor;
    transition: transform var(--t-med) var(--ease-spring), opacity var(--t-fast) ease;
  }

  .nav-toggle__icon::before { top: 0; }
  .nav-toggle__icon span { top: 6.5px; }
  .nav-toggle__icon::after { top: 13px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::before { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon span { opacity: 0; transform: scaleX(0.2); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__icon::after { transform: translateY(-6.5px) rotate(-45deg); }

  /* The panel: a dark-green card that drops out of the bar with a little spring. */
  .js .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 10px;
    left: 10px;
    z-index: 1;
    max-height: calc(100vh - var(--header-h) - 28px);
    max-height: calc(100dvh - var(--header-h) - 28px);
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--c-green-dark);
    border-radius: var(--radius-card);
    box-shadow: 0 18px 40px -12px rgba(3, 30, 29, 0.55);
    transform-origin: 88% 0;
    transform: translateY(-12px) scale(0.92);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--t-fast) ease-in, opacity var(--t-fast) ease-in, visibility 0s linear var(--t-fast);
    view-transition-name: none;
  }

  .js .site-header.is-open .nav {
    transform: none;
    opacity: 1;
    visibility: visible;
    transition: transform var(--t-med) var(--ease-spring), opacity var(--t-fast) ease-out, visibility 0s;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav__link {
    justify-content: center;
    min-height: 52px;
    padding: 4px 16px 0;
    font-size: 21px;
    color: var(--c-yellow);
    border-radius: 16px;
  }

  .nav__link:focus-visible {
    outline-color: var(--c-yellow);
  }

  .nav__link.is-current,
  .nav__link.is-spy {
    background: var(--c-yellow);
    color: var(--c-green-dark);
  }

  .nav__link.is-current:focus-visible,
  .nav__link.is-spy:focus-visible {
    outline-color: var(--c-white);
  }

  .nav__marker,
  .nav:not(.has-marker) .nav__link.is-current::after {
    display: none;
  }

  /* The links pop in one after the other. */
  .js .nav__item {
    opacity: 0;
    translate: 0 12px;
    scale: 0.9;
  }

  .js .site-header.is-open .nav__item {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    transition: opacity var(--t-fast) ease-out, translate var(--t-med) var(--ease-spring), scale var(--t-med) var(--ease-spring);
  }

  .site-header.is-open .nav__item:nth-child(1) { transition-delay: 40ms; }
  .site-header.is-open .nav__item:nth-child(2) { transition-delay: 85ms; }
  .site-header.is-open .nav__item:nth-child(3) { transition-delay: 130ms; }
  .site-header.is-open .nav__item:nth-child(4) { transition-delay: 175ms; }
  .site-header.is-open .nav__item:nth-child(5) { transition-delay: 220ms; }

  /* Everything behind the open panel dims; a tap on it closes the panel. */
  .js .site-header__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: -1;
    background: rgba(3, 30, 29, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--t-med) ease, visibility 0s linear var(--t-med);
  }

  .js .site-header.is-open .site-header__backdrop {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--t-med) ease, visibility 0s;
  }

  /* Page scroll is locked while the panel is open. */
  html.nav-open {
    overflow: hidden;
  }

  /* Without JavaScript there is no button: the links sit in a second row and the header scrolls away. */
  html:not(.js) .site-header {
    position: static;
  }

  html:not(.js) .site-header__bar {
    height: auto;
    min-height: var(--header-h);
    row-gap: 2px;
    padding-block: 6px;
  }

  html:not(.js) .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
  }

  html:not(.js) .nav__list {
    flex-flow: row wrap;
    justify-content: center;
    gap: 0 4px;
  }

  html:not(.js) .nav__link {
    min-height: 44px;
    padding-inline: 10px;
    font-size: 16px;
    color: var(--c-green-dark);
    background: none;
  }

  html:not(.js) .nav__link.is-current {
    text-decoration: underline;
    text-decoration-thickness: 3px;
    text-underline-offset: 0.3em;
  }
}


/* ---- 03-footer.css ---- */
/* ==========================================================================
   03-footer.css   OWNER: [shared]
   1. Pre-footer (template-parts/prefooter.php): the green "खाजाको राजा" band
      on every page, with the skateboard momo riding its top edge.
   2. The cream site footer (id="contact"): logo + tagline, Explore, Find Us,
      social icons, the "back to top" momo, copyright.
   ========================================================================== */

/* ---- 1. Pre-footer ---------------------------------------------------------
   .prefooter__sky   the runway above the band. It shows the page background
                     (set --prefooter-sky on .prefooter if the last section of a
                     page has another colour).
   .prefooter__band  the green band (clips the stamps).                       */
.prefooter {
  --pf-skater: clamp(92px, calc(118 * var(--pt)), 144px);
  position: relative;
  z-index: 1;
}

.prefooter__sky {
  position: relative;
  height: calc(var(--pf-skater) * 0.82 + 30px);
  background: var(--prefooter-sky, transparent);
}

/* The rider is as wide as the page; sliding it by its own width moves the skater across the screen. */
.prefooter__rider {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.prefooter__skater {
  position: absolute;
  left: 71%;
  bottom: calc(var(--div-h, 24px) - 13px); /* the wheels touch the tops of the scallops */
  width: var(--pf-skater);
  height: auto;
  max-width: none;
  pointer-events: auto;
  cursor: pointer;
  transform-origin: 50% 95%;
}

@media (prefers-reduced-motion: no-preference) {
  /* Parked off the left edge until the band scrolls into view, then it rolls in and brakes. */
  .js-motion .prefooter__rider {
    transition: transform 1.7s cubic-bezier(0.16, 0.84, 0.3, 1) 0.15s;
  }

  .js-motion .prefooter__skater {
    transition: rotate 0.9s var(--ease-wobble) 1.25s;
  }

  .js-motion .prefooter:not(.is-in) .prefooter__rider {
    transform: translateX(-95%);
  }

  .js-motion .prefooter:not(.is-in) .prefooter__skater {
    rotate: -9deg;
  }
}

.prefooter__band {
  padding: calc(46 * var(--pt)) var(--gutter) calc(74 * var(--pt));
  text-align: center;
}

.prefooter__inner {
  z-index: 1;
}

.prefooter__slogan {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: calc(26.8 * var(--pt));
}

.prefooter__word {
  height: auto;
  max-width: none;
}

.prefooter__word--1 { width: calc(378.61 * var(--pt)); }
.prefooter__word--2 { width: calc(209.35 * var(--pt)); }

.prefooter__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
  margin-top: calc(34 * var(--pt));
}

/* Stamps hang off the band's own edges and are cropped by it (.band--clip). */
.prefooter__stamp {
  position: absolute;
  width: calc(129 * var(--pt));
  height: auto;
  max-width: none;
  --loop-dur: 46s;
  pointer-events: none;
}

.prefooter__stamp--left {
  left: calc(-34 * var(--pt));
  top: calc(26 * var(--pt));
}

.prefooter__stamp--right {
  right: calc(-30 * var(--pt));
  bottom: calc(40 * var(--pt));
  --loop-dir: reverse;
}

/* ---- 2. Footer ------------------------------------------------------------- */
.site-footer {
  position: relative;
  z-index: 2;
  background: var(--c-cream);
  color: var(--c-green-dark);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: calc(334.83 * var(--pt)) calc(206.07 * var(--pt)) minmax(0, 1fr);
  align-items: start;
  padding: calc(27 * var(--pt)) calc(20 * var(--pt)) 0 calc(60 * var(--pt));
}

/* Column 1: brand */
.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(250 * var(--pt)); /* x 60..310, centre 185 */
}

.site-footer__logo {
  display: block;
  width: calc(167.76 * var(--pt));
  border-radius: 10px;
}

.site-footer__tagline {
  flex: none;
  width: 16.4em; /* keeps the three designed lines at any size */
  margin-top: calc(7 * var(--pt));
  font-family: var(--font-text);
  font-size: max(14px, calc(14 * var(--pt)));
  line-height: 1.185;
  text-align: center;
  color: var(--c-black);
}

/* Columns 2 and 3 */
.site-footer__col {
  margin-top: calc(32.4 * var(--pt));
  font-family: var(--font-footer);
  font-weight: 600;
  font-size: max(15px, calc(23.76 * var(--pt)));
  line-height: 1.3716; /* 32.59 / 23.76 */
}

.site-footer__heading {
  margin-bottom: calc(0.7 * var(--pt));
  font: inherit;
  line-height: inherit;
  color: var(--c-gold);
}

.site-footer__links a,
.site-footer__contact a {
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__contact a:hover {
  text-decoration: underline;
  text-decoration-thickness: max(2px, calc(2 * var(--pt)));
  text-underline-offset: 0.2em;
}

/* Find Us: icon column 22.9 pt wide (icons x 600.9, text x 623.79). */
.site-footer__contact {
  font-size: max(15px, calc(24.3 * var(--pt)));
  line-height: 1.3412; /* the same 32.59 pt pitch */
}

.site-footer__row {
  display: grid;
  grid-template-columns: calc(22.9 * var(--pt)) minmax(0, 1fr);
  align-items: center;
}

.site-footer__icon {
  transform: translateY(calc(-1 * var(--pt)));
}

.site-footer__icon--pin { width: calc(12.77 * var(--pt)); }
.site-footer__icon--phone { width: calc(13.69 * var(--pt)); }

.site-footer__row > :not(.site-footer__icon) {
  grid-column: 2;
  overflow-wrap: anywhere;
}

/* Social icons: under the contact rows, aligned with their text. */
.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: calc(16 * var(--pt));
  padding-left: calc(22.9 * var(--pt));
}

/* "Back to top": the logo momo in a round sticker sitting on the footer's top edge. It hops. */
.to-top {
  position: absolute;
  top: -34px;
  right: max(18px, calc((100% - var(--content-max)) / 2 + 34px));
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border: var(--stroke) solid var(--c-green-dark);
  border-radius: 50%;
  background: var(--c-yellow);
  box-shadow: var(--shadow-sticker);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: translate var(--t-fast) var(--ease-spring), scale var(--t-fast) var(--ease-spring);
}

.to-top__momo {
  display: block;
  width: 36px;
  margin-top: -6px;
  transform-origin: 50% 100%;
}

/* The label shows as a little flag on hover / focus; it is always there for assistive tech. */
.to-top__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  padding: 0.45em 0.9em 0.35em;
  border-radius: var(--radius-pill);
  background: var(--c-green-dark);
  color: var(--c-yellow);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
  translate: 8px -50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) ease, translate var(--t-med) var(--ease-spring);
}

.to-top:focus-visible .to-top__label {
  opacity: 1;
  translate: 0 -50%;
}

.to-top:active {
  translate: 2px 3px;
  scale: 0.95;
}

@media (hover: hover) {
  .to-top:hover .to-top__label {
    opacity: 1;
    translate: 0 -50%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .to-top:focus-visible .to-top__momo {
    animation: momo-hop 0.7s var(--ease-out);
  }

  @media (hover: hover) {
    .to-top:hover .to-top__momo {
      animation: momo-hop 0.7s var(--ease-out);
    }
  }
}

/* Copyright */
.site-footer__copyright {
  margin: 0;
  padding: calc(46.6 * var(--pt)) var(--gutter) calc(40 * var(--pt));
  font-family: var(--font-display);
  font-size: max(13px, calc(14 * var(--pt)));
  line-height: 1.4;
  text-align: center;
  color: var(--c-black);
}

/* ---- Phone ---- */
@media (max-width: 767.98px) {
  .prefooter {
    --pf-skater: 92px;
  }

  .prefooter__skater {
    left: 58%;
  }

  .prefooter__band {
    padding: 34px var(--gutter) 62px;
  }

  .prefooter__slogan {
    gap: calc(15 * var(--pt));
  }

  /* The two words side by side fill the 350 px column: (378.61 + 209.35) x 0.57 + 15 = 350. */
  .prefooter__word--1 { width: calc(215.8 * var(--pt)); }
  .prefooter__word--2 { width: calc(119.3 * var(--pt)); }

  .prefooter__actions {
    flex-direction: column;
    align-items: center;
    margin-top: 26px;
  }

  .prefooter__stamp {
    width: 84px;
  }

  .prefooter__stamp--left {
    left: -30px;
    top: -18px;
  }

  .prefooter__stamp--right {
    right: -28px;
    bottom: 34px;
  }

  .site-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    padding: 40px var(--gutter) 0;
    text-align: center;
  }

  .site-footer__brand {
    width: 100%;
  }

  .site-footer__logo {
    width: 150px;
  }

  .site-footer__tagline {
    width: 17em;
    max-width: 100%;
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.3;
  }

  .site-footer__col {
    width: 100%;
    margin-top: 0;
    font-size: 17px;
    line-height: 1.3;
  }

  .site-footer__heading {
    margin-bottom: 2px;
    font-size: 18px;
  }

  .site-footer__links a,
  .site-footer__contact a,
  .site-footer__contact span.site-footer__text {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .site-footer__contact {
    font-size: 17px;
    line-height: 1.3;
  }

  .site-footer__row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
  }

  .site-footer__icon {
    flex: none;
    transform: none;
  }

  .site-footer__icon--pin { width: 12px; }
  .site-footer__icon--phone { width: 14px; }

  .site-footer__social {
    justify-content: center;
    margin-top: 12px;
    padding-left: 0;
  }

  .to-top {
    top: -30px;
    right: 16px;
    width: 60px;
    height: 60px;
  }

  .to-top__momo {
    width: 32px;
  }

  .site-footer__copyright {
    padding: 26px var(--gutter) 30px;
    font-size: 13px;
    line-height: 1.5;
    text-wrap: balance;
  }
}


/* ---- 04-components.css ---- */
/* ==========================================================================
   04-components.css   OWNER: [shared]
   Shared components (usage examples: MOTION.md and the PHP helpers in
   inc/components.php):
     1. Buttons        .btn  (momo_button())
     2. Chips          .chip (momo_chip()), sticker cards .sticker
     3. Section head   .section-head (momo_heading())
     4. Icons, social buttons, the logo with live eyes
     5. Ticker         .ticker (template-parts/ticker.php), used ONCE
     6. Divider        .divider (template-parts/divider.php), .squiggle
     7. Home slots     .slot (front-page.php), textures .tex-dots
     8. Doodle scatter .scatter (momo_scatter()), particles .burst
     9. Generic page   .plain, .entry
   ========================================================================== */

/* ---- 1. Buttons -------------------------------------------------------------
   One pill for every action. The face (::before) and the offset "sticker"
   shadow (::after) are separate layers, so a press moves the face onto its
   shadow with transforms only.
     .btn--primary    dark green, yellow text (default look of .btn)
     .btn--call       primary with the phone icon (the icon rings on hover)
     .btn--secondary  cream face, dark outline: the second action on yellow / cream
     .btn--light      yellow face, dark text: the primary on green / dark bands
     .btn--ghost      yellow outline: the second action on green / dark bands
     .btn--sm / --lg  sizes (44 px / 60 px tall; the default is 52 px)
   States: hover lifts and wobbles, :active squishes, :focus-visible rings.
   The states use translate / rotate / scale, so `transform` stays free.     */
.btn {
  --btn-bg: var(--c-green-dark);
  --btn-fg: var(--c-yellow);
  --btn-line: var(--c-green-dark);
  --btn-shadow: var(--shadow-ink);
  --btn-sx: 4px;
  --btn-sy: 5px;
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 52px;
  padding: 0.62em 1.5em 0.5em;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  color: var(--btn-fg);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: clamp(17px, calc(20 * var(--pt)), 22px);
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: translate var(--t-fast) var(--ease-spring), scale var(--t-fast) var(--ease-spring), color var(--t-fast) ease;
}

.btn::before,
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.btn::before {
  z-index: -1;
  background: var(--btn-bg);
  border: var(--stroke) solid var(--btn-line);
  transition: background-color var(--t-fast) ease;
}

.btn::after {
  z-index: -2;
  background: var(--btn-shadow);
  transform: translate(var(--btn-sx), var(--btn-sy));
  transition: transform var(--t-fast) var(--ease-spring);
}

.btn__label {
  position: relative;
}

.btn__icon {
  display: inline-flex;
  flex: none;
  margin-top: -0.14em;
}

.btn__icon .icon {
  width: 1.05em;
  height: 1.05em;
}

.btn__icon--after {
  transition: translate var(--t-med) var(--ease-spring);
}

.btn:focus-visible {
  outline: 3px solid var(--btn-focus, var(--c-green-dark));
  outline-offset: 4px;
  border-radius: var(--radius-pill);
}

/* Press: the face lands on its shadow and squishes. */
.btn:active {
  translate: calc(var(--btn-sx) - 1px) calc(var(--btn-sy) - 1px);
  scale: 0.97 0.94;
}

.btn:active::after {
  transform: translate(1px, 1px);
}

@media (hover: hover) {
  .btn:hover {
    translate: -1px -2px;
  }

  .btn:hover::after {
    transform: translate(calc(var(--btn-sx) + 2px), calc(var(--btn-sy) + 3px));
  }

  .btn:hover .btn__icon--after {
    translate: 4px 0;
  }

  .btn:active {
    translate: calc(var(--btn-sx) - 1px) calc(var(--btn-sy) - 1px);
  }

  .btn:active::after {
    transform: translate(1px, 1px);
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover {
    animation: momo-btn-wobble 0.55s var(--ease-out);
  }

  .btn--call:hover .icon,
  .btn:hover .icon--phone {
    animation: momo-ring 0.7s ease-in-out;
  }
}

.btn--secondary {
  --btn-bg: var(--c-cream-light);
  --btn-fg: var(--c-green-dark);
}

.btn--light {
  --btn-bg: var(--c-yellow);
  --btn-fg: var(--c-green-dark);
  --btn-line: var(--c-yellow);
  --btn-shadow: var(--shadow-ink-strong);
  --btn-focus: var(--c-yellow);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--c-yellow);
  --btn-line: var(--c-yellow);
  --btn-shadow: transparent;
  --btn-focus: var(--c-yellow);
}

@media (hover: hover) {
  .btn--secondary:hover { --btn-bg: var(--c-white); }
  .btn--primary:hover,
  .btn--call:hover { --btn-bg: var(--c-green-forest); }
  .btn--ghost:hover { --btn-bg: rgba(241, 214, 73, 0.16); }
}

.btn--sm {
  --btn-sx: 3px;
  --btn-sy: 4px;
  min-height: 44px;
  padding: 0.55em 1.15em 0.42em;
  font-size: 16px;
}

.btn--lg {
  --btn-sx: 5px;
  --btn-sy: 7px;
  min-height: 60px;
  padding-inline: 1.7em;
  font-size: clamp(19px, calc(24 * var(--pt)), 27px);
}

/* Phase-1 name of the secondary look. */
.btn--outline {
  --btn-bg: var(--c-cream-light);
  --btn-fg: var(--c-green-dark);
}

@keyframes momo-btn-wobble {
  0% { rotate: 0deg; }
  25% { rotate: -2.2deg; }
  50% { rotate: 1.6deg; }
  75% { rotate: -0.8deg; }
  100% { rotate: 0deg; }
}

@keyframes momo-ring {
  0%, 100% { rotate: 0deg; }
  15% { rotate: -16deg; }
  30% { rotate: 14deg; }
  45% { rotate: -11deg; }
  60% { rotate: 8deg; }
  75% { rotate: -4deg; }
}

/* ---- 2. Chips and stickers --------------------------------------------------
   .chip              a small tilted pill label. --tilt sets the angle.
   .chip--dark | --yellow | --cream | --green | --orange | --outline
   .sticker           a card: paper face, dark outline, hard offset shadow.
   .sticker--lift     add it to a .sticker (or any tilted card) that should
                      lift, straighten and grow a little on hover.            */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0.4em 0.95em 0.28em;
  border: 2px solid var(--c-green-dark);
  border-radius: var(--radius-pill);
  background: var(--c-green-dark);
  color: var(--c-yellow);
  box-shadow: 2px 3px 0 var(--shadow-ink);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: clamp(13px, calc(15 * var(--pt)), 17px);
  line-height: 1.1;
  white-space: nowrap;
  rotate: var(--tilt, 0deg);
}

.chip--yellow { background: var(--c-yellow); color: var(--c-green-dark); }
.chip--cream { background: var(--c-cream-light); color: var(--c-green-dark); }
.chip--green { background: var(--c-green-mid); border-color: var(--c-green-dark); color: var(--c-white); }
.chip--orange { background: var(--c-orange); color: var(--c-green-dark); }
.chip--outline { background: transparent; color: var(--c-green-dark); box-shadow: none; }

.sticker {
  background: var(--c-cream-light);
  border: var(--stroke) solid var(--c-green-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sticker-lg);
  rotate: var(--tilt, 0deg);
}

.sticker--lift {
  transition: translate var(--t-med) var(--ease-spring), rotate var(--t-med) var(--ease-spring), scale var(--t-med) var(--ease-spring);
}

@media (hover: hover) {
  .sticker--lift:hover {
    translate: 0 -6px;
    rotate: 0deg;
    scale: 1.03;
  }
}

/* ---- 3. Section heading -------------------------------------------------------
   Markup from momo_heading(): kicker chip, the heading in the display face, lead. */
.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(14 * var(--pt));
  max-width: calc(827 * var(--pt));
  margin-inline: auto;
  text-align: center;
  color: var(--c-green-dark);
}

.section-head--left {
  align-items: flex-start;
  margin-inline: 0;
  text-align: left;
}

.section-head--on-dark {
  color: var(--c-yellow);
}

.section-head__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, calc(60.3 * var(--pt)), 74px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-head__lead {
  max-width: 34em;
  font-family: var(--font-text);
  font-size: clamp(16px, calc(22.16 * var(--pt)), 26px);
  line-height: 1.3;
  text-wrap: balance;
}

@media (max-width: 767.98px) {
  .section-head {
    gap: 10px;
    max-width: none;
  }

  .section-head__title {
    font-size: clamp(34px, calc(40 * var(--pt)), 44px);
  }

  .section-head__lead {
    font-size: 17px;
  }
}

/* ---- 4. Icons, social buttons, the logo ---------------------------------------- */
.icon {
  display: block;
  flex: none;
  width: 1.25em;
  height: 1.25em;
}

/* Round social button (the footer; reusable): <a class="social" ...>momo_icon( 'instagram' )</a> */
.social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--c-green-dark);
  color: var(--c-yellow);
  box-shadow: 3px 4px 0 var(--shadow-ink);
  -webkit-tap-highlight-color: transparent;
  transition: translate var(--t-med) var(--ease-spring), rotate var(--t-med) var(--ease-spring), scale var(--t-fast) var(--ease-spring);
}

.social .icon {
  width: 24px;
  height: 24px;
}

.social:active {
  translate: 2px 3px;
  scale: 0.94;
}

@media (hover: hover) {
  .social:hover {
    translate: 0 -3px;
    rotate: -8deg;
  }
}

/* The logo: artwork <img> + the inline eye overlay drawn exactly over its eyes (momo_logo()). */
.logo {
  position: relative;
  display: block;
}

.logo__img {
  width: 100%;
  height: auto;
}

.logo__eyes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eyes__pupil {
  transform: translate(var(--px, 0px), var(--py, 0px));
  transition: transform 140ms var(--ease-out);
}

.eyes__lid {
  transform-box: fill-box;
  transform-origin: 50% 0;
  transform: scaleY(0);
  transition: transform 70ms ease-in;
}

.eyes.is-blinking .eyes__lid {
  transform: scaleY(1);
}

/* ---- 5. Ticker -------------------------------------------------------------------
   ONE strip, under the home hero (template-parts/ticker.php). Four identical lists
   sit in a row; the track slides left by exactly one list and starts again.
   Pauses on hover / focus inside, when off screen (.is-offscreen from the engine)
   and stands still under reduced motion (05-motion.css).
     .ticker--dark (default) | --yellow | --green | --cream
     --ticker-speed   seconds per pass (set by the template)                         */
.ticker {
  --tk-bg: var(--c-green-dark);
  --tk-fg: var(--c-yellow);
  position: relative;
  z-index: 1;
  overflow: hidden;
  overflow: clip;
  background: var(--tk-bg);
  color: var(--tk-fg);
}

.ticker--yellow { --tk-bg: var(--c-yellow); --tk-fg: var(--c-green-dark); border-block: 2px solid var(--c-green-dark); }
.ticker--green { --tk-bg: var(--c-green-mid); --tk-fg: var(--c-yellow); }
.ticker--cream { --tk-bg: var(--c-cream); --tk-fg: var(--c-green-dark); border-block: 2px solid var(--c-green-dark); }

.ticker__track {
  display: flex;
  width: max-content;
  animation: momo-ticker var(--ticker-speed, 38s) linear infinite;
}

.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track {
  animation-play-state: paused;
}

.ticker__list {
  display: flex;
  flex: none;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticker__item {
  display: flex;
  align-items: center;
  padding-block: 15px 12px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(17px, calc(21 * var(--pt)), 25px);
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__item[lang="ne"] {
  font-family: var(--font-nepali);
  font-weight: 700;
  font-size: clamp(18px, calc(22 * var(--pt)), 26px);
  letter-spacing: 0;
  line-height: 1.4;
  padding-block: 8px 6px;
}

/* The little line-art momo between the words (an inline mask, drawn in the text colour). */
.ticker__item::after {
  content: "";
  flex: none;
  width: 1.35em;
  height: 1.35em;
  margin: -0.2em 1.15em 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4c1 4 5 5 8 7 4 3 6 7 5 11-1 5-7 7-13 7S4 27 3 22c-1-4 1-8 5-11 3-2 7-3 8-7z'/%3E%3Cpath d='M12 11c1 2 1 4 0 6M16 9v7M20 11c-1 2-1 4 0 6M11 22c2 2 8 2 10 0'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23000' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4c1 4 5 5 8 7 4 3 6 7 5 11-1 5-7 7-13 7S4 27 3 22c-1-4 1-8 5-11 3-2 7-3 8-7z'/%3E%3Cpath d='M12 11c1 2 1 4 0 6M16 9v7M20 11c-1 2-1 4 0 6M11 22c2 2 8 2 10 0'/%3E%3C/svg%3E") center / contain no-repeat;
}

@keyframes momo-ticker {
  to { transform: translateX(-25%); } /* four lists: one list = 25% of the track */
}

@media (max-width: 767.98px) {
  .ticker__item {
    padding-block: 13px 10px;
  }

  .ticker__item::after {
    margin-inline: 0.9em;
  }
}

/* ---- 6. Divider ---------------------------------------------------------------------
   The shaped edge between two bands (template-parts/divider.php). A repeating vector
   mask painted in ONE colour (--div-c), --div-h tall (24 px; phones 16 px):
     normal            sits at the top of the lower band, pulled up over the band above
                       (adds no height): the lower colour rises into the upper band
     .divider--flip    stays in flow at the top of the lower band: the upper colour
                       hangs down into it
     .divider--block   a strip of its own with --div-from behind the shape
     .divider--scallop | --wave | --torn   the shape                                    */
.divider {
  --div-tile: 56px;
  position: relative;
  z-index: 2;
  height: var(--div-h);
  margin-top: calc(var(--div-h) * -1);
  pointer-events: none;
}

.divider::before {
  content: "";
  position: absolute;
  inset: 0 0 -1px;
  background: var(--div-c);
  -webkit-mask: var(--div-mask) repeat-x 50% 0 / var(--div-tile) calc(100% - 1px);
  mask: var(--div-mask) repeat-x 50% 0 / var(--div-tile) calc(100% - 1px);
}

/* The 1 px below the shape is solid: no hairline between the edge and the band it belongs to. */
.divider::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--div-c);
}

.divider--flip {
  margin-top: 0;
  transform: scaleY(-1);
}

.divider--block {
  margin-top: 0;
  background: var(--div-from, transparent);
}

.divider--scallop {
  --div-tile: 56px;
  --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20v-2C0 8 9 0 20 0s20 8 20 18v2z'/%3E%3C/svg%3E");
}

.divider--wave {
  --div-tile: 132px;
  --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20V10Q15-3 30 10T60 10V20z'/%3E%3C/svg%3E");
}

.divider--torn {
  --div-tile: 264px;
  --div-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 20' preserveAspectRatio='none'%3E%3Cpath d='M0 20V8L7 4L15 11L20 2L29 2L36 9L41 9L47 2L52 7L60 2L66 2L75 7L80 12L89 2L95 11L106 9L111 9L120 7L125 4L130 9L136 5L144 4L153 2L162 5L171 12L182 4L187 9L196 11L202 5L207 9L218 2L227 2L240 8V20z'/%3E%3C/svg%3E");
}

@media (max-width: 767.98px) {
  .divider--scallop { --div-tile: 38px; }
  .divider--wave { --div-tile: 90px; }
  .divider--torn { --div-tile: 180px; }
}

/* A short hand-drawn wave between two bands of the SAME colour (front-page.php uses it when
   the testimonials follow the buzz). */
.squiggle {
  width: min(220px, 46%);
  height: 14px;
  margin-inline: auto;
  background: var(--c-green-dark);
  opacity: 0.45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14'%3E%3Cpath d='M2 7Q11.5-3 22 7T42 7' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50% / 44px 14px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 14'%3E%3Cpath d='M2 7Q11.5-3 22 7T42 7' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 50% / 44px 14px;
}

/* ---- 7. Home slots and textures --------------------------------------------------------
   front-page.php wraps every home section in a .slot: the slot paints the band colour
   and carries the divider, the section inside stays transparent. The :where() keeps the
   reset at single-class weight, so a section file CAN paint its own background.
     .slot--yellow   transparent on the home page (the body is the textured yellow)
     .slot--cream | --cream-light | --green | --dark | --mint
   .tex-dots   the faint halftone dots, for a yellow / cream band on other pages.          */
.slot {
  position: relative;
  isolation: isolate;
}

.slot--yellow { background-color: var(--c-yellow); }
.slot--cream { background-color: var(--c-cream); }
.slot--cream-light { background-color: var(--c-cream-light); }
.slot--green { background-color: var(--c-green-mid); }
.slot--dark { background-color: var(--c-green-dark); }
.slot--mint { background-color: var(--c-mint); }

.momo--home .slot--yellow {
  background: none;
}

.slot > :where(.band) {
  background: transparent;
}

.slot > .band--rule-top {
  border-top: 0;
}

/* A placeholder section that has no content yet still shows as a band. */
.slot > section:empty {
  min-height: 140px;
}

.tex-dots {
  background-image: radial-gradient(circle, var(--tex-ink, rgba(5, 45, 44, 0.075)) 1.5px, transparent 2px), radial-gradient(circle, var(--tex-ink, rgba(5, 45, 44, 0.075)) 1.5px, transparent 2px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

/* ---- 8. Doodle scatter and particles ---------------------------------------------------
   momo_scatter(): line-art doodles at low contrast behind a band's content, drifting
   slowly (.drift from 05-motion.css). First child of a .band / .slot.                    */
.scatter {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  overflow: clip;
  pointer-events: none;
}

.scatter__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--s);
  height: auto;
  max-width: none;
  opacity: var(--scatter-opacity, 0.14);
  rotate: var(--r, 0deg);
  --loop-dist: 14px;
}

@media (max-width: 767.98px) {
  .scatter__item {
    width: calc(var(--s) * 0.7);
  }

  .scatter__item:nth-child(n + 5) {
    display: none;
  }
}

/* Momo.burst(): the particle layer (removed again when the burst is over). */
.burst {
  position: fixed;
  inset: 0;
  z-index: var(--z-burst);
  overflow: hidden;
  pointer-events: none;
}

.burst img {
  position: absolute;
  max-width: none;
  will-change: transform, opacity;
}

/* ---- 9. Generic page (page.php, index.php) ----------------------------------------------
   The shell class is .plain, NOT .page: WordPress puts "page", "home", "search",
   "single", "archive", "blog", "error404" ... on <body>, so never use those as
   component class names. */
.plain {
  padding: calc(64 * var(--pt)) var(--inset) calc(84 * var(--pt));
  background: var(--c-cream-light);
}

.plain__inner {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
}

.plain__title {
  margin-bottom: 0.55em;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, calc(60.3 * var(--pt)), 74px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-green-dark);
  overflow-wrap: break-word;
}

.plain__card {
  padding: clamp(22px, calc(36 * var(--pt)), 44px);
  background: var(--c-white);
  border: var(--stroke) solid var(--c-green-dark);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sticker-lg);
}

.plain__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
}

.entry {
  font-size: max(16px, calc(18 * var(--pt)));
  line-height: 1.6;
  overflow-wrap: break-word;
}

.entry > * + * {
  margin-top: 1em;
}

.entry h2,
.entry h3,
.entry h4 {
  margin-top: 1.6em;
  font-family: var(--font-rounded);
  font-weight: 700;
  line-height: 1.2;
}

.entry h2 { font-size: 1.5em; }
.entry h3 { font-size: 1.25em; }
.entry h4 { font-size: 1.1em; }

.entry a:not(.btn) {
  color: var(--c-green-forest);
  text-decoration: underline;
}

.entry a:not(.btn):hover {
  color: var(--c-green-dark);
}

.entry ul,
.entry ol {
  padding-left: 1.3em;
}

.entry img {
  border-radius: var(--radius-sm);
}

.entry table {
  width: 100%;
}

.entry th,
.entry td {
  padding: 0.4em 0.6em;
  border: 1px solid rgba(5, 45, 44, 0.25);
  text-align: left;
}

.plain__list {
  display: grid;
  gap: 1.2em;
}

.plain__list-title {
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: 1.3em;
}

@media (max-width: 767.98px) {
  .plain {
    padding: 36px var(--gutter) 48px;
  }

  .plain__title {
    font-size: 40px;
  }
}


/* ---- 05-motion.css ---- */
/* ==========================================================================
   05-motion.css   OWNER: [shared]
   The motion engine, CSS half (the other half: js/src/00-core.js). Everything
   is driven by attributes and utility classes; the full reference with
   copy-paste examples is MOTION.md.
     1. Scroll reveals     [data-reveal], [data-reveal-group], [data-inview]
     2. Idle loops         .float .bob .breathe .wiggle .sway .spin-slow
                           .twinkle .drift .steam   (+ [data-loop] for your own)
     3. Interaction        [data-tilt], [data-poke], shared one-shot keyframes
     4. Page transitions   cross-document View Transitions
     5. Reduced motion     everything above switched off in ONE place
   Rules of the engine:
     - Reveals and loops use the individual properties translate / rotate /
       scale, so they add up with an element's own `transform`.
     - Hidden start states exist only under html.js-motion (set by the inline
       head script) and only when the visitor has not asked for reduced motion:
       without JavaScript, or with reduced motion, everything is simply visible.
   ========================================================================== */

/* Smooth anchor scrolling (the offset under the sticky header is scroll-padding-top in 01-base.css). */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* ---- 1. Scroll reveals ------------------------------------------------------
   data-reveal="pop | rise | drop | left | right | tilt | zoom | fade"
   The engine adds .is-in once, when the element scrolls into view, and
   .is-revealed about a second later (the transition is then dropped, so it
   never slows a later hover effect). Knobs (custom properties on the element):
     --reveal-delay   set by data-delay="ms" or by the stagger of a [data-reveal-group]
     --reveal-dist    travel of rise / drop / left / right (default 34px)
     --reveal-dur     duration of the springy part (default var(--t-slow))            */
@media (prefers-reduced-motion: no-preference) {
  .js-motion [data-reveal]:not(.is-revealed) {
    transition:
      opacity var(--t-med) var(--ease-out) var(--reveal-delay, 0ms),
      translate var(--reveal-dur, var(--t-slow)) var(--ease-spring) var(--reveal-delay, 0ms),
      scale var(--reveal-dur, var(--t-slow)) var(--ease-spring) var(--reveal-delay, 0ms),
      rotate var(--reveal-dur, var(--t-slow)) var(--ease-spring) var(--reveal-delay, 0ms);
  }

  .js-motion [data-reveal]:not(.is-in) { opacity: 0; }
  .js-motion [data-reveal="pop"]:not(.is-in) { scale: 0.6; }
  .js-motion [data-reveal="zoom"]:not(.is-in) { scale: 0.86; }
  .js-motion [data-reveal="rise"]:not(.is-in) { translate: 0 var(--reveal-dist, 34px); }
  .js-motion [data-reveal="drop"]:not(.is-in) { translate: 0 calc(var(--reveal-dist, 34px) * -1); }
  .js-motion [data-reveal="left"]:not(.is-in) { translate: calc(var(--reveal-dist, 34px) * -1.4) 0; }
  .js-motion [data-reveal="right"]:not(.is-in) { translate: calc(var(--reveal-dist, 34px) * 1.4) 0; }
  .js-motion [data-reveal="tilt"]:not(.is-in) { translate: 0 var(--reveal-dist, 34px); rotate: -7deg; scale: 0.92; }
}

/* ---- 2. Idle loops ------------------------------------------------------------
   Decorative art only (aria-hidden). Knobs, set on the element:
     --loop-dur     duration of one swing          --loop-delay   start offset (negative = already running)
     --loop-dist    travel (.float .bob .drift .steam)
     --loop-angle   swing (.wiggle .sway)          --loop-scale   .breathe / .twinkle low point
     --loop-dir     normal | reverse (.spin-slow)
   A mascot and its shadow stay in sync with the same --loop-dur and --loop-delay:
     <img class="bob" style="--loop-dur: 3.2s"> <img class="breathe" style="--loop-dur: 3.2s">
   The engine pauses every loop that is off screen (.is-offscreen).               */
.float { animation: momo-float var(--loop-dur, 4.6s) var(--ease-in-out) var(--loop-delay, 0s) infinite alternate; }
.bob { animation: momo-bob var(--loop-dur, 3.2s) var(--ease-in-out) var(--loop-delay, 0s) infinite alternate; transform-origin: 50% 100%; }
.breathe { animation: momo-breathe var(--loop-dur, 3.2s) var(--ease-in-out) var(--loop-delay, 0s) infinite alternate; }
.wiggle { animation: momo-wiggle var(--loop-dur, 2.4s) var(--ease-in-out) var(--loop-delay, 0s) infinite alternate; }
.sway { animation: momo-wiggle var(--loop-dur, 3.6s) var(--ease-in-out) var(--loop-delay, 0s) infinite alternate; transform-origin: 50% 100%; }
.spin-slow { animation: momo-spin var(--loop-dur, 40s) linear var(--loop-delay, 0s) infinite var(--loop-dir, normal); }
.twinkle { animation: momo-twinkle var(--loop-dur, 1.8s) var(--ease-in-out) var(--loop-delay, 0s) infinite alternate; }
.drift { animation: momo-drift var(--loop-dur, 18s) var(--ease-in-out) var(--loop-delay, 0s) infinite; }
.steam { animation: momo-steam var(--loop-dur, 3.4s) ease-out var(--loop-delay, 0s) infinite; }

.is-offscreen,
.is-offscreen::before,
.is-offscreen::after {
  animation-play-state: paused !important;
}

@keyframes momo-float {
  from { translate: 0 0; }
  to { translate: 0 calc(var(--loop-dist, 10px) * -1); }
}

@keyframes momo-bob {
  from { translate: 0 0; scale: 1.02 0.98; }
  to { translate: 0 calc(var(--loop-dist, 14px) * -1); scale: 0.99 1.01; }
}

@keyframes momo-breathe {
  from { scale: 1; }
  to { scale: var(--loop-scale, 0.84); }
}

@keyframes momo-wiggle {
  from { rotate: calc(var(--loop-angle, 4deg) * -1); }
  to { rotate: var(--loop-angle, 4deg); }
}

@keyframes momo-spin {
  to { rotate: 360deg; }
}

@keyframes momo-twinkle {
  from { scale: var(--loop-scale, 0.7); opacity: 0.55; }
  to { scale: 1.08; opacity: 1; }
}

@keyframes momo-drift {
  0%, 100% { translate: 0 0; }
  25% { translate: var(--loop-dist, 12px) calc(var(--loop-dist, 12px) * -0.6); }
  50% { translate: calc(var(--loop-dist, 12px) * 0.3) calc(var(--loop-dist, 12px) * -1.1); }
  75% { translate: calc(var(--loop-dist, 12px) * -0.8) calc(var(--loop-dist, 12px) * -0.4); }
}

@keyframes momo-steam {
  0% { translate: 0 0; scale: 0.9; opacity: 0; }
  25% { opacity: 0.85; }
  100% { translate: 0 calc(var(--loop-dist, 22px) * -1); scale: 1.12; opacity: 0; }
}

/* ---- 3. Interaction -----------------------------------------------------------
   data-tilt="8"   a card leans towards the pointer (max angle in degrees). The engine
                   sets --tilt-x / --tilt-y; this uses `transform`, so give the element's
                   own resting angle with `rotate:` (or put it on a parent).
   data-poke="hop | spin | jelly"   a mascot reacts when hovered or tapped.
   Shared one-shot keyframes: momo-hop, momo-jelly, momo-spin-once, momo-nudge.          */
[data-tilt] {
  transform: perspective(700px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform var(--t-slow) var(--ease-spring);
}

[data-tilt].is-tilting {
  transition: transform 90ms linear;
}

[data-poke] {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  [data-poke="hop"].is-poked { animation: momo-hop 0.7s var(--ease-out); }
  [data-poke="spin"].is-poked { animation: momo-spin-once 0.8s var(--ease-spring); }
  [data-poke="jelly"].is-poked { animation: momo-jelly 0.6s var(--ease-out); }

  @media (hover: hover) {
    [data-poke="hop"]:hover { animation: momo-hop 0.7s var(--ease-out); }
    [data-poke="spin"]:hover { animation: momo-spin-once 0.8s var(--ease-spring); }
    [data-poke="jelly"]:hover { animation: momo-jelly 0.6s var(--ease-out); }
  }
}

@keyframes momo-hop {
  0% { translate: 0 0; scale: 1; }
  18% { translate: 0 2px; scale: 1.1 0.88; }
  45% { translate: 0 -22%; scale: 0.94 1.08; rotate: -5deg; }
  72% { translate: 0 0; scale: 1.08 0.9; rotate: 0deg; }
  86% { scale: 0.98 1.03; }
  100% { translate: 0 0; scale: 1; }
}

@keyframes momo-jelly {
  0%, 100% { scale: 1; }
  25% { scale: 1.12 0.88; }
  50% { scale: 0.92 1.08; }
  75% { scale: 1.04 0.97; }
}

@keyframes momo-spin-once {
  from { rotate: 0deg; }
  to { rotate: 360deg; }
}

/* A single "look at me": used by the header's Call pill. */
@keyframes momo-nudge {
  0%, 100% { rotate: 0deg; scale: 1; }
  20% { rotate: -7deg; scale: 1.06; }
  40% { rotate: 6deg; scale: 1.06; }
  60% { rotate: -4deg; }
  80% { rotate: 2deg; }
}

/* ---- 4. Page transitions --------------------------------------------------------
   Cross-document View Transitions: moving between the three pages cross-fades the
   content while the header (and inside it the logo and the links) stays put as shared
   elements. Browsers without support simply load the page.                          */
@view-transition {
  navigation: auto;
}

@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) {
    animation: momo-vt-out 160ms ease-in both;
  }

  ::view-transition-new(root) {
    animation: momo-vt-in 340ms var(--ease-out) both;
  }
}

@keyframes momo-vt-out {
  to { opacity: 0; transform: translateY(-8px); }
}

@keyframes momo-vt-in {
  from { opacity: 0; transform: translateY(14px); }
}

/* ---- 5. Reduced motion -------------------------------------------------------------
   One switch for the whole site: no loops, no ticker movement, no springs, no smooth
   scrolling, instant page changes. Reveals are already limited to no-preference above,
   so nothing is ever hidden here.                                                      */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .float,
  .bob,
  .breathe,
  .wiggle,
  .sway,
  .spin-slow,
  .twinkle,
  .drift,
  .steam,
  .ticker__track,
  [data-loop] {
    animation: none !important;
  }

  /* Steam wisps are invisible at rest. */
  .steam {
    opacity: 0.6;
  }

  [data-tilt] {
    transform: none;
  }

  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) {
    animation: none !important;
  }
}


/* ---- 10-home-hero.css ---- */
/* ==========================================================================
   10-home-hero.css   OWNER: [home-top]
   Home hero (#hero): Nepali headline artwork inside the H1, sub-line, mascot
   Rules: prefix every class with the section name (BEM-ish). Sizes as
   calc(N * var(--pt)) with N in artboard points; phone layout inside
   @media (max-width: 767.98px). Fonts only through var(--font-*), colours
   through var(--c-*). Rebuild with tools/build-css.sh. See FOUNDATION.md.

   Artboard: y 296.11 .. 927.43 (631.32 pt high). Coordinates below are the
   artboard values minus 296.11.
     headline  73.78, 54.36   504.19 x 329.46
     sub-line  81.58, first baseline 448.18, Riffic 40 / 48
     mascot    652.00, 112.84  341.41 x 285.25
     shadow    747.79, 427.59  181.52 x 18.61
   ========================================================================== */

.hero__inner {
  min-height: calc(631.32 * var(--pt));
  padding: calc(54.36 * var(--pt)) var(--inset-hero) calc(96 * var(--pt));
}

.hero__title {
  /* the lettering starts 7.8 pt left of the sub-line edge (73.78 vs 81.58) */
  width: calc(504.19 * var(--pt));
  margin-left: calc(-7.8 * var(--pt));
}

.hero__headline {
  width: 100%;
  height: auto;
}

.hero__subline {
  margin-top: calc(26 * var(--pt));
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: calc(40 * var(--pt));
  line-height: 1.2;
  color: var(--c-green-dark);
}

.hero__subline-line {
  display: block;
  white-space: nowrap;
}

/* Mascot + ground shadow. --hero-u is the unit of this little drawing, so the
   phone layout can scale the pair as one piece. */
.hero__art {
  --hero-u: var(--pt);
  position: absolute;
  left: calc(652 * var(--pt));
  top: calc(112.84 * var(--pt));
  width: calc(341.41 * var(--hero-u));
  height: calc(333.36 * var(--hero-u));
}

.hero__mascot {
  width: 100%;
  height: auto;
}

.hero__shadow {
  position: absolute;
  left: calc(95.79 * var(--hero-u));
  top: calc(314.75 * var(--hero-u));
  width: calc(181.52 * var(--hero-u));
  height: auto;
}

/* The design leaves a gap between the steamer and its shadow: the mascot hovers.
   A slow, small bob, only for visitors who have not asked for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  .hero__mascot {
    animation: hero-bob 3.6s ease-in-out infinite alternate;
    will-change: transform;
  }

  .hero__shadow {
    animation: hero-shadow 3.6s ease-in-out infinite alternate;
  }
}

@keyframes hero-bob {
  from { transform: translateY(0); }
  to { transform: translateY(calc(-9 * var(--hero-u))); }
}

@keyframes hero-shadow {
  from { transform: scaleX(1); opacity: 1; }
  to { transform: scaleX(0.9); opacity: 0.82; }
}

/* ---- Phone: lettering, sub-line, then the mascot centred underneath ---- */
@media (max-width: 767.98px) {
  /* --hero-p: the phone unit (1/390 of the screen), capped so that large phones and small
     tablets in the phone layout (546 to 767 px) do not blow the artwork up any further. */
  .hero {
    --hero-p: min(var(--pt), 1.4px);
  }

  .hero__inner {
    min-height: 0;
    padding: calc(34 * var(--hero-p)) var(--gutter) calc(44 * var(--hero-p));
  }

  .hero__title {
    width: calc(312 * var(--hero-p));
    max-width: 100%;
    margin-left: calc(-4 * var(--hero-p));
  }

  .hero__subline {
    margin-top: calc(20 * var(--hero-p));
    font-size: max(22px, calc(28 * var(--hero-p)));
  }

  .hero__art {
    --hero-u: calc(0.74 * var(--hero-p));
    position: relative;
    left: auto;
    top: auto;
    margin: calc(34 * var(--hero-p)) auto 0;
  }
}


/* ---- 11-home-taste.css ---- */
/* ==========================================================================
   11-home-taste.css   OWNER: [home-top]
   Home "Taste & Capture" (#taste): label rows, title, ribbon, three polaroids
   Rules: prefix every class with the section name (BEM-ish). Sizes as
   calc(N * var(--pt)) with N in artboard points; phone layout inside
   @media (max-width: 767.98px). Fonts only through var(--font-*), colours
   through var(--c-*). Rebuild with tools/build-css.sh. See FOUNDATION.md.

   Artboard: y 927.43 .. 1689.70 (762.27 pt high); values below minus 927.43.
     label rows 46 pt each (foundation: 28 pt inset + one 18 pt line)
     title art  y 59.76     490.16 x 230.76
     ribbon     y 308.89    561.5 x 50.8, Facers Medium 33
     polaroids  y 390.1 .. 685.1 (the rotated cards' outer box, 655.4 wide)
   Normalised (BUILD decision 13): title, ribbon and the card group are centred
   on the page (the artboard has them 14.6 pt right, 12.6 pt left and 6.2 pt
   right of centre), the ribbon text is centred in the ribbon, side borders of
   each polaroid are equal and all three captions sit 29 pt under the photo.
   ========================================================================== */

.taste__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(12.76 * var(--pt)) 0 calc(31.2 * var(--pt));
}

.taste__title {
  width: calc(490.16 * var(--pt));
}

.taste__title-art {
  width: 100%;
  height: auto;
}

.taste__ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(561.5 * var(--pt));
  min-height: calc(50.8 * var(--pt));
  margin-top: calc(18.37 * var(--pt));
  background: var(--c-green-dark);
  color: var(--c-yellow);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: calc(33 * var(--pt));
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

/* ---- Polaroids ------------------------------------------------------------
   Each card is one upright white rectangle rotated by --taste-tilt (set in the
   markup: 6.26 / 2.23 / 5.97 deg). --taste-u is the card's unit, so the phone
   layout can enlarge the cards without touching their proportions.
   Per card: --w card width, --side side border, --top top border, --strip the
   caption strip under the photo, --cx / --cy the card centre inside the group. */
.taste__cards {
  position: relative;
  width: calc(655.4 * var(--pt));
  height: calc(295 * var(--pt));
  margin-top: calc(30.4 * var(--pt));
}

.taste__card {
  --taste-u: var(--pt);
  position: absolute;
  left: calc(var(--cx) * var(--pt));
  top: calc(var(--cy) * var(--pt));
  width: calc(var(--w) * var(--taste-u));
  padding: calc(var(--top) * var(--taste-u)) calc(var(--side) * var(--taste-u)) 0;
  background: var(--c-white);
  transform: translate(-50%, -50%) rotate(var(--taste-tilt, 0deg));
}

.taste__card--left {
  --w: 202.3;
  --side: 9.75;
  --top: 8.5;
  --strip: 52.3;
  --cx: 113.4;
  --cy: 128.5;
}

.taste__card--centre {
  --w: 241.5;
  --side: 12.35;
  --top: 7.8;
  --strip: 63.4;
  --cx: 338.7;
  --cy: 151.5;
}

.taste__card--right {
  --w: 184.3;
  --side: 6.15;
  --top: 4.4;
  --strip: 52.8;
  --cx: 552.2;
  --cy: 143.1;
}

.taste__figure {
  display: block;
}

.taste__photo {
  width: 100%;
  height: auto;
}

.taste__caption {
  display: block;
  height: calc(var(--strip) * var(--taste-u));
  padding-top: calc(9.2 * var(--taste-u));
  font-family: var(--font-text);
  font-weight: 500;
  font-size: calc(23.65 * var(--taste-u));
  line-height: 1;
  color: var(--c-green-dark);
  text-align: center;
  white-space: nowrap;
}

/* ---- Phone: the three cards zig-zag down the screen, still tilted and still
   overlapping a little, in the same stacking order ---- */
@media (max-width: 767.98px) {
  /* --taste-p: the phone unit (1/390 of the screen), capped at 1.4 px (screens wider than 546 px). */
  .taste {
    --taste-p: min(var(--pt), 1.4px);
  }

  .taste__inner {
    padding: calc(22 * var(--taste-p)) var(--gutter) calc(30 * var(--taste-p));
  }

  .taste__title {
    width: calc(300 * var(--taste-p));
    max-width: 100%;
  }

  .taste__ribbon {
    width: calc(350 * var(--taste-p));
    max-width: 100%;
    min-height: calc(44 * var(--taste-p));
    margin-top: calc(14 * var(--taste-p));
    padding: 4px 8px;
    font-size: max(16px, calc(20 * var(--taste-p)));
  }

  .taste__cards {
    display: flex;
    flex-direction: column;
    width: calc(350 * var(--taste-p));
    max-width: 100%;
    height: auto;
    margin-top: calc(34 * var(--taste-p));
  }

  .taste__card {
    --taste-u: calc(1.06 * var(--taste-p));
    position: relative;
    left: auto;
    top: auto;
    transform: rotate(var(--taste-tilt, 0deg));
  }

  .taste__card--left {
    align-self: flex-start;
    margin-left: calc(12 * var(--taste-p));
  }

  /* Overlaps are kept shallow enough that the card on top never covers the caption below it
     (the captions sit high in their strips; the lower part of each strip is spare). */
  .taste__card--centre {
    align-self: flex-end;
    margin-top: calc(-2 * var(--taste-p));
    margin-right: calc(6 * var(--taste-p));
  }

  .taste__card--right {
    align-self: flex-start;
    margin-top: calc(-14 * var(--taste-p));
    margin-left: calc(30 * var(--taste-p));
  }
}


/* ---- 12-home-buzz.css ---- */
/* ==========================================================================
   12-home-buzz.css   OWNER: [home-top]
   Home "The MoMo Buzz" (#buzz): label rows, heading + sub-copy, two phone cards
   Rules: prefix every class with the section name (BEM-ish). Sizes as
   calc(N * var(--pt)) with N in artboard points; phone layout inside
   @media (max-width: 767.98px). Fonts only through var(--font-*), colours
   through var(--c-*). Rebuild with tools/build-css.sh. See FOUNDATION.md.

   Artboard: y 1689.70 .. 2403.04 (713.34 pt high); values below minus 1689.70.
     label rows 46 pt each (foundation)
     heading    x 131.38, baselines 202.92 / 305.62 / 408.32, KG Blank Space 100 / 102.7
     sub-copy   x 138.19, baselines 458.73 ..., Facers 37.15 / 44.58
     phones     outer box of both rotated cards 528.68, 117.15  471.09 x 445.45
                front (left, on top) centre 666.22, 299.98, -7.12 deg
                back (right)         centre 865.74, 381.75, +5.61 deg
   Normalised (BUILD decision 13): the dark body sits centred in the white slab
   of each card (the front card was 0.3 / 0.6 pt off).
   ========================================================================== */

.buzz__inner {
  min-height: calc(620.34 * var(--pt));
}

.buzz__text {
  padding-top: calc(61.6 * var(--pt));
  color: var(--c-green-dark);
}

.buzz__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(100 * var(--pt));
  line-height: 1.027;
}

.buzz__title-line {
  display: block;
  white-space: nowrap;
}

.buzz__title-line--tight {
  /* The spec notes about -30/1000 tracking on "MOMO", but the artboard line is 367.5 pt wide, which is
     the font's natural width at 100 pt (checked by overlay): no tracking. */
  letter-spacing: 0;
}

.buzz__copy {
  margin: calc(6.8 * var(--pt)) 0 0 calc(6.81 * var(--pt));
  font-family: var(--font-text);
  font-weight: 400;
  font-size: calc(37.15 * var(--pt));
  line-height: 1.2;
}

.buzz__copy-line {
  display: block;
  white-space: nowrap;
}

/* ---- The pair of phone cards: one link to Instagram -------------------------
   --buzz-u is the unit of the drawing (the phone layout scales the pair as one
   piece). The box is the axis-aligned bounds of both rotated cards. */
.buzz__reels {
  --buzz-u: var(--pt);
  position: absolute;
  left: calc(528.68 * var(--pt));
  top: calc(70.15 * var(--pt)); /* 117.15 minus the 46 pt label row and the 1 pt rule */
  display: block;
  width: calc(471.09 * var(--buzz-u));
  height: calc(445.45 * var(--buzz-u));
  border-radius: calc(28.95 * var(--buzz-u));
  text-decoration: none;
}

.buzz__reels:focus-visible {
  outline-offset: 6px;
  border-radius: calc(28.95 * var(--buzz-u));
}

/* One card: white slab > dark body > white "screen" > thumbnail, all sharing the rotation. */
.buzz__phone {
  position: absolute;
  left: calc(var(--cx) * var(--buzz-u));
  top: calc(var(--cy) * var(--buzz-u));
  display: block;
  width: calc(240.86 * var(--buzz-u));
  height: calc(345.19 * var(--buzz-u));
  background: var(--c-white);
  border-radius: calc(28.95 * var(--buzz-u));
  transform: translate(-50%, -50%) rotate(var(--buzz-tilt, 0deg));
  transition: transform 0.25s ease;
}

.buzz__phone--front {
  --cx: 137.54;
  --cy: 182.83;
  --body-x: 8.16;
  --body-y: 11.7;
  --screen-x: 21.51;
  --screen-y: 39.77;
  --screen-w: 197.84;
  --screen-h: 265.64;
  --thumb-y: 48.13;
}

.buzz__phone--back {
  --cx: 337.06;
  --cy: 264.6;
  --body-x: 11.04;
  --body-y: 15.82;
  --screen-x: 19.65;
  --screen-y: 40.7;
  --screen-w: 201.55;
  --screen-h: 263.79;
  --thumb-y: 50.92;
}

.buzz__body {
  position: absolute;
  inset: calc(var(--body-y) * var(--buzz-u)) calc(var(--body-x) * var(--buzz-u));
  background: var(--c-green-dark);
  border-radius: calc(28.95 * var(--buzz-u));
}

.buzz__screen {
  position: absolute;
  left: calc(var(--screen-x) * var(--buzz-u));
  top: calc(var(--screen-y) * var(--buzz-u));
  width: calc(var(--screen-w) * var(--buzz-u));
  height: calc(var(--screen-h) * var(--buzz-u));
  background: var(--c-white);
}

.buzz__thumb-wrap {
  position: absolute;
  left: calc(26.15 * var(--buzz-u));
  top: calc(var(--thumb-y) * var(--buzz-u));
  width: calc(188.55 * var(--buzz-u));
  height: calc(249.86 * var(--buzz-u));
  overflow: hidden;
  border-radius: calc(7 * var(--buzz-u)); /* hides the white corner pixels baked into the screenshots */
}

.buzz__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* A small lift so the pair reads as a link (not in the static design). */
.buzz__reels:hover .buzz__phone--front,
.buzz__reels:focus-visible .buzz__phone--front {
  transform: translate(-50%, -50%) translateY(calc(-5 * var(--buzz-u))) rotate(var(--buzz-tilt, 0deg));
}

.buzz__reels:hover .buzz__phone--back,
.buzz__reels:focus-visible .buzz__phone--back {
  transform: translate(-50%, -50%) translateY(calc(3 * var(--buzz-u))) rotate(var(--buzz-tilt, 0deg));
}

/* ---- Phone: text first, the pair of cards centred underneath ---- */
@media (max-width: 767.98px) {
  /* --buzz-p: the phone unit (1/390 of the screen), capped at 1.4 px (screens wider than 546 px). */
  .buzz {
    --buzz-p: min(var(--pt), 1.4px);
  }

  .buzz__inner {
    min-height: 0;
    padding-bottom: calc(30 * var(--buzz-p));
  }

  .buzz__text {
    padding-top: calc(26 * var(--buzz-p));
  }

  .buzz__title {
    font-size: calc(80 * var(--buzz-p));
    line-height: 0.98;
  }

  .buzz__copy {
    margin: calc(12 * var(--buzz-p)) 0 0 calc(4 * var(--buzz-p));
    font-size: max(18px, calc(22 * var(--buzz-p)));
    line-height: 1.3;
  }

  .buzz__copy-line {
    display: inline;
    white-space: normal;
  }

  .buzz__reels {
    --buzz-u: calc(0.74 * var(--buzz-p));
    position: relative;
    left: auto;
    top: auto;
    margin: calc(30 * var(--buzz-p)) auto 0;
  }
}


/* ---- 13-home-reviews.css ---- */
/* ==========================================================================
   13-home-reviews.css   OWNER: [home-bottom]
   Home What MoMo Lovers Say (#reviews): speech bubbles driven by momo_reviews()
   Rules: prefix every class with the section name (BEM-ish). Sizes as
   calc(N * var(--pt)) with N in artboard points; phone layout inside
   @media (max-width: 767.98px). Fonts only through var(--font-*), colours
   through var(--c-*). Rebuild with tools/build-css.sh. See FOUNDATION.md.

   Design-spec 2.4. The artboard sets the names at 9 pt and the quotes at 10 pt,
   which is unreadable on the web, so the bubbles are drawn about 1.3 times
   larger (the block fills the 827 pt label-row column instead of 668 pt) and
   the text has pixel floors. Bubble heights follow their text.
   Normalised drawing slips: one corner radius, one tail, one shadow offset and
   an even star pitch (the artboard has three slightly different bubbles).
   ========================================================================== */

.reviews {
  --reviews-radius: calc(30 * var(--pt));
  --reviews-tail-w: calc(38 * var(--pt));
  --reviews-tail-h: calc(27 * var(--pt));
  --reviews-shadow: calc(13 * var(--pt));
  --reviews-row-gap: calc(70 * var(--pt));
  color: var(--c-green-dark);
}

.reviews__inner {
  padding-top: calc(46.4 * var(--pt));
  padding-bottom: calc(72 * var(--pt));
  text-align: center;
}

/* ---- Heading and sub-line ---- */
.reviews__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(60.3 * var(--pt));
  line-height: 1;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.reviews__lead {
  max-width: 20.2em;                 /* breaks after "from", as on the artboard */
  margin: calc(16.9 * var(--pt)) auto 0;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: max(16px, calc(22.16 * var(--pt)));
  line-height: 1.12;
}

/* ---- The list ----
   Seven tracks (no column gap) that add up to the content column. They give every slot the
   layouts need:
     tall left = 1          wide right = 3..7        (the designed trio)
     wide left = 1..5       tall right = 7           (its mirror image, for six reviews)
     half left = 1..3       half right = 5..7        (two wide cards side by side)        */
.reviews__list {
  display: grid;
  grid-template-columns: 262fr 64fr 55.5fr 64fr 55.5fr 64fr 262fr;
  row-gap: var(--reviews-row-gap);
  align-items: stretch;
  margin-top: calc(21.4 * var(--pt));
  text-align: center;
}

.reviews__card--tall-left { grid-column: 1; grid-row: 1 / span 2; }
.reviews__card--wide-right-1 { grid-column: 3 / -1; grid-row: 1; }
.reviews__card--wide-right-2 { grid-column: 3 / -1; grid-row: 2; }
.reviews__card--half-left { grid-column: 1 / 4; grid-row: 3; }
.reviews__card--half-right { grid-column: 5 / -1; grid-row: 3; }
.reviews__card--wide-left-1 { grid-column: 1 / 6; grid-row: 3; }
.reviews__card--wide-left-2 { grid-column: 1 / 6; grid-row: 4; }
.reviews__card--tall-right { grid-column: 7; grid-row: 3 / span 2; }

/* One or two reviews: wide cards, one per row, centred. */
.reviews__list--stack {
  grid-template-columns: minmax(0, calc(520 * var(--pt)));
  justify-content: center;
}

/* Four (or more than six) reviews: wide cards two per row; an odd last card is centred. */
.reviews__list--pairs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: calc(64 * var(--pt));
}

.reviews__list--pairs > .reviews__card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc(50% - 32 * var(--pt));
}

/* ---- The speech bubble ----
   Dark-green box, every corner rounded except the bottom-right one, where a triangular tail
   drops down flush with the right edge. The hard shadow is the same silhouette (tail included)
   in black 10% on the cream band, shifted straight down: a zero-blur drop-shadow does exactly that. */
.reviews__card {
  position: relative;
  min-width: 0;
  background: var(--c-green-dark);
  border-radius: var(--reviews-radius) var(--reviews-radius) 0 var(--reviews-radius);
  color: var(--c-cream);
  filter: drop-shadow(0 var(--reviews-shadow) 0 var(--c-shadow-on-cream));
}

.reviews__card::after {
  content: "";
  position: absolute;
  top: calc(100% - 1px);
  right: 0;
  width: var(--reviews-tail-w);
  height: calc(var(--reviews-tail-h) + 1px);
  background: var(--c-green-dark);
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.reviews__who,
.reviews__say {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.reviews__avatar {
  height: auto;
}

.reviews__name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: max(14px, calc(12.5 * var(--pt)));
  line-height: 1.2;
  color: var(--c-star-amber);
  overflow-wrap: anywhere;
}

.reviews__quote {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: max(15px, calc(13.5 * var(--pt)));
  line-height: 1.32;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.reviews__stars {
  display: flex;
  justify-content: center;
  flex: none;
}

.reviews__star {
  flex: none;
  height: auto;
}

/* ---- Tall bubble: avatar, name, quote, stars (top to bottom) ---- */
.reviews__card--tall {
  align-self: start;
  margin-top: calc(7 * var(--pt));
  padding: calc(21 * var(--pt)) calc(16 * var(--pt)) calc(34 * var(--pt));
}

.reviews__card--tall .reviews__avatar {
  width: calc(153 * var(--pt));
  max-width: 62%;
}

.reviews__card--tall .reviews__name {
  margin-top: calc(11 * var(--pt));
}

.reviews__card--tall .reviews__say {
  flex-direction: column-reverse;    /* the stars sit under the quote on the tall bubble */
  margin-top: calc(7 * var(--pt));
}

.reviews__card--tall .reviews__stars {
  gap: calc(7.5 * var(--pt));
  margin-top: calc(17 * var(--pt));
}

.reviews__card--tall .reviews__star {
  width: max(15px, calc(18 * var(--pt)));
}

/* ---- Wide bubble: avatar with the name under it on the left, stars above the quote on the right ---- */
.reviews__card--wide {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  align-items: center;
  min-height: calc(172 * var(--pt));
  padding: calc(15 * var(--pt)) calc(26 * var(--pt)) calc(12 * var(--pt)) 0;
}

/* Half-width wide bubbles (two per row): a slightly wider avatar column, less side padding. */
.reviews__card--half-left,
.reviews__card--half-right,
.reviews__list--pairs > .reviews__card--wide {
  grid-template-columns: 32% minmax(0, 1fr);
  padding-right: calc(18 * var(--pt));
}

.reviews__card--wide .reviews__avatar {
  width: 66%;
}

/* The disc avatars are drawn a little smaller than the free-standing one. */
.reviews__card--wide .reviews__avatar--avatar-1,
.reviews__card--wide .reviews__avatar--avatar-3 {
  width: 61%;
}

.reviews__card--wide .reviews__name {
  margin-top: calc(7 * var(--pt));
  padding-inline: 4px;
}

.reviews__card--wide .reviews__say {
  padding-bottom: calc(10 * var(--pt));
}

.reviews__card--wide .reviews__stars {
  gap: calc(10 * var(--pt));
  margin-bottom: calc(22 * var(--pt));
}

.reviews__card--wide .reviews__star {
  width: max(17px, calc(24 * var(--pt)));
}

/* ---- Phone: one column ---- */
@media (max-width: 767.98px) {
  .reviews {
    --reviews-radius: 26px;
    --reviews-tail-w: 32px;
    --reviews-tail-h: 23px;
    --reviews-shadow: 10px;
    --reviews-row-gap: 54px;
  }

  .reviews__inner {
    padding-top: 30px;
    padding-bottom: 58px;
  }

  .reviews__title {
    font-size: calc(50 * var(--pt));
    line-height: 0.98;
    white-space: normal;
    text-wrap: balance;
  }

  .reviews__lead {
    max-width: 19em;
    margin-top: 14px;
    font-size: 18px;
    line-height: 1.2;
    text-wrap: balance;
  }

  .reviews__list,
  .reviews__list--stack,
  .reviews__list--pairs {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-top: 26px;
    column-gap: 0;
    row-gap: var(--reviews-row-gap);
  }

  .reviews__list--pairs > .reviews__card:last-child:nth-child(odd) {
    width: auto;
  }

  .reviews__name {
    font-size: 15px;
  }

  .reviews__quote {
    font-size: 16px;
    line-height: 1.34;
  }

  .reviews__card--tall {
    align-self: stretch;
    margin-top: 0;
    padding: 22px 20px 30px;
  }

  .reviews__card--tall .reviews__avatar {
    width: 132px;
    max-width: 50%;
  }

  .reviews__card--tall .reviews__name {
    margin-top: 12px;
  }

  .reviews__card--tall .reviews__say {
    margin-top: 8px;
  }

  .reviews__card--tall .reviews__stars {
    gap: 8px;
    margin-top: 16px;
  }

  .reviews__card--tall .reviews__star {
    width: 20px;
  }

  .reviews__card--wide,
  .reviews__list--pairs > .reviews__card--wide {
    grid-template-columns: 29% minmax(0, 1fr);
    min-height: 0;
    padding: 18px 16px 16px 0;
  }

  .reviews__card--wide .reviews__avatar {
    width: 70%;
  }

  .reviews__card--wide .reviews__avatar--avatar-1,
  .reviews__card--wide .reviews__avatar--avatar-3 {
    width: 66%;
  }

  .reviews__card--wide .reviews__name {
    margin-top: 8px;
  }

  .reviews__card--wide .reviews__say {
    padding-bottom: 4px;
  }

  .reviews__card--wide .reviews__stars {
    gap: 7px;
    margin-bottom: 12px;
  }

  .reviews__card--wide .reviews__star {
    width: 20px;
  }
}


/* ---- 14-home-frozen.css ---- */
/* ==========================================================================
   14-home-frozen.css   OWNER: [home-bottom]
   Home frozen momo block (#frozen): Nepali heading, paragraph, packs, label bars
   Rules: prefix every class with the section name (BEM-ish). Sizes as
   calc(N * var(--pt)) with N in artboard points; phone layout inside
   @media (max-width: 767.98px). Fonts only through var(--font-*), colours
   through var(--c-*). Rebuild with tools/build-css.sh. See FOUNDATION.md.

   Design-spec 2.5. Artboard x positions: headline 119.26..627.05, paragraph
   centred on 353.5, packs + shadow 608.43..999.77, ribbons centred on 754.1.
   NOT on the artboard: .frozen__call (the phone link under the paragraph);
   to make room the text block sits about 12 pt higher than drawn.
   ========================================================================== */

.frozen {
  color: var(--c-green-dark);
}

.frozen__inner {
  display: grid;
  grid-template-columns: calc(507.79 * var(--pt)) calc(391.34 * var(--pt));
  align-items: start;
  padding: calc(14.2 * var(--pt)) 0 calc(12 * var(--pt)) calc(119.26 * var(--pt));
}

/* ---- Text column ---- */
.frozen__text {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-top: calc(26 * var(--pt));
}

.frozen__title {
  margin: 0;
}

.frozen__title-art {
  width: 100%;
  height: auto;
}

/* Paragraph + call link, centred on x = 353.5 (the box is 119.26..587.76). */
.frozen__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(468.5 * var(--pt));
}

.frozen__copy {
  margin-top: calc(32 * var(--pt));
  font-family: var(--font-nepali);
  font-weight: 700;
  font-size: max(15px, calc(21.3 * var(--pt)));
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}

.frozen__copy-line {
  display: block;
}

/* The call link: drawn like the label ribbons (dark bar, Riffic, yellow). */
.frozen__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3em;                        /* the word space between "Call" and the number (flex drops it) */
  min-height: max(44px, calc(38 * var(--pt)));
  margin-top: calc(16 * var(--pt));
  padding: 0.12em 1.05em 0;
  background: var(--c-green-dark);
  color: var(--c-yellow);
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: max(16px, calc(18.36 * var(--pt)));
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.frozen__call:hover,
.frozen__call:focus-visible {
  background: var(--c-green-forest);
  color: var(--c-white);
}

/* ---- Packs + the two ribbons ----
   The picture is the packs-with-shadow composite (391.34 x 349.3 pt). It starts 18.6 pt left of
   the end of the headline: only its soft shadow reaches under the exclamation mark. */
.frozen__visual {
  position: relative;
  margin-left: calc(-18.62 * var(--pt));
}

.frozen__packs {
  width: 100%;
  height: auto;
  /* (integrator) The ground-shadow layer of the mock-up is cut off square at the picture's left and right
     edges (about 10% grey on the right, visible as a vertical line on the yellow band; the artboard has
     the same slip). The packs span 5.9% to 96.5% of the width, so fading the outer 3.4% touches the
     shadow only. */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 3.4%, #000 96.6%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 3.4%, #000 96.6%, transparent 100%);
}

/* Ribbons: centred on x = 754.1 (37.22% of the picture), top at y 3413.62 (80.52% of its height).
   Bar 1 is 234.3 x 20.8 with 15.13 pt text, bar 2 is 277.6 x 26.4 with 18.36 pt text and overlaps
   bar 1 by 2.7 pt. All in em so the bars keep their shape when the text hits its pixel floor. */
.frozen__labels {
  position: absolute;
  top: 80.52%;
  left: 37.22%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  transform: translateX(-50%);
  color: var(--c-yellow);
  font-family: var(--font-rounded);
  font-weight: 700;
  white-space: nowrap;
}

.frozen__label {
  display: block;
  background: var(--c-green-dark);
}

.frozen__label--1 {
  position: relative;                /* its descenders lie over bar 2, as drawn */
  z-index: 1;
  padding: 0.23em 0.65em 0;
  font-size: max(13px, calc(15.13 * var(--pt)));
  line-height: 1.15;
}

.frozen__label--2 {
  margin-top: -0.147em;
  padding: 0.054em 0.558em 0.155em;
  font-size: max(15px, calc(18.36 * var(--pt)));
  line-height: 1.23;
}

/* ---- Phone: headline, paragraph, call link, packs ---- */
@media (max-width: 767.98px) {
  .frozen__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 26px var(--gutter) 8px;
  }

  .frozen__text {
    width: 100%;
    margin-top: 0;
  }

  .frozen__title-art {
    max-width: 400px;
    margin-inline: auto;
  }

  .frozen__body {
    width: 100%;
  }

  .frozen__copy {
    max-width: 24em;
    margin-top: 22px;
    font-size: clamp(16px, calc(18 * var(--pt)), 21px);
    line-height: 1.5;
    white-space: normal;
    text-wrap: balance;
  }

  .frozen__copy-line {
    display: inline;
  }

  .frozen__call {
    min-height: 48px;
    margin-top: 18px;
    padding-inline: 1.2em;
    font-size: 18px;
  }

  .frozen__visual {
    width: 100%;
    max-width: 420px;
    margin: 14px auto 0;
  }

  .frozen__label--1 {
    font-size: clamp(13px, calc(14.4 * var(--pt)), 17px);
  }

  .frozen__label--2 {
    font-size: clamp(15px, calc(17.5 * var(--pt)), 21px);
  }
}


/* ---- 20-menu.css ---- */
/* ==========================================================================
   20-menu.css   OWNER: [menu]
   Full Menu page (#menu): cards, price table, panels, green band
   Rules: prefix every class with the section name (BEM-ish). Sizes as
   calc(N * var(--pt)) with N in artboard points; phone layout inside
   @media (max-width: 767.98px). Fonts only through var(--font-*), colours
   through var(--c-*). Rebuild with tools/build-css.sh. See FOUNDATION.md.

   Artboard 3 (design-spec section 4). Vertical positions are built from the
   artboard's text baselines: every text block has a fixed line-height, so the
   margins below land each baseline where it is drawn (checked by overlay).
   Normalised on purpose (BUILD decisions 11 and 13):
     - the yellow card is centred (drawn 11 pt left of the page centre) and
       ends 70 pt under the last Chef's Blend baseline (240 pt of empty card
       on the artboard is a drawing leftover);
     - the table heads are centred on their price columns, the four price
       columns have one pitch (98.7 pt; drawn 98.2 / 95.1 / 102.8);
     - the Thukpa and Wings boxes are one component with one even border and
       one title tracking (drawn 0 and -20); panel, boxes and their titles are
       centred on the page ("Khaja Ko Sathi" is drawn 22 pt right of centre);
     - Chef's Blend and its list are centred in the card (drawn 3 to 6 pt right);
     - one space between name, variants and price (the artboard has stray
       double and triple spaces, e.g. "Thicheko Aalu   99").
   Kept as drawn: the Chicken Wings price in the name face (Riffic), every other
   price in var(--font-price); "Bhatti Noodles" prices on their own line.
   Markup (template-parts/menu-*.php):
     .menu > .menu__inner.container
       h1.menu__title (visually hidden: the artboard has no page title)
       .menu-card      > mascots, h2.menu-card__title, p.menu-card__intro, table.menu-table,
                         .menu-card__divider, .menu-card__head, ul.menu-list--card
       .menu-panel     > h2.menu-panel__title, ul.menu-list--panel
       .menu-box (x2)  > h2.menu-box__title, p.menu-item--box
       .menu-noodles   > img.menu-noodles__watermark, h2.menu-noodles__title, ul.menu-list--noodles
     .menu > .menu-band (green, full-bleed)
     One menu line (menu-item.php): .menu-item > .menu-item__name, .menu-item__opts
       (> .menu-item__variants, .menu-item__prices), .menu-item__note
   ========================================================================== */

.menu {
  /* Outer width shared by the Khaja Ko Sathi panel and the two boxes (668.7 pt stroke centre line + one stroke). */
  --menu-col: calc(671.6 * var(--pt));
  padding-top: calc(24.94 * var(--pt));
}

/* ---- One menu line: name (Riffic), variants (Facers Condensed Light), prices (Real Delight) ----
   The line box is set by the name face alone: the smaller runs carry line-height 1, so mixing three
   faces never changes the line pitch. */
.menu-list {
  text-align: center;
}

.menu-item {
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: calc(35.77 * var(--pt));
  line-height: calc(74.5 * var(--pt));
}

.menu-item__name {
  white-space: nowrap;
}

.menu-item__opts {
  font-family: var(--font-condensed);
  font-weight: 300;
  font-size: max(15px, calc(25.67 * var(--pt)));
  line-height: 1;
}

.menu-item__variants,
.menu-item__prices,
.menu-item__note {
  white-space: nowrap;
}

.menu-item__prices {
  font-family: var(--font-price);
  font-weight: 400;
  font-size: calc(35.77 * var(--pt));
  font-variant-numeric: lining-nums;
  letter-spacing: 0;
  line-height: 1;
}

.menu-item__note {
  font-family: var(--font-condensed);
  font-weight: 600;
  font-size: max(15px, calc(23.81 * var(--pt)));
  line-height: 1;
}

/* Four variants on one line are tracked in to fit, as drawn. */
.menu-item--long .menu-item__variants,
.menu-list--noodles .menu-item__variants {
  letter-spacing: -0.07em;
}

/* The star and curly arrow pointing at the flagged dish: it hangs to the left of the name. */
.menu-item--star .menu-item__name {
  position: relative;
}

.menu-item__star {
  position: absolute;
  right: 100%;
  top: calc(-25.3 * var(--pt));
  width: calc(68.43 * var(--pt));
  max-width: none;
  height: auto;
  margin-right: calc(11 * var(--pt));
  pointer-events: none;
}

/* ---- The yellow card ---- */
.menu-card {
  position: relative;
  width: calc(728.32 * var(--pt));
  margin-inline: auto;
  padding: calc(161.71 * var(--pt)) 0 calc(45.5 * var(--pt));
  background: var(--c-yellow-menu);
  border-radius: calc(4.8 * var(--pt));
  color: var(--c-ink);
  text-align: center;
}

/* The white keyline just inside the card edge (the "double border"). */
.menu-card::before {
  content: "";
  position: absolute;
  inset: calc(2.85 * var(--pt));
  border: max(2px, calc(2.894 * var(--pt))) solid var(--c-white);
  border-radius: calc(6.6 * var(--pt));
  pointer-events: none;
}

/* Mascots overlap the card edges and break out onto the cream page (drawn over the keyline). */
.menu-card__mascot {
  position: absolute;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.menu-card__mascot--gym {
  left: calc(-45.57 * var(--pt));
  top: calc(103.33 * var(--pt));
  width: calc(216.35 * var(--pt));
}

.menu-card__mascot--peace {
  right: calc(-48.48 * var(--pt));
  top: calc(15.68 * var(--pt));
  width: calc(193.69 * var(--pt));
}

.menu-card__title {
  font-family: var(--font-menu-title);
  font-weight: 400;
  color: var(--c-green-forest);
  white-space: nowrap;
}

/* "MoMo" large, " The Classics" small on one baseline. Title and intro sit right of the card centre,
   clear of the dumbbell mascot, as drawn. */
.menu-card__group--classics .menu-card__title {
  padding-left: calc(61.2 * var(--pt));
  font-size: calc(55.11 * var(--pt));
  line-height: calc(72.62 * var(--pt));
  letter-spacing: -0.018em;
}

.menu-card__title-rest {
  font-size: calc(29.62 * var(--pt));
  line-height: 1;
  letter-spacing: -0.0186em; /* restated: an em letter-spacing inherits as a fixed length */
}

.menu-card__intro {
  padding-left: calc(46.2 * var(--pt));
  color: var(--c-green-dark);
  font-family: var(--font-condensed);
  font-weight: 300;
  font-size: max(15px, calc(28.05 * var(--pt)));
  line-height: calc(23.37 * var(--pt));
  letter-spacing: -0.04em;
}

.menu-card__intro-line {
  display: block;
}

.menu-card__intro-line--lead {
  font-weight: 400;
}

/* ---- The Classics price table: no rules, no zebra; black ---- */
.menu-table {
  width: calc(621.12 * var(--pt));
  margin: calc(35.48 * var(--pt)) 0 0 calc(60 * var(--pt));
  table-layout: fixed;
  color: var(--c-black);
}

.menu-table__corner {
  width: calc(226.32 * var(--pt));
}

.menu-table th,
.menu-table td {
  padding: 0;
  text-align: center;
  vertical-align: baseline;
}

.menu-table thead th {
  font-family: var(--font-condensed);
  font-weight: 500;
  font-size: max(15px, calc(28.05 * var(--pt)));
  line-height: calc(30.2 * var(--pt));
}

.menu-table tbody th,
.menu-table tbody td {
  height: calc(74.5 * var(--pt));
  line-height: calc(50 * var(--pt));
}

/* Row names are centred on x = 141.4 pt of the card, left of the column's own centre. */
.menu-table tbody th {
  padding-right: calc(63.58 * var(--pt));
  font-family: var(--font-rounded);
  font-weight: 700;
  font-size: calc(35.77 * var(--pt));
}

.menu-table tbody td {
  font-family: var(--font-price);
  font-weight: 400;
  font-size: calc(41.73 * var(--pt));
  font-variant-numeric: lining-nums;
}

/* ---- Doodle divider, with the skateboard and headphones mascots either side ---- */
.menu-card__divider {
  position: relative;
  margin-top: calc(116.67 * var(--pt));
}

.menu-card__doodles {
  width: calc(462.27 * var(--pt));
  max-width: none;
  height: auto;
  margin-left: calc(138.51 * var(--pt));
}

/* The compact doodle row is for phones only. */
.menu-card__doodles-sm {
  display: none;
}

.menu-card__mascot--skate {
  left: calc(-40.29 * var(--pt));
  top: calc(-123.12 * var(--pt));
  width: calc(215.58 * var(--pt));
}

.menu-card__mascot--music {
  right: calc(-68.39 * var(--pt));
  top: calc(-36.17 * var(--pt));
  width: calc(184 * var(--pt));
}

/* ---- Chef's Blend ---- */
.menu-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  column-gap: calc(8.8 * var(--pt));
  margin-top: calc(97.46 * var(--pt));
}

.menu-card__title--blend {
  font-size: calc(46.41 * var(--pt));
  line-height: calc(56 * var(--pt));
  letter-spacing: -0.019em;
}

.menu-card__served {
  color: var(--c-green-dark);
  font-family: var(--font-condensed);
  font-weight: 300;
  font-size: max(15px, calc(28.05 * var(--pt)));
  line-height: calc(30 * var(--pt));
  letter-spacing: -0.03em;
}

.menu-list--card {
  margin-top: calc(8.29 * var(--pt));
}

/* ---- Khaja Ko Sathi: rounded panel, the title set into its top border ---- */
.menu-panel {
  width: var(--menu-col);
  margin: calc(95.85 * var(--pt)) auto 0;
  padding: 0 calc(30 * var(--pt)) calc(45.8 * var(--pt));
  background: var(--c-cream-panel);
  border: max(2px, calc(2.894 * var(--pt))) solid var(--c-green-panel);
  border-radius: calc(58.45 * var(--pt));
  color: var(--c-green-leaf);
}

/* The heading straddles the border (its capitals are centred on the line) and hides the stroke behind
   it: page colour above the line, panel colour below, exactly like a legend in a fieldset. */
.menu-panel__title {
  --menu-legend-split: calc(24.63 * var(--pt));
  width: fit-content;
  margin: calc(-26.08 * var(--pt)) auto 0;
  padding-inline: calc(8 * var(--pt));
  background: linear-gradient(to bottom, var(--c-cream-light) var(--menu-legend-split), var(--c-cream-panel) var(--menu-legend-split));
  color: var(--c-green-mid);
  font-family: var(--font-menu-title);
  font-weight: 400;
  font-size: calc(44.92 * var(--pt));
  line-height: calc(60 * var(--pt));
  letter-spacing: -0.019em;
  white-space: nowrap;
}

/* (1 pt more than the arithmetic: browsers snap the 2.894 pt border down to whole device pixels.) */
.menu-list--panel {
  margin-top: calc(27.7 * var(--pt));
}

.menu-list--panel .menu-item,
.menu-list--noodles .menu-item {
  line-height: calc(59.62 * var(--pt));
}

/* ---- Dharane Thukpa (green outline) and Chicken Wings (orange outline) ---- */
.menu-box {
  width: var(--menu-col);
  margin: calc(28.86 * var(--pt)) auto 0;
  padding: calc(36.35 * var(--pt)) calc(20 * var(--pt)) calc(30.53 * var(--pt));
  background: var(--c-white);
  border: max(2px, calc(3.3 * var(--pt))) solid var(--c-green-mid);
  border-radius: calc(12.5 * var(--pt));
  color: var(--c-green-mid);
  text-align: center;
}

.menu-box + .menu-box {
  margin-top: calc(24.39 * var(--pt));
}

.menu-box--orange {
  border-color: var(--c-orange);
}

.menu-box__title,
.menu-noodles__title {
  font-family: var(--font-menu-title);
  font-weight: 400;
  font-size: calc(44.82 * var(--pt));
  line-height: calc(56 * var(--pt));
  letter-spacing: -0.019em;
}

/* In the boxes the variants are set in the name face. */
.menu-item--box {
  margin-top: calc(9.92 * var(--pt));
  font-size: calc(28.94 * var(--pt));
  line-height: calc(44 * var(--pt));
}

.menu-item--box .menu-item__opts {
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.menu-item--box .menu-item__variants {
  letter-spacing: -0.005em;
}

.menu-item--box .menu-item__prices {
  margin-left: calc(5 * var(--pt));
}

/* As drawn: where one price covers every variant (Chicken Wings) the price continues in the name face. */
.menu-item--box:not(.menu-item--grid) .menu-item__prices {
  margin-left: calc(11 * var(--pt));
  font-family: inherit;
  font-weight: inherit;
  font-size: inherit;
}

/* ---- Noodles,Fried Rice & Roll: open list over the pale noodle watermark ---- */
.menu-noodles {
  position: relative;
  padding: calc(44.75 * var(--pt)) 0 calc(81.26 * var(--pt));
  color: var(--c-green-mid);
  text-align: center;
}

.menu-noodles__watermark {
  position: absolute;
  left: calc(399.4 * var(--pt));
  bottom: calc(2.04 * var(--pt));
  width: calc(246.14 * var(--pt));
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.menu-noodles__title,
.menu-list--noodles {
  position: relative; /* above the watermark */
}

/* 650 pt: "Bhatti Noodles" plus its variants and prices does not fit, so its prices take their own line, as drawn. */
.menu-list--noodles {
  max-width: calc(650 * var(--pt));
  margin: calc(10.73 * var(--pt)) auto 0;
}

/* ---- Green band: outlined "खाजाको राजा", two doodles, two stamps cut by the page edges ---- */
.menu-band__inner {
  padding: calc(27.31 * var(--pt)) 0 calc(51.16 * var(--pt));
}

.menu-band__slogan {
  width: calc(614.76 * var(--pt));
  margin-left: calc(209.28 * var(--pt));
}

.menu-band__lettering {
  width: 100%;
  height: auto;
}

.menu-band__doodle,
.menu-band__stamp {
  position: absolute;
  max-width: none;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.menu-band__doodle--left {
  left: calc(105.03 * var(--pt));
  top: calc(100.41 * var(--pt));
  width: calc(40.39 * var(--pt));
}

.menu-band__doodle--right {
  left: calc(871.09 * var(--pt));
  top: calc(94.07 * var(--pt));
  width: calc(49.74 * var(--pt));
}

/* Stamps hang off the band's own edges (the page edges), not the centred column, so they stay
   cropped by the edge on very wide screens too. The band clips them (.band--clip). */
.menu-band__stamp {
  width: calc(94.33 * var(--pt));
}

.menu-band__stamp--left {
  left: calc(-31.21 * var(--pt));
  top: calc(88.55 * var(--pt));
}

.menu-band__stamp--right {
  right: calc(-16.78 * var(--pt));
  top: calc(70.99 * var(--pt));
}

/* ==========================================================================
   Phone (< 768 px): one centred column, at most 460 px wide.
   --menu-u is 1 px on a 390 px screen (0.92 px at 360) and stops growing at 460 px, so a large
   phone or a small tablet in portrait gets the same proportions instead of giant type.
   A line with one price per variant becomes a small grid: every price sits under its variant.
   ========================================================================== */
@media (max-width: 767.98px) {
  .menu {
    --menu-u: calc(min(100vw, 460px) / 390);
    --menu-col: min(100% - 28px, 460px);
    padding-top: 22px;
  }

  /* ---- Menu line ---- */
  .menu-item {
    font-size: max(18px, calc(22 * var(--menu-u)));
    line-height: 1.2;
  }

  .menu-item + .menu-item {
    margin-top: calc(15 * var(--menu-u));
  }

  .menu-item__name {
    white-space: normal;
  }

  .menu-item--variants .menu-item__name {
    display: block;
  }

  .menu-item__opts {
    font-size: max(17px, calc(18.5 * var(--menu-u)));
    line-height: 1.2;
  }

  .menu-item__prices {
    font-size: max(19px, calc(21.5 * var(--menu-u)));
  }

  .menu-item__note {
    font-size: max(16px, calc(17 * var(--menu-u)));
  }

  .menu-item--long .menu-item__variants,
  .menu-list--noodles .menu-item__variants {
    letter-spacing: 0;
  }

  .menu-item--grid .menu-item__opts {
    display: inline-grid;
    grid-template-columns: repeat(var(--menu-n, 2), auto);
    justify-items: center;
    align-items: baseline;
    column-gap: calc(15 * var(--menu-u));
    margin-top: calc(2 * var(--menu-u));
    vertical-align: top;
  }

  .menu-item--grid .menu-item__variants,
  .menu-item--grid .menu-item__prices {
    display: contents;
  }

  .menu-item--grid .menu-item__sep {
    display: none;
  }

  .menu-item__star {
    top: calc(-13 * var(--menu-u));
    width: calc(42 * var(--menu-u));
    margin-right: calc(5 * var(--menu-u));
  }

  /* ---- Card ---- */
  .menu-card {
    width: var(--menu-col);
    padding: calc(116 * var(--menu-u)) calc(12 * var(--menu-u)) calc(30 * var(--menu-u));
    border-radius: 5px;
  }

  .menu-card::before {
    inset: 3px;
    border-width: 2px;
    border-radius: 5px;
  }

  /* The two top mascots share the strip above the title; they lean over the card edge by a few pixels. */
  .menu-card__mascot--gym {
    left: calc(-7 * var(--menu-u));
    top: calc(26 * var(--menu-u));
    width: calc(108 * var(--menu-u));
  }

  .menu-card__mascot--peace {
    right: calc(-9 * var(--menu-u));
    top: calc(10 * var(--menu-u));
    width: calc(94 * var(--menu-u));
  }

  .menu-card__group--classics .menu-card__title {
    padding-left: 0;
    font-size: calc(42 * var(--menu-u));
    line-height: 1.15;
  }

  .menu-card__title-rest {
    font-size: calc(22.6 * var(--menu-u));
  }

  .menu-card__intro {
    margin-top: calc(4 * var(--menu-u));
    padding-left: 0;
    font-size: max(16px, calc(19 * var(--menu-u)));
    line-height: 1.08;
    letter-spacing: -0.03em;
  }

  /* ---- Table: all five columns stay; the type and the columns tighten ---- */
  .menu-table {
    width: 100%;
    margin: calc(16 * var(--menu-u)) 0 0;
  }

  .menu-table__corner {
    width: 31%;
  }

  .menu-table thead th {
    font-size: max(15px, calc(16.5 * var(--menu-u)));
    line-height: 1.3;
  }

  .menu-table tbody th,
  .menu-table tbody td {
    height: calc(44 * var(--menu-u));
    line-height: 1.1;
  }

  .menu-table tbody th {
    padding-right: 0;
    font-size: max(17px, calc(20 * var(--menu-u)));
  }

  .menu-table tbody td {
    font-size: max(19px, calc(24 * var(--menu-u)));
  }

  /* ---- Divider: the two mascots tuck in at the card edges, the doodles sit between them ---- */
  .menu-card__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    height: calc(80 * var(--menu-u));
    margin: calc(16 * var(--menu-u)) calc(-12 * var(--menu-u)) 0;
  }

  .menu-card__doodles {
    display: none;
  }

  .menu-card__doodles-sm {
    display: flex;
    align-items: center;
    gap: calc(13 * var(--menu-u));
    margin-left: calc(12 * var(--menu-u));
  }

  .menu-card__doodle {
    width: auto;
    max-width: none;
    height: calc(30 * var(--menu-u));
  }

  .menu-card__doodle--a {
    height: calc(25 * var(--menu-u));
  }

  .menu-card__dot {
    flex: none;
    width: calc(4 * var(--menu-u));
    height: calc(4 * var(--menu-u));
    border-radius: 50%;
    background: var(--c-green-doodle);
  }

  .menu-card__dot--ring {
    width: calc(6 * var(--menu-u));
    height: calc(6 * var(--menu-u));
    border: 1px solid var(--c-green-doodle);
    background: none;
  }

  .menu-card__mascot--skate {
    left: calc(-8 * var(--menu-u));
    top: auto;
    bottom: 0;
    width: calc(84 * var(--menu-u));
  }

  .menu-card__mascot--music {
    right: calc(-10 * var(--menu-u));
    top: auto;
    bottom: calc(2 * var(--menu-u));
    width: calc(74 * var(--menu-u));
  }

  /* ---- Chef's Blend ---- */
  .menu-card__head {
    flex-direction: column;
    align-items: center;
    margin-top: calc(14 * var(--menu-u));
  }

  .menu-card__title--blend {
    font-size: calc(34 * var(--menu-u));
    line-height: 1.2;
  }

  .menu-card__served {
    font-size: max(16px, calc(19 * var(--menu-u)));
    line-height: 1.2;
  }

  .menu-list--card {
    margin-top: calc(14 * var(--menu-u));
  }

  /* ---- Khaja Ko Sathi ---- */
  .menu-panel {
    margin-top: calc(46 * var(--menu-u));
    padding: 0 calc(12 * var(--menu-u)) calc(28 * var(--menu-u));
    border-width: 2px;
    border-radius: calc(36 * var(--menu-u));
  }

  .menu-panel__title {
    --menu-legend-split: calc(16.3 * var(--menu-u));
    margin-top: calc(-16.3 * var(--menu-u) - 1px);
    padding-inline: calc(8 * var(--menu-u));
    font-size: calc(31 * var(--menu-u));
    line-height: calc(40 * var(--menu-u));
  }

  .menu-list--panel {
    margin-top: calc(12 * var(--menu-u));
  }

  .menu-list--panel .menu-item,
  .menu-list--noodles .menu-item {
    line-height: 1.2;
  }

  /* ---- Boxes ---- */
  .menu-box {
    margin-top: calc(22 * var(--menu-u));
    padding: calc(20 * var(--menu-u)) calc(8 * var(--menu-u)) calc(18 * var(--menu-u));
    border-width: 3px;
    border-radius: calc(12 * var(--menu-u));
  }

  .menu-box + .menu-box {
    margin-top: calc(18 * var(--menu-u));
  }

  .menu-box__title,
  .menu-noodles__title {
    font-size: calc(30 * var(--menu-u));
    line-height: 1.2;
  }

  .menu-item--box {
    margin-top: calc(6 * var(--menu-u));
    font-size: max(16px, calc(17 * var(--menu-u)));
    line-height: 1.25;
  }

  .menu-item--box .menu-item__prices {
    margin-left: 0;
  }

  .menu-item--box:not(.menu-item--grid) .menu-item__prices {
    margin-left: calc(4 * var(--menu-u));
    font-size: max(17px, calc(18 * var(--menu-u)));
  }

  /* ---- Noodles ---- */
  .menu-noodles {
    width: var(--menu-col);
    margin-inline: auto;
    padding: calc(30 * var(--menu-u)) 0 calc(46 * var(--menu-u));
  }

  .menu-noodles__title {
    line-height: 1.26;
    text-wrap: balance;
  }

  .menu-noodles__watermark {
    left: calc(50% - 115 * var(--menu-u));
    bottom: 2px;
    width: calc(230 * var(--menu-u));
  }

  .menu-list--noodles {
    max-width: none;
    margin-top: calc(14 * var(--menu-u));
  }

  /* ---- Green band ----
     Its own unit: the band is full-bleed, so its art keeps growing up to a 600 px screen. */
  .menu-band {
    --menu-bu: calc(min(100vw, 600px) / 390);
  }

  .menu-band__inner {
    padding: calc(28 * var(--menu-bu)) 0 calc(40 * var(--menu-bu));
  }

  .menu-band__slogan {
    width: calc(220 * var(--menu-bu));
    margin-inline: auto;
  }

  .menu-band__doodle--left {
    left: calc(50% - 147 * var(--menu-bu));
    top: calc(38 * var(--menu-bu));
    width: calc(26 * var(--menu-bu));
  }

  .menu-band__doodle--right {
    left: calc(50% + 120 * var(--menu-bu));
    top: calc(36 * var(--menu-bu));
    width: calc(32 * var(--menu-bu));
  }

  .menu-band__stamp {
    width: calc(58 * var(--menu-bu));
  }

  .menu-band__stamp--left {
    left: calc(-28 * var(--menu-bu));
    top: calc(54 * var(--menu-bu));
  }

  .menu-band__stamp--right {
    right: calc(-24 * var(--menu-bu));
    top: calc(44 * var(--menu-bu));
  }
}


/* ---- 30-story.css ---- */
/* ==========================================================================
   30-story.css   OWNER: [story]
   Our Story page (#story): H1, zig-zag timeline, link to the Full Menu
   Rules: prefix every class with the section name (BEM-ish). Sizes as
   calc(N * var(--pt)) with N in artboard points; phone layout inside
   @media (max-width: 767.98px). Fonts only through var(--font-*), colours
   through var(--c-*). Rebuild with tools/build-css.sh. See FOUNDATION.md.

   Artboard 2 (design-spec section 3), normalised (BUILD decision 13):
     - the centre line is drawn 36 pt left of the page centre and the right-hand
       boxes wander by up to 16 pt: here the line sits on the page centre and both
       columns are one width, the artboard's own gap (39 pt) away from the line;
     - boxes are 432.7 x 279.58 pt (#f1d649), the line is 1.382 pt #052d2c and
       starts 204 pt below the nav bar; rows are about 100 pt apart.
   Markup (template-parts/story-main.php, story-row.php):
     .story > .story__inner.container
       h1.story__title
       .story__timeline > .story__row.story__row--photo-right|left
                            > .story__frame > picture > img.story__photo
                            > p.story__text
       p.story__closing > a.story__ribbon > .story__ribbon-label + svg.story__ribbon-arrow
   ========================================================================== */

.story {
  /* Section-local values, in artboard points. */
  --story-box-w: 432.7;        /* yellow box */
  --story-box-h: 279.58;
  --story-gap: 39;             /* box edge to the centre line */
  --story-frame: 13;           /* yellow showing around the photo */
  --story-line: max(1px, calc(1.382 * var(--pt)));
  --story-dot: calc(15 * var(--pt));

  padding: calc(60 * var(--pt)) 0 calc(104 * var(--pt));
}

/* ---- H1 ----------------------------------------------------------------------
   Not on the artboard (it has no title). The site's display face at the size of
   the Home "THE MOMO BUZZ" heading, centred over the line. Its box plus the gap
   below put the top of the line 204 pt under the nav bar, as drawn. */
.story__title {
  padding-inline: var(--gutter);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: calc(100 * var(--pt));
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--c-green-dark);
}

/* ---- Timeline ------------------------------------------------------------------ */
.story__timeline {
  position: relative;
  display: grid;
  row-gap: calc(100 * var(--pt));
  margin-top: calc(44 * var(--pt));
  /* The line runs on past the last row and lands on the ribbon. */
  padding-bottom: calc(92 * var(--pt));
}

/* The centre line. */
.story__timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  /* A border, not a background, so the line survives forced-colours modes. */
  width: 0;
  margin-left: calc(var(--story-line) / -2);
  border-left: var(--story-line) solid var(--c-green-dark);
}

.story__row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, calc(var(--story-box-w) * var(--pt)));
  column-gap: calc(var(--story-gap) * 2 * var(--pt));
  justify-content: center;
  align-items: center;
}

/* A node on the line, level with the middle of the row. */
.story__row::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--story-dot);
  height: var(--story-dot);
  margin: calc(var(--story-dot) / -2) 0 0 calc(var(--story-dot) / -2);
  background: var(--c-yellow);
  border: var(--story-line) solid var(--c-green-dark);
  border-radius: 50%;
}

.story__frame {
  grid-row: 1;
  aspect-ratio: 432.7 / 279.58;
  padding: calc(var(--story-frame) * var(--pt));
  background: var(--c-yellow);
}

.story__frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.story__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--story-focus, 50% 50%);
  background: var(--c-green-dark);
}

.story__text {
  grid-row: 1;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: max(17px, calc(33 * var(--pt)));
  line-height: 1.22;
  color: var(--c-green-dark);
  text-wrap: pretty;
  overflow-wrap: break-word;
}

/* Photo on the right (rows 1, 3, 5), text on the left. */
.story__row--photo-right .story__frame { grid-column: 2; }
.story__row--photo-right .story__text { grid-column: 1; }

/* Photo on the left (rows 2, 4). */
.story__row--photo-left .story__frame { grid-column: 1; }
.story__row--photo-left .story__text { grid-column: 2; }

/* A row whose photo is missing still reads as a step of the timeline. */
.story__row--no-photo { min-height: calc(120 * var(--pt)); }

/* ---- Closing link: the design's dark ribbon (Home "Every bite tells a delicious
   story": #052d2c rectangle 50.8 pt high, square corners, Facers Medium 33 pt in
   yellow), here as the link to the Full Menu. ---------------------------------- */
.story__closing {
  display: flex;
  justify-content: center;
  padding-inline: var(--gutter);
}

.story__ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(18 * var(--pt));
  min-height: max(48px, calc(50.8 * var(--pt)));
  padding: calc(6 * var(--pt)) calc(44 * var(--pt)) calc(4 * var(--pt));
  background: var(--c-green-dark);
  color: var(--c-yellow);
  font-family: var(--font-text);
  font-weight: 500;
  font-size: max(18px, calc(33 * var(--pt)));
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.story__ribbon-arrow {
  flex: none;
  width: 1em;
  height: auto;
  transition: transform 0.15s ease;
}

.story__ribbon:hover,
.story__ribbon:focus-visible {
  background: var(--c-green-forest);
  color: var(--c-white);
}

.story__ribbon:hover .story__ribbon-arrow,
.story__ribbon:focus-visible .story__ribbon-arrow {
  transform: translateX(0.18em);
}

/* ---- Phone: the line moves to the left edge, rows stack photo then text -------- */
@media (max-width: 767.98px) {
  .story {
    --story-rail: 26px;                       /* room for the line and its nodes, left of the content */
    --story-frame-px: 10px;
    --story-dot: 13px;
    /* Height of a framed photo: the content width over the box ratio. */
    --story-frame-h: calc((100vw - 2 * var(--gutter) - var(--story-rail)) * 279.58 / 432.7);

    padding: 34px 0 56px;
  }

  .story__title {
    font-size: calc(58 * var(--pt));
  }

  .story__timeline {
    row-gap: 40px;
    margin-top: 30px;
    padding: 0 var(--gutter) 44px calc(var(--gutter) + var(--story-rail));
  }

  .story__timeline::before {
    left: calc(var(--gutter) + 6px);
  }

  .story__row {
    display: block;
  }

  /* The node sits on the line, level with the middle of the photo. */
  .story__row::before {
    top: calc(var(--story-frame-h) / 2);
    left: calc(6px - var(--story-rail) + var(--story-line) / 2);
  }

  .story__frame {
    padding: var(--story-frame-px);
  }

  .story__text {
    margin-top: 16px;
    font-size: max(18px, calc(20 * var(--pt)));
    line-height: 1.32;
  }

  .story__row--no-photo { min-height: 0; }
  .story__row--no-photo::before { top: 0.66em; }
  .story__row--no-photo .story__text { margin-top: 0; }

  .story__closing {
    display: block;
  }

  .story__ribbon {
    display: flex;
    gap: 12px;
    min-height: 52px;
    padding: 8px 18px 6px;
    font-size: max(18px, calc(21 * var(--pt)));
  }
}


/* ---- 40-404.css ---- */
/* ==========================================================================
   40-404.css   OWNER: [story]
   The 404 page (404.php). These are the phase-1 rules, moved here unchanged
   from 04-components.css by the shared engineer: replace them with the
   playful 404 of DELIGHT.md.
   ========================================================================== */

/* ---- 404 ------------------------------------------------------------------- */
.notfound {
  padding: calc(64 * var(--pt)) var(--inset) calc(84 * var(--pt));
  background: var(--c-yellow);
  text-align: center;
}

.notfound__mascot {
  width: calc(250 * var(--pt));
  height: auto;
  margin-inline: auto;
}

.notfound__title {
  margin-top: calc(34 * var(--pt));
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, calc(60.3 * var(--pt)), 74px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--c-green-dark);
}

.notfound__text {
  max-width: 30em;
  margin: calc(16 * var(--pt)) auto 0;
  font-size: max(16px, calc(22.16 * var(--pt)));
  line-height: 1.35;
}

.notfound__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: calc(34 * var(--pt));
}

@media (max-width: 767.98px) {
  .notfound {
    padding: 40px var(--gutter) 56px;
  }

  .notfound__mascot {
    width: 190px;
  }

  .notfound__title {
    margin-top: 26px;
  }

  .notfound__text {
    margin-top: 12px;
  }

  .notfound__actions {
    margin-top: 26px;
  }
}

