/* Himalayas on the Bay — ordering site.

   The page is the restaurant's badge, unrolled: prayer flags and the snow
   range at the top, mountain air through the middle, the bay and a sailboat
   at the bottom.

   The sky follows the restaurant's clock in Maine. Morning and day are light, in the
   badge's own colours: navy type on a pale sky, as the logo is. Evening is
   alpenglow. Night is the moon over the range. Every colour on the page and in
   the drawing is a variable below, so a theme is one block and nothing else. */

:root {
  /* constant in every sky */
  --gold: #c6891b;
  --gold-hi: #e2ab47;
  --on-gold: #2a1b03;
  --flag-blue: #2f7fb8;
  --flag-white: #f3eee3;
  --flag-red: #c23a2b;
  --flag-green: #5f8f3e;
  --flag-gold: #e3a92b;

  --f-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --f-script: 'Allura', 'Cormorant Garamond', cursive;
  --f-ui: 'Manrope', system-ui, -apple-system, sans-serif;
  --r-input: 6px;
  --r-photo: 4px;
  --r-sheet: 10px;
  --page: min(76rem, 100% - 2.5rem);
  --head-h: 4.9rem;

  /* ---- night: the default, and what a browser without scripts gets ---- */
  --bg: #061a3e;
  --bg-2: #0a2450;
  --bg-3: #0e2f63;
  --deep: #04122c;
  --foot-bg: #04122c;
  --text: #f6f1e7;
  --soft: rgba(246, 241, 231, .76);
  --faint: rgba(246, 241, 231, .52);
  --line: rgba(246, 241, 231, .13);
  --line-strong: rgba(246, 241, 231, .26);
  --field: rgba(246, 241, 231, .06);
  --head: rgba(4, 18, 44, .94);
  --head-clear: linear-gradient(rgba(2, 10, 28, .72), rgba(2, 10, 28, 0));
  --scrim: rgba(2, 9, 24, .74);
  --glass: rgba(4, 18, 44, .45);
  --ghost-line: rgba(246, 241, 231, .4);
  --accent: #e2ab47;
  --script: #e2ab47;
  --price: #ecd3a0;
  --ok: #b4e2f2;
  --ok-bg: rgba(20, 70, 100, .55);
  --ok-line: rgba(120, 200, 230, .45);
  --veg: #8fd0a6;
  --warn: #f0b86a;
  --danger: #e06c60;
  --danger-bg: rgba(224, 108, 96, .14);
  --danger-text: #ffc4bd;
  --notice: rgba(198, 137, 27, .13);
  --pick: rgba(198, 137, 27, .15);
  --shadow: 0 30px 90px rgba(2, 8, 22, .6);
  --wm-shadow: 0 2px 34px rgba(2, 10, 28, .6);
  --dust: rgba(246, 241, 231, .42);

  --sky: linear-gradient(180deg, #020a1c 0%, #051636 34%, #0c2a5e 66%, #1a4788 100%);
  --stars: 1;
  --star: #f6f1e7;
  --orb: #fdf6e4;
  --halo: #f7dca0;
  --glow: #e7ad4f;
  --orb-shift: 0px;
  --rock-1: #4a82cf;
  --rock-2: #2459a6;
  --rock-3: #123a7a;
  --rock-face: rgba(6, 33, 79, .3);
  --snow: #f7f3ea;
  --snow-shade: #b4c9e6;
  --hill-1a: #174487;
  --hill-1b: #0d2f66;
  --hill-2: #0a2759;
  --silhouette: #031028;
  --lamp: #f0bd55;
  /* the painting in the range, by moonlight */
  --mu-lit-1: #e3eaf6; --mu-lit-2: #b3bfd8; --mu-lit-3: #4f5b7a;
  --mu-shade-1: #8a97b8; --mu-shade-2: #636f97; --mu-shade-3: #3a4466;
  --mu-far-1: #a6b3d0; --mu-far-2: #67759a; --mu-far-s1: #8290b3; --mu-far-s2: #4f5c82;
  --mu-rock: #252f50; --mu-rock-lit: #44507a; --mu-snow-light: #eef3fb;
  --mu-edge-lit: #f2f6fd; --mu-edge-dark: #2c3759;
  --mu-rim: #dfe8f8; --mu-rim-op: .45;
  --mu-gold: #f1f5fd; --mu-gold-soft: #c9d4ea; --mu-gold-op: .4;
  --mu-cloud: #8193bb; --mu-cloud-op: .2;
  --mu-mist-1: #2b3758; --mu-mist-2: #34405f; --mu-mist-3: #4a5476; --mu-mist-hill: #1c2643; --mu-mist-dark: #0c1226;
  --mu-haze: #6c7ea6; --mu-shore: #c6d6ef;
  --mu-water-1: #2a4571; --mu-water-2: #1e3862; --mu-water-3: #152c52; --mu-water-4: #0d2043;
  --mu-sheen: #9db6df; --mu-ripple-l: #b3c7e8; --mu-ripple-d: #071430;
  --mu-glint: #eef3ff; --mu-glint-op: .55;
  --mu-hill-lb: #121623; --mu-hill-l1: #0b0f19; --mu-hill-l2: #04060c; --mu-hill-r1: #22252f; --mu-hill-r2: #0d0f15; --mu-hill-line: #1f2534;
  --mu-wood-0: #0d0907; --mu-wood-1: #120d0b; --mu-wood-2: #1d1612; --mu-wood-3: #3a2e25; --mu-wood-4: #5c4a3a;
  --mu-walker: #06080d; --mu-lamp-op: 1;
  --bird: rgba(246, 241, 231, .8);
  --flag-string: rgba(246, 241, 231, .55);
  --flag-edge: transparent;
  --wave-a: #0f3d80;
  --wave-b1: #1d63ad;
  --wave-b2: #0a2f6b;
  --wave-c: #0a2c63;
  --sail: #f6f1e7;
  --sail-2: #d9e4f2;
  --closer: linear-gradient(180deg, rgba(6, 26, 62, 0) 0%, #0a2a60 100%);
  --cue: rgba(246, 241, 231, .8);

  /* the hosted Square card fields only take hex */
  --card-text: #f6f1e7;
  --card-bg: #0d2951;
  --card-line: #3b4f72;
  --card-faint: #8fa0bb;
}

/* ---- evening: the sun going down behind the range, snow turned rose ---- */
html[data-sky='evening'] {
  --bg: #0a1437;
  --bg-2: #111c4a;
  --bg-3: #18255c;
  --deep: #070d28;
  --foot-bg: #060b24;
  --head: rgba(7, 13, 40, .94);
  --head-clear: linear-gradient(rgba(10, 8, 34, .7), rgba(10, 8, 34, 0));
  --glass: rgba(10, 12, 44, .45);
  --card-bg: #121d4c;
  --card-line: #414a7c;

  --sky: linear-gradient(180deg, #120d36 0%, #2c1857 38%, #6a2d68 64%, #c65a5a 86%, #f0a25a 100%);
  --stars: .5;
  --orb: #ffc27a;
  --halo: #ff9d5c;
  --glow: #ff8a4c;
  --orb-shift: 24px;
  --rock-1: #8b6fc4;
  --rock-2: #5a4aa0;
  --rock-3: #33297a;
  --rock-face: rgba(30, 14, 70, .34);
  --snow: #ffe3cf;
  --snow-shade: #e79aa8;
  --hill-1a: #3b2f7d;
  --hill-1b: #251d5c;
  --hill-2: #1a1648;
  --silhouette: #0c0a2b;
  --lamp: #ffc768;
  /* the painting in the range, in alpenglow */
  --mu-lit-1: #ffd8c2; --mu-lit-2: #e8b6b0; --mu-lit-3: #7a688a;
  --mu-shade-1: #a796bf; --mu-shade-2: #84769f; --mu-shade-3: #554b72;
  --mu-far-1: #e3c6cc; --mu-far-2: #a393ab; --mu-far-s1: #bba8c1; --mu-far-s2: #837494;
  --mu-rock: #3d3150; --mu-rock-lit: #685877; --mu-snow-light: #ffece2;
  --mu-edge-lit: #fff2ea; --mu-edge-dark: #4c4066;
  --mu-rim: #ffe1d1; --mu-rim-op: .5;
  --mu-gold: #ff9a5a; --mu-gold-soft: #ffc29a; --mu-gold-op: .95;
  --mu-cloud: #f2a993; --mu-cloud-op: .5;
  --mu-mist-1: #5b4c6b; --mu-mist-2: #685674; --mu-mist-3: #8a7488; --mu-mist-hill: #45385a; --mu-mist-dark: #1d1528;
  --mu-haze: #d6a4a2; --mu-shore: #ffd7c1;
  --mu-water-1: #6a6a9e; --mu-water-2: #4f5689; --mu-water-3: #3b4676; --mu-water-4: #2b3763;
  --mu-sheen: #ffc8ac; --mu-ripple-l: #ffd4bf; --mu-ripple-d: #1e2445;
  --mu-glint: #ffb27c; --mu-glint-op: .5;
  --mu-hill-lb: #231e30; --mu-hill-l1: #15121e; --mu-hill-l2: #0a0911; --mu-hill-r1: #342d3a; --mu-hill-r2: #18151e; --mu-hill-line: #2c2638;
  --mu-wood-0: #150e0b; --mu-wood-1: #1a1210; --mu-wood-2: #261b16; --mu-wood-3: #45352b; --mu-wood-4: #6e5646;
  --mu-walker: #110e16; --mu-lamp-op: .9;
  --bird: rgba(255, 236, 214, .85);
  --wave-a: #5a3f8f;
  --wave-b1: #c4626a;
  --wave-b2: #3a2a7a;
  --wave-c: #231d5e;
  --closer: linear-gradient(180deg, rgba(10, 20, 55, 0) 0%, #4a2a66 100%);
}

/* ---- the light page, shared by morning and day ---- */
html[data-sky='morning'], html[data-sky='day'] {
  --bg: #fbf8f1;
  --bg-2: #ffffff;
  --bg-3: #f3eee2;
  --deep: #f3ede0;
  --text: #10203f;
  --soft: #4a5870;
  --faint: #7b8799;
  --line: #e6dfd1;
  --line-strong: #cfc5b1;
  --field: #ffffff;
  --head: rgba(251, 248, 241, .94);
  --head-clear: linear-gradient(rgba(255, 252, 245, .78), rgba(255, 252, 245, 0));
  --scrim: rgba(16, 32, 63, .5);
  --glass: rgba(255, 255, 255, .6);
  --ghost-line: rgba(16, 32, 63, .42);
  --accent: #8f6109;
  --price: #8f6109;
  --ok: #1b6b55;
  --ok-bg: rgba(27, 107, 85, .1);
  --ok-line: rgba(27, 107, 85, .38);
  --veg: #2f7a4f;
  --warn: #96580a;
  --danger: #b4251c;
  --danger-bg: #fbeceb;
  --danger-text: #8c1c14;
  --notice: #fdf3df;
  --pick: #fdf3df;
  --shadow: 0 30px 80px rgba(16, 32, 63, .22);
  --wm-shadow: none;
  --dust: transparent;
  --stars: 0;
  --bird: rgba(16, 32, 63, .62);
  --flag-string: rgba(16, 32, 63, .45);
  --flag-edge: rgba(16, 32, 63, .22);
  --sail: #12336d;
  --sail-2: #2a5298;
  --cue: #ffffff;
  --card-text: #10203f;
  --card-bg: #ffffff;
  --card-line: #cfc5b1;
  --card-faint: #7b8799;
}

/* ---- morning: first light, the sun coming up in the notch ---- */
html[data-sky='morning'] {
  --script: #8f6109;
  --sky: linear-gradient(180deg, #8fb6e6 0%, #c4d6ee 34%, #f6dcc6 66%, #fbe7c8 100%);
  --orb: #fff1c9;
  --halo: #ffd27a;
  --glow: #ffb36b;
  --orb-shift: 12px;
  --rock-1: #8fb0e2;
  --rock-2: #6b8fd0;
  --rock-3: #4f76bd;
  --rock-face: rgba(40, 70, 140, .22);
  --snow: #fffaf2;
  --snow-shade: #f6cdbf;
  --hill-1a: #6f95d2;
  --hill-1b: #557fc4;
  --hill-2: #4670b6;
  --silhouette: #23467f;
  --lamp: #ffe2a0;
  /* the painting in the range, at first light, as it is painted */
  --mu-lit-1: #fff8f0; --mu-lit-2: #ebe5ea; --mu-lit-3: #9f99ad;
  --mu-shade-1: #b6b5cd; --mu-shade-2: #9c99b8; --mu-shade-3: #7f7b98;
  --mu-far-1: #e6e5f0; --mu-far-2: #c1c0d3; --mu-far-s1: #cccadc; --mu-far-s2: #a8a7bf;
  --mu-rock: #474860; --mu-rock-lit: #6d6e86; --mu-snow-light: #fbf6f2;
  --mu-edge-lit: #ffffff; --mu-edge-dark: #67657f;
  --mu-rim: #7d86a8; --mu-rim-op: .5;
  --mu-gold: #efab4a; --mu-gold-soft: #f6d39a; --mu-gold-op: 1;
  --mu-cloud: #fff1e8; --mu-cloud-op: .6;
  --mu-mist-1: #958799; --mu-mist-2: #a091a3; --mu-mist-3: #c3b6c2; --mu-mist-hill: #827387; --mu-mist-dark: #4a4155;
  --mu-haze: #f2e7eb; --mu-shore: #fff8f1;
  --mu-water-1: #8ab3db; --mu-water-2: #679ccf; --mu-water-3: #4b83bd; --mu-water-4: #366aa4;
  --mu-sheen: #fff3e8; --mu-ripple-l: #f6f1ee; --mu-ripple-d: #295a8d;
  --mu-glint: #ffd9a0; --mu-glint-op: .4;
  --mu-hill-lb: #383745; --mu-hill-l1: #272835; --mu-hill-l2: #181923; --mu-hill-r1: #55505a; --mu-hill-r2: #322f38; --mu-hill-line: #34333f;
  --mu-wood-0: #261d17; --mu-wood-1: #2a201a; --mu-wood-2: #33281f; --mu-wood-3: #5b4939; --mu-wood-4: #7d6652;
  --mu-walker: #211f28; --mu-lamp-op: 0;
  --wave-a: #8fbbe6;
  --wave-b1: #5f9bd9;
  --wave-b2: #2f6fbb;
  --wave-c: #1f57a0;
  --closer: linear-gradient(180deg, rgba(251, 248, 241, 0) 0%, #cfe2f4 100%);
}

/* ---- day: a clear sky and the badge's own blues ---- */
html[data-sky='day'] {
  --script: #7d5305;
  --sky: linear-gradient(180deg, #5aa2e6 0%, #8fc4f0 38%, #c9e4f7 70%, #e9f4fb 100%);
  --orb: #fffbe6;
  --halo: #fff0a8;
  --glow: #ffffff;
  --orb-shift: -86px;
  --rock-1: #3f7fd0;
  --rock-2: #1f5cb0;
  --rock-3: #0f4a96;
  --rock-face: rgba(6, 40, 100, .25);
  --snow: #ffffff;
  --snow-shade: #d5e5f7;
  --hill-1a: #2f6cbd;
  --hill-1b: #1f58a6;
  --hill-2: #184a92;
  --silhouette: #0d2f66;
  --lamp: rgba(255, 255, 255, .4);
  /* the painting in the range, by day */
  --mu-lit-1: #fcfbf8; --mu-lit-2: #e9eaf0; --mu-lit-3: #9fa3b6;
  --mu-shade-1: #b0b6ca; --mu-shade-2: #979db6; --mu-shade-3: #82869c;
  --mu-far-1: #dfe7f2; --mu-far-2: #b6c2d6; --mu-far-s1: #c3cddd; --mu-far-s2: #9eaac1;
  --mu-rock: #434a5f; --mu-rock-lit: #687085; --mu-snow-light: #f4f6f9;
  --mu-edge-lit: #ffffff; --mu-edge-dark: #5e657c;
  --mu-rim: #6d84aa; --mu-rim-op: .55;
  --mu-gold: #e9b04e; --mu-gold-soft: #f1d6a2; --mu-gold-op: .85;
  --mu-cloud: #ffffff; --mu-cloud-op: .55;
  --mu-mist-1: #857f8f; --mu-mist-2: #8a8593; --mu-mist-3: #a9a6b3; --mu-mist-hill: #7a7483; --mu-mist-dark: #3d3a48;
  --mu-haze: #e6e9f0; --mu-shore: #f3f7fb;
  --mu-water-1: #6ea2d2; --mu-water-2: #4d88c3; --mu-water-3: #376fac; --mu-water-4: #265b95;
  --mu-sheen: #f1f7fd; --mu-ripple-l: #d8eaf8; --mu-ripple-d: #1d4a7b;
  --mu-glint: #ffffff; --mu-glint-op: 0;
  --mu-hill-lb: #2c2d38; --mu-hill-l1: #1c1f2b; --mu-hill-l2: #0f121a; --mu-hill-r1: #4c494f; --mu-hill-r2: #26252b; --mu-hill-line: #262a37;
  --mu-wood-0: #281e18; --mu-wood-1: #2a211b; --mu-wood-2: #3a2e26; --mu-wood-3: #5b4939; --mu-wood-4: #7d6652;
  --mu-walker: #1c1b21; --mu-lamp-op: 0;
  --wave-a: #6fb0ea;
  --wave-b1: #3f8edb;
  --wave-b2: #1f63ad;
  --wave-c: #174f96;
  --closer: linear-gradient(180deg, rgba(251, 248, 241, 0) 0%, #bfdcf5 100%);
}

/* the overlay menu and the footer are deep water in every sky */
.navpanel, .foot {
  --text: #f6f1e7;
  --soft: rgba(246, 241, 231, .76);
  --faint: rgba(246, 241, 231, .52);
  --line: rgba(246, 241, 231, .13);
  --line-strong: rgba(246, 241, 231, .26);
  --accent: #e2ab47;
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font: 400 1rem/1.65 var(--f-ui);
  -webkit-font-smoothing: antialiased;
  background-color: var(--bg);
  /* at night, a thin scatter of stars carries on down the page */
  background-image:
    radial-gradient(1.2px 1.2px at 8% 12%, var(--dust) 50%, transparent 52%),
    radial-gradient(1px 1px at 22% 64%, var(--dust) 50%, transparent 52%),
    radial-gradient(1.4px 1.4px at 37% 28%, var(--dust) 50%, transparent 52%),
    radial-gradient(1px 1px at 49% 82%, var(--dust) 50%, transparent 52%),
    radial-gradient(1px 1px at 63% 16%, var(--dust) 50%, transparent 52%),
    radial-gradient(1.3px 1.3px at 74% 52%, var(--dust) 50%, transparent 52%),
    radial-gradient(1px 1px at 86% 34%, var(--dust) 50%, transparent 52%),
    radial-gradient(1px 1px at 94% 76%, var(--dust) 50%, transparent 52%);
  background-size: 760px 760px;
  transition: background-color .9s ease, color .9s ease;
}

img { max-width: 100%; display: block; }
::selection { background: var(--gold); color: var(--on-gold); }
a { color: inherit; text-decoration: none; }

.quiet { color: var(--soft); }
a.quiet { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
a.quiet:hover { color: var(--accent); text-decoration-color: currentColor; }
.small { font-size: .88rem; }

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

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip:focus {
  position: fixed; inset: .5rem auto auto .5rem; z-index: 80; width: auto; height: auto;
  clip: auto; clip-path: none; background: var(--gold); color: var(--on-gold);
  padding: .6rem .9rem; border-radius: var(--r-input);
}

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; margin: 0; }

.hero-in, .story-grid, .cuisine-grid, .sig-grid, .band-head, .page-head, .order-layout,
.checkout, .status, .plain, .account, .account-gate, .foot-in, .closer-in {
  width: var(--page); margin-inline: auto;
}

/* ------------------------------------------------------ the drawn scene */

.sc-stars { fill: var(--star); opacity: var(--stars); transition: opacity 1.2s ease; }
.sc-sun { transform: translateY(var(--orb-shift)); transition: transform 1.6s ease; }
.sc-orb { fill: var(--orb); }
.sc-face { fill: var(--rock-face); }
.sc-snow { fill: var(--snow); }
.sc-snow-shade { fill: var(--snow-shade); }
.sc-hill-2 { fill: var(--hill-2); }
.sc-ridge { fill: var(--bg); }
.sc-sil { fill: var(--silhouette); }
.sc-lamp { fill: var(--lamp); }
.sc-bird { stroke: var(--bird); }
.sc-string { stroke: var(--flag-string); }
.sc-cloth { stroke: var(--flag-edge); stroke-width: .7; }
.sc-print { stroke: rgba(4, 18, 44, .16); }
.sc-orb, .sc-snow, .sc-snow-shade, .sc-hill-2, .sc-ridge, .sc-sil, .sc-lamp, .sc-face { transition: fill 1.2s ease; }
/* the painting in the range, lit by whichever sky is over the page */
.mu .b1 { fill: var(--mu-rock); }
.mu .b2 { fill: var(--mu-rock-lit); }
.mu .b3 { fill: var(--mu-snow-light); }
.mu .e1 { stroke: var(--mu-edge-lit); }
.mu .e2 { stroke: var(--mu-edge-dark); }
.mh-valley { stroke: var(--mu-edge-dark); }
.mh-rim { stroke: var(--mu-rim); opacity: var(--mu-rim-op); }
.mh-gold { opacity: var(--mu-gold-op); }
.mh-cloud { fill: var(--mu-cloud); opacity: var(--mu-cloud-op); }
.mh-mist-hill { fill: var(--mu-mist-hill); }
.mh-mist-dark { fill: var(--mu-mist-dark); }
.mh-shore { fill: var(--mu-shore); }
.mu .r1 { fill: var(--mu-ripple-l); }
.mu .r2 { fill: var(--mu-ripple-d); }
.mh-glint { fill: var(--mu-glint); opacity: var(--mu-glint-op); }
.mh-hill-lb { fill: var(--mu-hill-lb); }
.mh-hill-line { stroke: var(--mu-hill-line); }
.mu .w0 { fill: var(--mu-wood-0); }
.mu .w1 { fill: var(--mu-wood-1); }
.mu .w2 { fill: var(--mu-wood-2); }
.mu .w3 { fill: var(--mu-wood-3); }
.mu .w4 { fill: var(--mu-wood-4); }
.mu .w3s { stroke: var(--mu-wood-3); }
.mu .w4s { stroke: var(--mu-wood-4); }
.mh-lamp { fill: var(--lamp); opacity: var(--mu-lamp-op); transition: opacity 1.2s ease; }
.mh-walker { fill: var(--mu-walker); }
.mh-stick { stroke: var(--mu-walker); }
.mu stop { transition: stop-color 1.2s ease; }

.ridge { position: absolute; left: 0; bottom: -1px; width: 100%; height: clamp(34px, 5vw, 70px); display: block; }
.ridge polygon { transition: fill .9s ease; }
.ridge.to-deep polygon { fill: var(--deep); }
.ridge.to-bg polygon { fill: var(--bg); }
.ridge.to-foot polygon { fill: var(--foot-bg); }

/* ------------------------------------------------------ brand furniture */

.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: .9rem;
  margin: 0 0 1.1rem; color: var(--accent);
  font: 600 .76rem/1 var(--f-ui); letter-spacing: .26em; text-transform: uppercase;
}
/* a long one wraps into two even lines rather than leaving a word on its own */
.eyebrow span { text-wrap: balance; }
.eyebrow::before, .eyebrow::after {
  content: ''; width: clamp(1.5rem, 4vw, 3rem); height: 1px; background: currentColor; opacity: .5;
}

.ornament { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 1.3rem; color: var(--accent); }
.ornament i { width: clamp(2rem, 6vw, 4.25rem); height: 1px; background: currentColor; opacity: .45; }
.lotus { width: 46px; height: auto; display: block; }

.band-head { text-align: center; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.band-head h2, .story-copy h2, .closer h2 { font-size: clamp(2.1rem, 5vw, 3.5rem); line-height: 1.08; text-wrap: balance; }
.band-head h2 em, .story-copy h2 em, .closer h2 em, .page-head h1 em { font-style: italic; color: var(--accent); }
.band-note { color: var(--faint); font-size: .9rem; margin: 1.1rem auto 0; max-width: 46ch; }
.band-cta { text-align: center; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; }

/* ------------------------------------------------------------------ header */

.top {
  position: sticky; top: 0; z-index: 40;
  background: var(--head); backdrop-filter: blur(12px);
  transition: background .35s ease;
}
/* the five colours, in order, as the line under the header */
.top::after {
  content: ''; position: absolute; inset: auto 0 0; height: 3px; opacity: .92;
  background: repeating-linear-gradient(90deg,
    var(--flag-blue) 0 64px, var(--flag-white) 64px 128px, var(--flag-red) 128px 192px,
    var(--flag-green) 192px 256px, var(--flag-gold) 256px 320px);
  transition: opacity .35s ease;
}
body[data-page='home'] .top { position: fixed; inset: 0 0 auto; background: var(--head-clear); backdrop-filter: none; }
body[data-page='home'] .top::after { opacity: 0; }
body[data-page='home'] .top.scrolled { background: var(--head); backdrop-filter: blur(12px); }
body[data-page='home'] .top.scrolled::after { opacity: .92; }

.top-in {
  width: var(--page); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem;
  height: var(--head-h);
}
.menu-btn {
  justify-self: start; display: inline-flex; align-items: center; gap: .65rem;
  background: none; border: 0; color: var(--text); cursor: pointer;
  font: 600 .76rem/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase;
}
.menu-btn:hover { color: var(--accent); }
.bars { display: block; width: 24px; height: 9px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; }
.brand { justify-self: center; display: block; line-height: 0; }
.brand-badge { width: 72px; height: 72px; max-width: none; filter: drop-shadow(0 4px 14px rgba(2, 8, 22, .35)); }
.top-nav { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.nav-link { display: inline-flex; align-items: center; gap: .4rem; font: 500 .88rem/1 var(--f-ui); color: var(--text); }
.nav-link svg { width: 17px; height: 17px; }
.nav-link:hover { color: var(--accent); }
.cart-count {
  min-width: 1.3rem; text-align: center; font-variant-numeric: tabular-nums;
  background: rgba(42, 27, 3, .16); border-radius: 999px; padding: .05rem .35rem;
}
.cart-btn.bump { animation: bump .28s ease; }

.navpanel {
  position: fixed; inset: 0; z-index: 70; background: #04122c;
  display: grid; place-content: center; text-align: center; gap: 2rem;
  /* never trap a link off the edge of a short screen */
  overflow-y: auto; overscroll-behavior: contain;
}
.navpanel nav { display: grid; gap: .7rem; }
.navpanel nav a {
  font: 500 clamp(1.9rem, 6vw, 3.1rem)/1.1 var(--f-display);
  display: inline-flex; align-items: baseline; gap: 1rem; justify-content: center;
}
.navpanel nav a::before { content: attr(data-num); font: 500 .75rem var(--f-ui); color: var(--gold); letter-spacing: .18em; }
.navpanel nav a:hover { color: var(--accent); }
.navpanel-close {
  position: absolute; top: 1.3rem; right: 1.5rem; width: 2.7rem; height: 2.7rem;
  border-radius: 999px; border: 1px solid var(--line-strong); background: none;
  color: var(--text); font-size: 1.4rem; line-height: 1; cursor: pointer;
}
.navpanel-close:hover { border-color: var(--accent); color: var(--accent); }
.navpanel-foot { color: var(--faint); font-size: .9rem; line-height: 1.8; margin: 0; }

/* -------------------------------------------------------------------- hero */

/* The sky is the background, the words float in it, and the range has a band
   of its own underneath. Two rows, so the summit can never climb into the
   wordmark whatever the screen. */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: grid; grid-template-rows: 1fr auto; text-align: center;
  padding-top: var(--head-h);
  background: var(--sky);
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.hero-flags {
  position: absolute; top: calc(var(--head-h) - 6px); left: 50%; z-index: -1;
  width: max(100%, 1000px); transform: translateX(-50%); pointer-events: none;
}
.hero-in { align-self: center; padding: clamp(4.75rem, 9.5vh, 8rem) 0 clamp(.75rem, 1.5vh, 2rem); }
/* The painting from the dining room wall is the range. It scales with the
   height of its band and is cropped at the sides around a chosen point: the
   whole picture on a wide screen, the pavilion and the twin peaks on a phone. */
.range-wrap {
  --band-h: clamp(250px, 39vh, 460px);
  --band-w: max(100%, calc(var(--band-h) * 4.898));
  --focus: .53;
  position: relative; z-index: -2; height: var(--band-h); overflow: hidden;
}
.range {
  position: absolute; bottom: 0; display: block;
  width: var(--band-w); height: auto; aspect-ratio: 2400 / 490;
  left: clamp(calc(100% - var(--band-w)), calc(50% - var(--focus) * var(--band-w)), 0px);
}
@media (max-width: 40rem) { .range-wrap { --focus: .19; } .range-wrap .scroll-cue { display: none; } }
@media (min-width: 40.01rem) and (max-width: 66rem) { .range-wrap { --focus: .32; } }
/* a wide screen shows the whole painting, edge to edge */
@media (min-width: 66.01rem) { .range-wrap { --band-h: min(clamp(250px, 39vh, 460px), calc(100vw / 4.898)); --focus: .5; } }

/* the wordmark, set the way the badge sets it */
.wordmark { display: grid; justify-items: center; gap: .08em; }
.wm-caps {
  font: 500 clamp(2.5rem, 9.2vw, 5.7rem)/1 var(--f-display);
  letter-spacing: .15em; padding-left: .15em; text-transform: uppercase;
  text-shadow: var(--wm-shadow);
}
.wm-script {
  display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.4rem);
  font: 400 clamp(2.3rem, 6.4vw, 4.1rem)/1.05 var(--f-script); color: var(--script);
}
.wm-script em { font-style: normal; padding: 0 .1em; }
.wm-script i { width: clamp(1.6rem, 6vw, 4.5rem); height: 1px; background: currentColor; opacity: .6; }

.hero-sub { margin: 1.1rem auto 0; max-width: 46ch; color: var(--soft); font-size: 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.hero-status { display: inline-flex; align-items: center; gap: .45rem; margin: .95rem 0 0; font-size: .86rem; color: var(--soft); }
.hero-status svg { width: 14px; height: 14px; }
.hero-status.open { color: var(--ok); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .85rem; margin-top: 1.15rem; font-size: .92rem; }

.scroll-cue {
  position: absolute; bottom: calc(var(--band-h) * .09 + .4rem); left: 50%; transform: translateX(-50%);
  display: grid; justify-items: center; gap: .55rem; color: var(--cue);
  font: 600 .75rem/1 var(--f-ui); letter-spacing: .26em; text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(4, 18, 44, .45);
}
.scroll-cue i { width: 1px; height: 2rem; background: linear-gradient(var(--accent), transparent); }
.scroll-cue:hover { color: var(--accent); }

@media (max-height: 45rem) { .hero-sub { display: none; } }

.pill {
  display: inline-flex; align-items: center; gap: .45rem;
  border-radius: 999px; padding: .35rem .85rem; font-size: .85rem; font-weight: 500;
  border: 1px solid var(--line-strong); background: var(--glass); color: var(--soft);
  backdrop-filter: blur(6px);
}
.pill svg { width: 14px; height: 14px; }
.pill.open { background: var(--ok-bg); border-color: var(--ok-line); color: var(--ok); }

/* ------------------------------------------------------------------ story */

.story, .cuisine, .signatures, .closer { position: relative; scroll-margin-top: var(--head-h); }

.story { overflow: hidden; padding: clamp(4.5rem, 9vw, 7rem) 0 calc(clamp(4.5rem, 9vw, 7rem) + 50px); }
.story-grid { position: relative; display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.mandala-wrap {
  position: absolute; right: -260px; top: 50%; width: 760px; transform: translateY(-50%);
  color: var(--gold); opacity: .12; pointer-events: none;
}
.mandala { width: 100%; height: auto; display: block; }

/* the photograph sits in an arched frame, like a carved temple window */
.arch { margin: 0; justify-self: center; width: min(100%, 23rem); }
.arch-frame {
  display: block; padding: 11px;
  border: 1px solid var(--gold-hi); border-radius: 999px 999px 8px 8px;
  box-shadow: var(--shadow);
}
.arch-frame img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 999px 999px 3px 3px; }
.arch figcaption { margin-top: .9rem; text-align: center; color: var(--faint); font: italic 400 1rem var(--f-display); }

.story-copy .eyebrow { justify-content: flex-start; margin-bottom: 1.4rem; }
.story-copy .eyebrow::before { display: none; }
.story-copy p { color: var(--soft); margin: 1.15rem 0 0; max-width: 46ch; }
.story-copy .story-sig { color: var(--accent); font: italic 400 1.2rem var(--f-display); }

/* ----------------------------------------------------------------- cuisine */

.cuisine {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 calc(clamp(3.5rem, 7vw, 5.5rem) + 50px);
  background: var(--deep); transition: background-color .9s ease;
}
.cuisine-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.cuisine-card { position: relative; display: block; overflow: hidden; border-radius: var(--r-photo); background: var(--bg-3); color: #f6f1e7; }
.cuisine-card img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform .6s ease; }
/* a brass hairline set inside the photograph, the way a thangka is framed */
.cuisine-card::after {
  content: ''; position: absolute; inset: 9px; border: 1px solid rgba(226, 171, 71, .4);
  border-radius: 2px; pointer-events: none; transition: border-color .3s ease, inset .3s ease;
}
.cuisine-card:hover::after { border-color: rgba(226, 171, 71, .95); inset: 6px; }
.cuisine-card:hover img { transform: scale(1.04); }
.cuisine-body {
  position: absolute; inset: auto 0 0; padding: 2.2rem 1.5rem 1.35rem;
  background: linear-gradient(transparent, rgba(4, 18, 44, .94) 58%);
  display: grid; gap: .2rem;
}
.cuisine-name { font: 500 1.5rem/1.15 var(--f-display); }
.cuisine-count { font-size: .76rem; font-weight: 600; color: #e2ab47; letter-spacing: .12em; text-transform: uppercase; }

/* ---------------------------------------------------------- most ordered */

.signatures { padding: clamp(4.5rem, 9vw, 6.5rem) 0 clamp(3.5rem, 7vw, 5rem); }
.sig-grid { display: grid; gap: 2rem 1.75rem; grid-template-columns: 1fr; }
.sig { display: grid; gap: 1.05rem; align-content: start; text-align: left; color: inherit; }
.sig-frame { position: relative; display: block; overflow: hidden; border-radius: var(--r-photo); background: var(--bg-3); }
.sig-frame img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s ease; }
.sig-blank { display: grid; place-items: center; aspect-ratio: 3 / 2; color: var(--gold); opacity: .55; }
.sig-blank .lotus { width: 84px; }
.sig-frame::after {
  content: ''; position: absolute; inset: 9px; border: 1px solid rgba(226, 171, 71, 0);
  border-radius: 2px; pointer-events: none; transition: border-color .3s ease;
}
.sig:hover .sig-frame::after { border-color: rgba(226, 171, 71, .9); }
.sig:hover .sig-frame img { transform: scale(1.04); }
/* a rank, because this list really is one */
.sig-rank {
  position: absolute; top: .75rem; left: .75rem; width: 2.1rem; height: 2.1rem;
  display: grid; place-items: center; border-radius: 999px;
  background: linear-gradient(180deg, #ecbd62, var(--gold)); color: var(--on-gold);
  font: 600 1rem/1 var(--f-display);
}
.sig-body { display: grid; gap: .3rem; }
.sig-name { font: 500 1.55rem/1.15 var(--f-display); }
.sig-desc { color: var(--soft); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sig-price { color: var(--price); font-weight: 600; font-variant-numeric: tabular-nums; margin-top: .2rem; }
.sig:hover .sig-name { color: var(--accent); }

/* ------------------------------------------------------------ order page */

.order-top { position: relative; overflow-x: clip; padding-top: clamp(3.75rem, 6vw, 5.25rem); }
.flag-swag {
  position: absolute; top: 0; left: 50%; width: max(100%, 920px); transform: translateX(-50%);
  pointer-events: none;
}
.order-layout { display: grid; gap: 2.5rem; align-items: start; padding-bottom: 4rem; }
.order-main { min-width: 0; }
.order-side { display: none; }

.notice {
  margin: 0 0 1.5rem; padding: .9rem 1.1rem;
  background: var(--notice); border-left: 3px solid var(--gold);
  border-radius: 0 var(--r-input) var(--r-input) 0; font-size: .95rem;
}
.notice a { text-decoration: underline; text-underline-offset: 3px; }

.search {
  display: flex; align-items: center; gap: .6rem; width: min(28rem, 100%);
  background: var(--field); border: 1px solid var(--line-strong); border-radius: 999px;
  padding: .1rem .3rem .1rem .95rem;
}
.search:focus-within { border-color: var(--accent); }
.search svg { width: 18px; height: 18px; color: var(--faint); flex: 0 0 auto; }
.search input { border: 0; background: none; padding: .75rem 0; font: 400 1rem var(--f-ui); width: 100%; color: var(--text); }
.search input::placeholder { color: var(--faint); }
.search input:focus { outline: none; }
.search .clear { border: 0; background: none; font-size: 1.3rem; line-height: 1; color: var(--faint); cursor: pointer; padding: .2rem .6rem; }
.search-count { margin: .8rem 0 0; font-size: .88rem; color: var(--faint); }

.rail {
  position: sticky; top: var(--head-h); z-index: 30;
  display: flex; gap: .45rem; overflow-x: auto; scrollbar-width: none;
  margin: 1.25rem 0 .25rem; padding: .85rem 0;
  background: linear-gradient(var(--bg) 80%, transparent);
  scroll-snap-type: x proximity;
}
.rail::-webkit-scrollbar { display: none; }
.rail a {
  flex: 0 0 auto; scroll-snap-align: start; white-space: nowrap;
  font: 500 .86rem/1 var(--f-ui); color: var(--soft);
  border: 1px solid var(--line-strong); border-radius: 999px; padding: .5rem .9rem; background: var(--field);
}
.rail a:hover { border-color: var(--accent); color: var(--text); }
.rail a[aria-current='true'] { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }

.course { margin: 2.5rem 0 3rem; scroll-margin-top: 9.5rem; }
.course-title { display: flex; align-items: baseline; gap: 1.1rem; font-size: clamp(1.65rem, 3vw, 2.15rem); }
.course-title .rule { flex: 1 1 auto; height: 1px; background: linear-gradient(90deg, var(--gold-hi), var(--line) 45%); opacity: .8; }
.course-title em { font: 400 .8rem var(--f-ui); font-style: normal; color: var(--faint); }
.course-note { color: var(--faint); font-size: .88rem; margin: .5rem 0 0; }

.dishes { margin-top: .6rem; }
.dish { display: flex; align-items: flex-start; gap: .9rem; border-bottom: 1px solid var(--line); }
.dish-main {
  flex: 1 1 auto; min-width: 0; display: flex; gap: 1.1rem; align-items: flex-start; text-align: left;
  background: none; border: 0; padding: 1.2rem 0; font: inherit; color: inherit; cursor: pointer;
}
.dish-photo {
  flex: 0 0 auto; width: 88px; height: 88px; object-fit: cover; border-radius: var(--r-photo);
  background: var(--bg-3); box-shadow: 0 0 0 1px var(--line);
}
.dish-body { flex: 1 1 auto; min-width: 0; }
.dish-name { display: block; font: 500 1.26rem/1.25 var(--f-display); }
.dish-desc {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  margin-top: .3rem; color: var(--soft); font-size: .9rem; line-height: 1.5;
}
.dish-offers { display: block; margin-top: .35rem; font-size: .84rem; color: var(--faint); }
.dish-price { flex: 0 0 auto; font: 600 1rem/1.6 var(--f-ui); font-variant-numeric: tabular-nums; color: var(--price); white-space: nowrap; }
.dish-price .from { color: var(--faint); font-size: .8rem; font-weight: 400; }
.dish-main:hover .dish-name { color: var(--accent); }
.dish-main:hover .dish-photo { box-shadow: 0 0 0 1px var(--gold-hi); }

/* the plus: one tap when there is nothing to choose */
.dish-add {
  flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--gold); background: transparent; color: var(--accent);
  font: 400 1.45rem/1 var(--f-ui); display: grid; place-items: center;
  /* level with the name and the price, not floating in the middle of the row */
  margin-top: .72rem;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.dish-add:hover { background: var(--gold); color: var(--on-gold); }
.dish-add.done { background: var(--gold); color: var(--on-gold); transform: scale(1.12); }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.tag {
  font: 600 .75rem/1 var(--f-ui); letter-spacing: .05em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--soft);
}
.tag.veg { color: var(--veg); border-color: currentColor; }
.tag.warn { color: var(--warn); border-color: currentColor; }
.tag.hot { color: var(--on-gold); background: var(--gold-hi); border-color: var(--gold-hi); }

.no-hits { color: var(--soft); padding: 2.5rem 0 4rem; }

/* the order, pinned beside the menu on a wide screen */
.cart-panel {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sheet);
  display: flex; flex-direction: column; overflow: hidden;
  max-height: calc(100dvh - var(--head-h) - 2.5rem); box-shadow: var(--shadow);
}
.cart-panel .drawer-in { min-height: 0; }
.cart-panel .drawer-head .close { display: none; }

/* ----------------------------------------------------------------- closer */

.closer { overflow: hidden; text-align: center; padding: clamp(4rem, 9vw, 6.5rem) 0 0; background: var(--closer); }
.closer-in { position: relative; z-index: 1; padding-bottom: clamp(13rem, 24vw, 19rem); }
.closer p { color: var(--soft); max-width: 46ch; margin: 1.2rem auto 0; }
.bay { position: absolute; inset: auto 0 0; width: 100%; height: clamp(180px, 21vw, 270px); display: block; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  font: 500 .95rem/1 var(--f-ui); letter-spacing: .02em;
  padding: .92rem 1.65rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; color: var(--text);
}
.btn:hover { border-color: var(--text); }
.btn.gold {
  background: linear-gradient(180deg, #ecbd62, var(--gold));
  border-color: var(--gold); color: var(--on-gold); font-weight: 600;
  box-shadow: 0 8px 26px rgba(198, 137, 27, .28);
}
.btn.gold:hover { background: linear-gradient(180deg, #f3cb7d, #d1961f); }
.btn.gold:disabled { background: var(--line); border-color: transparent; color: var(--faint); cursor: default; box-shadow: none; }
.btn.ghost { background: var(--glass); border-color: var(--ghost-line); backdrop-filter: blur(6px); }
.btn.wide { width: 100%; }
.btn.grow { flex: 1 1 auto; }
.btn.big { padding: 1.05rem 1.6rem; font-size: 1.02rem; }
.btn.small { padding: .58rem 1.1rem; font-size: .86rem; box-shadow: none; }
.btn svg { width: 17px; height: 17px; }

.orderbar {
  position: fixed; inset: auto 0 0; z-index: 35;
  padding: .75rem max(1.25rem, calc(50vw - 38rem)) calc(.75rem + env(safe-area-inset-bottom));
  background: var(--head); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.orderbar .btn { justify-content: space-between; }
.orderbar [data-bar-count] { font-variant-numeric: tabular-nums; opacity: .8; }
body.has-order { padding-bottom: 5rem; }

/* ------------------------------------------------------ dialogs and sheets */

dialog {
  border: 1px solid var(--line); padding: 0; color: var(--text); background: var(--bg-2);
  box-shadow: var(--shadow); max-height: 100dvh;
}
dialog::backdrop { background: var(--scrim); backdrop-filter: blur(4px); }
.sheet { width: min(31rem, 100%); border-radius: var(--r-sheet); margin: auto; }
.drawer { width: min(27rem, 100%); height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; border-radius: 0; border-width: 0 0 0 1px; }

.sheet-photo { width: 100%; height: 205px; object-fit: cover; background: var(--bg-3); }
.sheet-in { padding: 1.5rem; }
.sheet-head { display: flex; justify-content: space-between; gap: 1rem; align-items: flex-start; }
.sheet-title { font-size: 1.85rem; line-height: 1.1; }
.sheet-desc { color: var(--soft); font-size: .95rem; margin: .5rem 0 0; }
.sheet .tags { margin-top: .8rem; }
.close {
  flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-strong); background: none; color: var(--soft); font-size: 1.1rem; line-height: 1;
}
.close:hover { border-color: var(--accent); color: var(--accent); }
.sheet-foot { display: flex; align-items: center; gap: .8rem; margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }

.opt-group { margin-top: 1.5rem; }
.opt-label { display: flex; align-items: baseline; gap: .5rem; font: 500 1.22rem/1.2 var(--f-display); margin: 0 0 .65rem; }
.opt-note { font: 400 .78rem var(--f-ui); color: var(--faint); }
.opt-group.missing .opt-label { color: var(--danger); }
.opt-list { display: grid; gap: .4rem; }
.opt-list.scale { grid-template-columns: repeat(5, 1fr); gap: .35rem; }

.opt { position: relative; display: block; cursor: pointer; }
.opt input, .scale-opt input, .chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt > span {
  display: flex; justify-content: space-between; gap: 1rem;
  border: 1px solid var(--line-strong); border-radius: var(--r-input); padding: .72rem .85rem; font-size: .96rem;
}
.opt:hover > span { border-color: var(--accent); }
.opt input:checked + span { border-color: var(--gold); background: var(--pick); }
.opt input:focus-visible + span, .scale-opt input:focus-visible + span, .chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.scale-opt { position: relative; cursor: pointer; }
.scale-opt > span {
  display: block; text-align: center; padding: .55rem 0;
  border: 1px solid var(--line-strong); border-radius: var(--r-input);
  box-shadow: inset 0 -3px 0 var(--heat, var(--line));
  font: 500 .95rem/1 var(--f-ui); font-variant-numeric: tabular-nums;
}
.scale-opt input:checked + span { background: var(--heat); border-color: var(--heat); color: #fff; box-shadow: none; }
.scale-name { margin: .6rem 0 0; font-size: .85rem; color: var(--soft); min-height: 1.2em; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { cursor: pointer; }
.chip > span { display: inline-block; border: 1px solid var(--line-strong); border-radius: 999px; padding: .5rem 1rem; font: 500 .9rem/1 var(--f-ui); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); font-weight: 600; }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.stepper button { width: 2.5rem; height: 2.7rem; border: 0; background: none; color: var(--text); font-size: 1.1rem; cursor: pointer; border-radius: 999px; }
.stepper button:hover { color: var(--accent); }
.stepper output { min-width: 1.75rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }

/* -------------------------------------------------------------------- cart */

.drawer-in { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.25rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.65rem; }
.drawer-body { flex: 1 1 auto; overflow-y: auto; padding: .25rem 1.4rem 1rem; }
.drawer-foot { padding: 1.2rem 1.4rem calc(1.2rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg-3); }

.cart-line { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.cart-line h3 { font: 500 1.18rem/1.3 var(--f-display); }
.cart-line .mods, .cart-line .note { color: var(--soft); font-size: .86rem; margin: .15rem 0 0; }
.cart-line .price { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--price); }
.cart-line .row { grid-column: 1 / -1; display: flex; align-items: center; gap: .9rem; margin-top: .5rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--faint); font: 400 .86rem var(--f-ui); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--danger); }

.totals { margin: 0; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; padding: .22rem 0; }
.totals dt { color: var(--soft); margin: 0; }
.totals dd { margin: 0; font-variant-numeric: tabular-nums; }
.totals .grand { margin-top: .55rem; padding-top: .6rem; border-top: 1px solid var(--line-strong); font: 500 1.5rem/1.2 var(--f-display); }
.totals .grand dt { color: var(--text); }

.empty { text-align: center; color: var(--soft); padding: 2.5rem 1rem; }
.empty svg { width: 52px; margin: 0 auto 1rem; color: var(--line-strong); }

/* ---------------------------------------------------------------- checkout */

.page-head { text-align: center; padding: clamp(2.75rem, 6vw, 4.25rem) 0 2rem; }
.order-top .page-head { padding-top: 0; }
.page-head h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); line-height: 1.05; }
.checkout { display: grid; gap: 2.5rem; padding-bottom: 4rem; align-items: start; }
.signed-in { color: var(--soft); font-size: .93rem; margin: 0; max-width: 50ch; }
.signed-in a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.group { border: 0; border-top: 1px solid var(--line); margin: 2.2rem 0 0; padding: 1.5rem 0 0; }
.group legend { font: 500 1.42rem/1 var(--f-display); padding: 0 .7rem 0 0; }
.two { display: grid; gap: 0 1rem; grid-template-columns: 1fr 1fr; }
.field { display: block; margin: 0 0 1rem; }
.field > span { display: block; font-size: .84rem; color: var(--soft); margin-bottom: .35rem; }
input, select, textarea {
  width: 100%; background: var(--field); color: var(--text);
  border: 1px solid var(--line-strong); border-radius: var(--r-input);
  padding: .8rem .85rem; font: 400 1rem var(--f-ui);
}
input::placeholder { color: var(--faint); }
input:focus-visible, select:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--gold); }
select option { background: var(--bg-2); color: var(--text); }
select:disabled { opacity: .45; }
.radio { display: flex; align-items: flex-start; gap: .65rem; margin: 0 0 .8rem; cursor: pointer; }
.radio input { width: auto; accent-color: var(--gold); margin-top: .3rem; }
.radio em { display: block; font-style: normal; color: var(--soft); font-size: .86rem; }

.summary-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sheet);
  padding: 1.6rem; position: sticky; top: calc(var(--head-h) + 1.25rem);
}
.summary-card h2 { font-size: 1.65rem; margin-bottom: 1rem; }
.summary { font-size: .95rem; }
.summary .row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.summary .row span:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.summary .mods { display: block; color: var(--soft); font-size: .84rem; }
.summary .sum { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .7rem; }
.summary .grand { font: 500 1.45rem/1.2 var(--f-display); color: var(--price); }

#card-container { margin: .2rem 0 1.2rem; min-height: 5.5rem; }
.wallets { display: grid; gap: .6rem; margin-bottom: 1rem; }
.wallets .or { text-align: center; color: var(--faint); font-size: .85rem; margin: .2rem 0; }
.pay-error {
  color: var(--danger-text); background: var(--danger-bg); border-left: 3px solid var(--danger);
  padding: .75rem .9rem; font-size: .92rem; margin: 0 0 1rem; border-radius: 0 var(--r-input) var(--r-input) 0;
}
.fine { color: var(--faint); font-size: .82rem; margin: .9rem 0 0; }

/* --------------------------------------------------------- status, plain */

.status, .plain { max-width: 40rem; padding-bottom: 4rem; }
.lead { color: var(--soft); margin: 0; font-size: 1.06rem; }

.steps { list-style: none; margin: 2.2rem 0; padding: 0; }
.steps li { position: relative; padding: 0 0 1.5rem 2rem; color: var(--faint); }
.steps li:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 1.35rem; bottom: .1rem; width: 1px; background: var(--line-strong); }
.steps .dot { position: absolute; left: 0; top: .5rem; width: 13px; height: 13px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); }
.steps li.done { color: var(--soft); }
.steps li.done .dot { background: var(--flag-blue); border-color: var(--flag-blue); }
.steps li.now { color: var(--text); font-weight: 600; }
.steps li.now .dot { background: var(--gold-hi); border-color: var(--gold-hi); box-shadow: 0 0 0 4px rgba(198, 137, 27, .25); }

.lines { list-style: none; margin: 1.8rem 0; padding: 1.3rem 0 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: 1.8rem 1fr auto; gap: .8rem; padding: .45rem 0; }
.lines .q { color: var(--faint); font-variant-numeric: tabular-nums; }
.lines em { display: block; font-style: normal; color: var(--soft); font-size: .86rem; }
.lines .p { font-variant-numeric: tabular-nums; }

.keep { margin: 2.5rem 0 0; padding: 1.6rem; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sheet); }
.keep h2 { font-size: 1.55rem; }
.keep p { color: var(--soft); font-size: .93rem; margin: .5rem 0 1rem; }
.keep-row { display: flex; gap: .7rem; align-items: flex-start; }
.keep-row .field { flex: 1 1 auto; margin: 0; }

.hours { margin: 1.8rem 0; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--soft); margin: 0; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .today, .hours .today dt { color: var(--accent); font-weight: 600; }

/* ----------------------------------------------------------------- account */

.account-gate, .account { padding-bottom: 4rem; }
.account-gate { display: grid; gap: 2.5rem; align-items: start; }
.gate-cards { display: grid; gap: 1.25rem; }
.card { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-sheet); padding: 1.6rem; }
.card h2 { font-size: 1.6rem; margin-bottom: 1rem; }
.card + .card { margin-top: 1.25rem; }
.account-grid { display: grid; gap: 2.5rem; align-items: start; }
.sub { font-size: 1.75rem; margin-bottom: 1rem; }
.past { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.past-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.past-ref { font: 500 1.28rem/1.2 var(--f-display); margin: 0; }
.past-head .quiet { font-size: .87rem; display: block; margin-top: .15rem; }
.past-paid { font-variant-numeric: tabular-nums; font-weight: 600; margin: 0; color: var(--price); }
.past-lines { color: var(--soft); font-size: .93rem; margin: .6rem 0 .9rem; }
.past-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.signout-row { margin: 1.25rem 0 0; text-align: center; }

/* ------------------------------------------------------------------ footer */

.foot { background: var(--foot-bg); color: var(--soft); font-size: .92rem; transition: background-color .9s ease; }
.foot-edge { background: var(--bg); line-height: 0; transition: background-color .9s ease; }
.foot-edge .ridge { position: static; }
.foot-in { display: grid; gap: 2.5rem; padding: 3.25rem 0 2rem; grid-template-columns: 1fr; }
.foot h2 { font: 500 1.28rem var(--f-display); color: var(--text); margin-bottom: .7rem; }
.foot p { margin: .25rem 0; }
.foot a:hover { color: var(--accent); }
.foot-brand img { width: 108px; height: 108px; }
.foot-name { font: 500 1.55rem/1.2 var(--f-display); color: var(--text); margin-top: 1rem; }
.foot-kitchen { color: var(--accent); font: italic 400 1.08rem var(--f-display); }
.foot-lotus { color: var(--gold); margin-top: 1rem; }
.foot-lotus .lotus { width: 40px; }
.foot .foot-fine {
  width: var(--page); margin: 0 auto; padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--line); color: var(--faint); font-size: .82rem;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center;
}
/* the sky follows the clock, and anyone can look at the other three */
.sky-pick { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem; }
.sky-pick > span { margin-right: .35rem; }
.sky-pick button {
  background: none; border: 1px solid transparent; border-radius: 999px; color: var(--faint);
  font: 500 .78rem var(--f-ui); padding: .28rem .7rem; cursor: pointer;
}
.sky-pick button:hover { color: var(--text); }
.sky-pick button[aria-pressed='true'] { border-color: var(--gold); color: var(--accent); }

/* ------------------------------------------------------------------ motion */

@keyframes rise { from { transform: translateY(12px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes bump { 50% { transform: scale(1.08) } }
@keyframes twinkle { 0%, 100% { opacity: .15 } 50% { opacity: 1 } }
@keyframes sway { from { transform: rotate(-2.6deg) skewX(-2deg) } to { transform: rotate(3.2deg) skewX(3deg) } }
@keyframes moonrise { from { transform: translateY(34px); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes turn { to { transform: rotate(360deg) } }
@keyframes bob { from { transform: translateY(-2px) rotate(-1.4deg) } to { transform: translateY(3px) rotate(1.6deg) } }
@keyframes drift-a { to { transform: translateX(-260px) } }
@keyframes drift-b { to { transform: translateX(-320px) } }
@keyframes drift-c { to { transform: translateX(-220px) } }
@keyframes drift-d { to { transform: translateX(-280px) } }

/* One orchestrated moment: the sun or the moon comes up behind the range, the
   flags catch a little wind, a few stars flicker, the water drifts. */
@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation: rise .22s cubic-bezier(.2, .8, .3, 1); }
  .tw { animation: twinkle 4.8s ease-in-out infinite; }
  .flag { transform-box: fill-box; transform-origin: 50% 0; animation: sway 3.8s ease-in-out infinite alternate; }
  .moon { transform-box: fill-box; animation: moonrise 2.6s cubic-bezier(.2, .7, .2, 1) both; }
  .mandala { animation: turn 320s linear infinite; }
  .boat { transform-box: fill-box; transform-origin: 50% 100%; animation: bob 4.6s ease-in-out infinite alternate; }
  .wave-a { animation: drift-a 38s linear infinite; }
  .wave-b { animation: drift-b 30s linear infinite; }
  .wave-c { animation: drift-c 24s linear infinite; }
  .wave-d { animation: drift-d 34s linear infinite; }
}
/* ------------------------------------------------------- cards and reveals */

/* a card leans toward the pointer and catches the light where it is */
.cuisine-card, .sig-frame {
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease, scale .2s ease;
}
.cuisine-card::before, .sig-frame::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--glint-x, 50%) var(--glint-y, 0%), rgba(255, 236, 196, .34), transparent 55%);
  mix-blend-mode: soft-light; transition: opacity .4s ease;
}
.cuisine-card:hover, .sig:hover .sig-frame { box-shadow: 0 28px 54px -24px rgba(4, 18, 44, .6), 0 0 0 1px rgba(226, 171, 71, .35); }
.cuisine-card:hover::before, .sig:hover .sig-frame::before { opacity: 1; }
.cuisine-card:active, .sig:active .sig-frame { scale: .985; }
.cuisine-body { z-index: 2; }
.sig-rank { z-index: 2; }

/* the gold buttons: a slow line of light across them on hover */
.btn.gold { position: relative; overflow: hidden; isolation: isolate; }
.btn.gold::after {
  content: ''; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 249, 232, .55), transparent);
  transform: skewX(-18deg); transition: left .7s cubic-bezier(.2, .7, .2, 1);
}
.btn.gold:hover::after { left: 120%; }

@media (prefers-reduced-motion: no-preference) {
  /* sections rise into place as they scroll in, a few at a time */
  .rv { opacity: 0; translate: 0 28px; transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--rv-i, 0) * 95ms); }
  .rv.in { opacity: 1; translate: 0 0; }
  .cuisine-card.rv, .sig.rv { transition: opacity .8s cubic-bezier(.2, .7, .2, 1), translate .8s cubic-bezier(.2, .7, .2, 1), transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease; transition-delay: calc(var(--rv-i, 0) * 95ms), calc(var(--rv-i, 0) * 95ms), 0s, 0s; }
  /* the first screen settles in once, on arrival */
  body[data-page='home'] .hero-in > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  body[data-page='home'] .hero-in > :nth-child(2) { animation-delay: .08s; }
  body[data-page='home'] .hero-in > :nth-child(3) { animation-delay: .18s; }
  body[data-page='home'] .hero-in > :nth-child(4) { animation-delay: .26s; }
  body[data-page='home'] .hero-in > :nth-child(5) { animation-delay: .34s; }
  /* the clouds in the painting drift */
  .mh-cloud { animation: cloud-drift 46s ease-in-out infinite alternate; }
}
@keyframes cloud-drift { to { transform: translateX(-70px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* -------------------------------------------------------------- wider than */

@media (min-width: 48rem) {
  .cuisine-grid { grid-template-columns: repeat(2, 1fr); }
  .sig-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 60rem) {
  .story-grid { grid-template-columns: .8fr 1.2fr; }
  .cuisine-grid { grid-template-columns: repeat(3, 1fr); }
  .sig-grid { grid-template-columns: repeat(3, 1fr); }
  .checkout { grid-template-columns: 1.4fr .85fr; }
  .account-gate { grid-template-columns: 1fr 1fr; }
  .account-grid { grid-template-columns: 1.5fr .8fr; }
  .foot-in { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* room for the order beside the menu: the bar and the drawer step aside */
@media (min-width: 66rem) {
  .order-layout { grid-template-columns: minmax(0, 1fr) 23rem; gap: 3.25rem; }
  .order-side { display: block; position: sticky; top: calc(var(--head-h) + 1.25rem); }
  body[data-page='order'] .orderbar { display: none !important; }
  body[data-page='order'].has-order { padding-bottom: 0; }
  body[data-page='order'] .cart-btn { display: none !important; }
}

@media (max-width: 40rem) {
  :root { --page: min(76rem, 100% - 2rem); --head-h: 4.1rem; }
  .brand-badge { width: 58px; height: 58px; }
  .hide-sm { display: none; }
  .top-nav { gap: .6rem; }
  /* on the narrowest phones the badge keeps its full width between the two sides */
  .top-in { gap: .5rem; }
  .nav-link .label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .hero-sub { font-size: .98rem; max-width: 34ch; }
  .hero-cta { margin-top: 1.4rem; }
  .hero-cta .btn { flex: 1 1 auto; padding-inline: 1rem; }
  .mandala-wrap { width: 520px; right: -300px; }
  .two { grid-template-columns: 1fr; }
  .dish { gap: .6rem; }
  /* the price goes under the name, so the words get the width of the screen
     instead of a column a few words wide */
  .dish-main { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: .3rem 0; }
  .dish-photo { width: 68px; height: 68px; grid-row: span 2; margin-right: .8rem; }
  .dish-body, .dish-price { grid-column: 2; }
  .dish-price { line-height: 1.3; }
  .dish-add { width: 2.75rem; height: 2.75rem; margin-top: .6rem; }
  /* low enough that the flags never touch the heading */
  .order-top { padding-top: 4.5rem; }
  .order-top .page-head { padding-bottom: 1.25rem; }
  .order-top .hero-meta .quiet { display: none; }
  .story-copy h2, .band-head h2, .closer h2 { font-size: clamp(1.95rem, 8.4vw, 2.5rem); }
  .sheet, .drawer {
    width: 100%; max-width: none; margin: auto auto 0;
    border-radius: 14px 14px 0 0; height: auto; max-height: 92dvh; border-width: 1px 0 0;
  }
  .keep-row { flex-direction: column; }
  .keep-row .btn { width: 100%; }
}

/* --------------------------------------------------------------- fingers */

/* Every control is at least 44px to the finger: Apple's own minimum, and
   above what WCAG asks. Where that would change the look on a desktop it
   applies to touch screens only. The first two are invisible either way. */
.menu-btn { min-height: 2.75rem; }
.nav-link { min-height: 2.75rem; min-width: 2.75rem; justify-content: center; }
@media (pointer: coarse) {
  .btn, .sky-pick button, .link-btn { min-height: 2.75rem; }
  .rail a, .chip > span { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .link-btn { padding: 0 .35rem; }
  .close, .dish-add, .stepper button { width: 2.75rem; height: 2.75rem; }
  .scale-opt > span { padding: .85rem 0; }
  .radio { min-height: 2.75rem; padding-top: .55rem; margin-bottom: .3rem; }
  .foot-col p { margin: 0; }
  .foot-col a { display: block; padding: .75rem 0; }
  a.quiet { display: inline-block; padding: .75rem 0; }
  .navpanel nav a { padding-block: .35rem; }
  .navpanel-close { width: 2.75rem; height: 2.75rem; }
}

/* the narrowest phones: the word "Menu" goes, the bars stay, so the badge
   keeps its full size in the middle of the header */
@media (max-width: 22.4rem) {
  .menu-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .menu-btn { min-width: 2.75rem; }
}

/* a phone on its side: the menu overlay fits the height, top to bottom */
@media (max-height: 32rem) {
  .navpanel { place-content: start center; padding: 1.4rem 1rem 1.5rem; gap: 1rem; }
  .navpanel nav { gap: .15rem; }
  .navpanel nav a { font-size: min(6vw, 7.5vh); padding-block: .45rem; }
  .navpanel-foot { display: none; }
  /* and the dish photo leaves room for the choices */
  .sheet-photo { height: 120px; }
}

/* a phone on its side: the wordmark sized by the height, so the buttons and
   the opening hours fit on the first screen */
@media (orientation: landscape) and (max-height: 30rem) {
  .hero-flags { width: 100%; }
  .hero-in { padding-top: clamp(3rem, 13vh, 4.5rem); }
  .wm-caps { font-size: min(9.2vw, 15vh); }
  .wm-script { font-size: min(6.4vw, 11vh); }
  .hero-cta { margin-top: 1rem; }
}
