/* Self-hosted (docs/DEPLOY-GATES.md, P1-M14): no request to Google. Latin and Latin Extended subsets only; licences in public/fonts/. */
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/shippori-mincho-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/shippori-mincho-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/shippori-mincho-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/shippori-mincho-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/shippori-mincho-800-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Shippori Mincho"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/shippori-mincho-800-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/zen-kaku-gothic-new-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/zen-kaku-gothic-new-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/zen-kaku-gothic-new-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/zen-kaku-gothic-new-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/zen-kaku-gothic-new-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Zen Kaku Gothic New"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/zen-kaku-gothic-new-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/be-vietnam-pro-400-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/be-vietnam-pro-400-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/be-vietnam-pro-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/be-vietnam-pro-500-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/be-vietnam-pro-500-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/be-vietnam-pro-500-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/be-vietnam-pro-700-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/be-vietnam-pro-700-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Be Vietnam Pro"; font-style: normal; font-weight: 700; font-display: swap; src: url("/fonts/be-vietnam-pro-700-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/fonts/noto-serif-var-vietnamese.woff2") format("woff2"); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/fonts/noto-serif-var-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Noto Serif"; font-style: normal; font-weight: 500 800; font-display: swap; src: url("/fonts/noto-serif-var-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* vowgrove.com. The hall's own tokens (apps/world/src/styles.css): Vermilion Dawn and Thousand Lamps, blended by --n
   as the evening scrolls past (site.js sets it on <html>). One look, so no light/dark switch: the page is the evening. */
:root {
  color-scheme: dark;
  --display: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --body: "Zen Kaku Gothic New", "Hiragino Sans", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --n: 0;
  --vh: 100vh;
  --page: color-mix(in oklab, #2a1f17, #0b0d1e calc(var(--n) * 100%));
  --panel: color-mix(in oklab, rgba(30,22,17,.7), rgba(13,16,38,.7) calc(var(--n) * 100%));
  --panel-solid: color-mix(in oklab, #221913, #0f1230 calc(var(--n) * 100%));
  --panel-line: color-mix(in oklab, rgba(233,199,106,.22), rgba(255,179,90,.22) calc(var(--n) * 100%));
  --text: color-mix(in oklab, #f3ead8, #ece8f4 calc(var(--n) * 100%));
  --muted: color-mix(in oklab, #cbbfa6, #b6b2cc calc(var(--n) * 100%));
  --accent: color-mix(in oklab, #d9a838, #ffb35a calc(var(--n) * 100%));
  --accent-ink: #21170a; --focus: #f6d68a;
  --chip: rgba(255,244,222,.08); --chip-line: rgba(255,244,222,.2); --glow: 255,179,90;
  /* the realms: moonlit glass, cool where the temples are warm */
  --realm-sky: #121633; --realm-deep: #0d1028; --realm-text: #eef1fa; --realm-muted: #b3bbd3; --realm-line: rgba(220,228,255,.2);
}
@supports (height: 100svh) { :root { --vh: 100svh; } }
html { background: var(--page); }
body { margin: 0; background: var(--page); color: var(--text); font: 15px/1.55 var(--body); -webkit-text-size-adjust: 100%; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, p { margin: 0; }
img, video, svg, canvas { max-width: 100%; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

.m { position: relative; container-type: inline-size; overflow-x: clip; }
.m .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--chip-line); background: var(--chip); color: var(--text); font: 500 15px var(--body); text-decoration: none; cursor: pointer; white-space: nowrap; }
.m .btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 700; }
.m .btn-quiet { min-height: 40px; padding: 0 14px; font-size: 13.5px; }
.m .btn:focus-visible, .m input:focus-visible, .m a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.m .btn[disabled] { opacity: .6; cursor: default; }
.m .chipline { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; border: 1px solid var(--chip-line); background: rgba(0,0,0,.28); border-radius: 999px; padding: 4px 12px 4px 8px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #f3ead8; }
.m .dot { width: 8px; height: 8px; border-radius: 50%; background: #ffcf7a; box-shadow: 0 0 10px rgba(var(--glow), .9); }
.m .wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); max-width: 1180px; margin: 0 auto; width: 100%; }
@container (min-width: 760px) { .m .wrap { padding-left: max(48px, env(safe-area-inset-left, 0px)); padding-right: max(48px, env(safe-area-inset-right, 0px)); } }
.m .stack { display: grid; gap: 14px; }
.m .eyebrow { font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.m .h2 { font: 700 clamp(28px, 7.4cqw, 50px)/1.12 var(--display); text-wrap: balance; max-width: 19ch; }
.m .lead { color: var(--muted); max-width: 48ch; text-wrap: pretty; }

/* nav: the app's translucent panel, over the hero */
.m .nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 10px) max(14px, env(safe-area-inset-right, 0px)) 10px max(14px, env(safe-area-inset-left, 0px)); background: var(--panel); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid var(--panel-line); margin-bottom: calc(-61px - env(safe-area-inset-top, 0px)); }
.m .brand { font: 800 19px/1 var(--display); letter-spacing: .04em; display: flex; align-items: center; gap: 8px; color: var(--text); text-decoration: none; }
.m .brand svg { width: 22px; height: 22px; color: var(--accent); }
.m .nav .sp { flex: 1; }
.m .ttime { font-size: 12.5px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.m .nav .btn-primary { min-height: 38px; padding: 0 15px; font-size: 13.5px; }
@container (max-width: 520px) { .m .ttime { display: none; } }
/* Enter: straight to the hall (alpha.vowgrove.com) for those already invited; the hall's own join screen takes anyone
   else. A warm outline, apart from Ask (filled) and See more (dark glass). In the nav it draws 38 px tall like Ask, and
   its ::before reaches 44 px for a finger. */
.m .btn-enter { position: relative; background: rgba(246,214,138,.12); border-color: rgba(246,214,138,.6); color: #f6efe0; font-weight: 700; }
.m .btn-enter:hover { background: rgba(246,214,138,.22); }
.m .btn-enter svg { width: 18px; height: 18px; flex: none; }
.m .nav .btn-enter { min-height: 38px; padding: 0 14px; font-size: 13.5px; gap: 0; }
.m .nav .btn-enter .wide { margin-left: .3em; }
.m .nav .btn-enter::before { content: ""; position: absolute; inset: -3px 0; }
@container (max-width: 520px) { .m .nav .btn-enter .wide { display: none; } }
@container (max-width: 400px) { .m .nav { gap: 8px; } .m .nav .btn-enter, .m .nav .btn-primary { padding: 0 11px; } .m .brand { font-size: 17px; } }

/* 1. hero: the walk in from the gate at Vowgrove Temple, then at Chùa Tâm An, on repeat (a poster first; Save-Data
   keeps the poster). The two clips cross-fade on their opacity. */
.m .hero { position: relative; height: var(--vh); }
.m .hero .pin { position: sticky; top: 0; height: var(--vh); overflow: hidden; background: #1a120c; }
.m .hero video, .m .hero .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m .hero .still { background-size: cover; background-position: center; background-image: image-set(url("/media/b473171641/glideloop-p.avif") type("image/avif"), url("/media/b473171641/glideloop-p.webp") type("image/webp")); }
@container (min-width: 760px) { .m .hero .still { background-image: image-set(url("/media/b473171641/glideloop-d.avif") type("image/avif"), url("/media/b473171641/glideloop-d.webp") type("image/webp")); } }
.m .hero .loopv { opacity: 0; transition: opacity .6s; }
.m .hero .loopv.on { opacity: 1; }
.m .hero .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(10,6,3,.35) 0%, rgba(10,6,3,0) 22%, rgba(10,6,3,0) 46%, rgba(10,6,3,.78) 82%, rgba(10,6,3,.92) 100%); }
.m .ht { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 12px; justify-items: start; padding: 0 max(20px, env(safe-area-inset-right, 0px)) calc(26px + 3vh + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); color: #f6efe0; }
@container (min-width: 760px) { .m .ht { padding: 0 64px 64px; max-width: 820px; } }
.m .ht h1 { font: 800 clamp(48px, 16cqw, 112px)/.92 var(--display); letter-spacing: .02em; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.m .ht .tag { font: 700 clamp(20px, 5.6cqw, 32px)/1.3 var(--display); text-wrap: balance; max-width: 22ch; text-shadow: 0 2px 18px rgba(0,0,0,.7); }
.m .ht .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.m .ht .btn:not(.btn-primary):not(.btn-enter) { background: rgba(0,0,0,.35); color: #f6efe0; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.m .ht .enter { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.m .ht .btn-enter { background: rgba(20,12,6,.45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.m .ht .btn-enter:hover { background: rgba(60,40,16,.55); }
.m .ht .enter-note { font-size: 13.5px; color: #e8dcc6; text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.m .cue { position: absolute; left: 50%; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); font-size: 12px; color: #e8dcc6; opacity: .85; letter-spacing: .08em; white-space: nowrap; }
.m .play { position: absolute; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 2; }

/* 2. practices: footage above, words below (never over the clip). Phones: one column, each clip playing as it
   scrolls into view, so nothing hides off to the side. Desktop: three columns. */
.m .practice { padding-block: 72px 36px; display: grid; gap: 26px; }
.m .rowx { display: grid; gap: 40px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); justify-content: center; grid-template-columns: minmax(0, 460px); }
@container (min-width: 560px) and (max-width: 759px) { .m .rowx { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } }
@container (min-width: 760px) { .m .rowx { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 4px 48px 0; max-width: 1180px; margin: 0 auto; gap: 26px 18px; } }
.m .tile { display: grid; gap: 10px; align-content: start; min-width: 0; }
.m .tile .clip { position: relative; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--panel-solid); box-shadow: 0 18px 40px rgba(0,0,0,.28); }
.m .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m .tile h3 { font: 700 20px/1.25 var(--display); }
.m .tile p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.m .station { display: inline-flex; align-items: center; gap: 8px; justify-self: start; background: var(--panel); border: 1px solid var(--panel-line); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 13px; font-weight: 500; color: var(--text); white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.m .station.tap { padding: 5px 12px; display: none; }
.m .station kbd { font: 700 11px var(--body); background: var(--accent); color: var(--accent-ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; padding: 0 6px; }
@media (pointer: coarse) { .m .station.key { display: none; } .m .station.tap { display: inline-flex; } }

/* 3. one evening: the dusk scrubbed, the page's own colours following it */
.m .evening { position: relative; height: calc(var(--vh) * 3.4); }
.m .evening .pin { position: sticky; top: 0; height: var(--vh); overflow: hidden; background: #000; }
.m .evening video, .m .evening .still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m .evening video { transition: opacity .3s; }
.m .evening .still { background-size: cover; background-position: center; }
.m .evening .fade { position: absolute; inset: 0; background: linear-gradient(180deg, var(--page) 0%, transparent 18%, transparent 58%, rgba(0,0,0,.72) 100%); pointer-events: none; }
.m .evening .clock { position: absolute; top: calc(76px + env(safe-area-inset-top, 0px)); left: 20px; display: grid; gap: 2px; color: #f6efe0; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
@container (min-width: 760px) { .m .evening .clock { left: 64px; top: 90px; } }
.m .evening .clock b { font: 700 clamp(30px, 8cqw, 54px)/1 var(--display); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.m .evening .clock span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.m .evening .lines { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 44px; color: #f6efe0; }
@container (min-width: 760px) { .m .evening .lines { padding: 0 64px 70px; } }
.m .evening .lines p { position: absolute; left: 20px; right: 20px; bottom: calc(44px + env(safe-area-inset-bottom, 0px)); font: 700 clamp(25px, 6.6cqw, 46px)/1.22 var(--display); text-wrap: balance; max-width: 20ch; text-shadow: 0 2px 22px rgba(0,0,0,.85); opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s; }
@container (min-width: 760px) { .m .evening .lines p { left: 64px; bottom: 70px; } }
.m .evening .lines p.on { opacity: 1; transform: none; }
/* a phone on its side: little height, so the clock sits up top and small, the words sit low and wide, and the notch side
   keeps its margin. Without this the clock and the words drew over each other. */
@media (orientation: landscape) and (max-height: 520px) {
  .m .evening .clock { top: calc(64px + env(safe-area-inset-top, 0px)); left: max(24px, env(safe-area-inset-left, 0px)); }
  .m .evening .clock b { font-size: clamp(24px, 8vh, 34px); }
  .m .evening .lines p { left: max(24px, env(safe-area-inset-left, 0px)); right: max(24px, env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); font-size: clamp(18px, 6.4vh, 28px); max-width: 30ch; }
  .m .ht { padding: 0 max(24px, env(safe-area-inset-right, 0px)) calc(16px + env(safe-area-inset-bottom, 0px)) max(24px, env(safe-area-inset-left, 0px)); gap: 8px; max-width: none; }
  .m .ht h1 { font-size: clamp(40px, 17vh, 72px); }
  .m .ht .tag { font-size: clamp(17px, 5.4vh, 24px); max-width: 32ch; }
  .m .ht .chipline { display: none; }
  .m .cue { display: none; }
}

/* 4. temples of the grove: one family, one ground line; a sky of lanterns above */
.m .grove { position: relative; padding-block: 84px 0; display: grid; gap: 20px; }
.m .sky { position: relative; height: 210px; margin-top: -10px; }
@container (min-width: 760px) { .m .sky { height: 250px; } }
.m .sky canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.m .sky .tally { position: absolute; left: 20px; right: 20px; bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--muted); }
@container (min-width: 760px) { .m .sky .tally { left: 48px; right: 48px; } }
.m .sky .tally b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.m .temples { display: grid; grid-auto-flow: column; grid-auto-columns: min(46cqw, 200px); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; scrollbar-width: none; position: relative; }
.m .temples::-webkit-scrollbar { display: none; }
@container (min-width: 900px) { .m .temples { grid-auto-flow: row; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; padding: 4px 48px 0; max-width: 1180px; margin: 0 auto; } }
.m .swipe { font-size: 12.5px; color: var(--muted); padding-inline: 20px; margin-top: -8px; }
@container (min-width: 900px) { .m .swipe { display: none; } }
.m .tp { scroll-snap-align: center; display: grid; gap: 6px; align-content: start; min-width: 0; }
.m .arch { position: relative; aspect-ratio: 5 / 7; border-radius: 999px 999px 10px 10px; overflow: hidden; border: 4px solid #4a120a; box-shadow: 0 0 0 1px rgba(var(--glow), .22), 0 18px 40px rgba(0,0,0,.4); background: #000; }
.m .tp.open .arch { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 0 40px rgba(var(--glow), .4); }
.m .arch svg, .m .arch video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.m .arch .soon { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; background: rgba(0,0,0,.55); border-radius: 999px; padding: 3px 9px; white-space: nowrap; color: #eee; }
.tp .building { align-self: center; font-size: 13px; letter-spacing: .02em; color: var(--muted, #b9b2a6); padding: 8px 0; }
.m .tp .trad { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.m .tp .nm { font: 700 17px/1.2 var(--display); }
.m .tp .mean { font-size: 12.5px; color: var(--muted); }
.m .tp .vote { justify-self: stretch; margin-top: 4px; }
.m .vote[aria-pressed="true"] { background: transparent; border-color: var(--accent); color: var(--accent); }
.m .keepw { min-height: 44px; }
.m .keep { justify-self: start; display: none; }
.m .keep.on { display: inline-flex; }
.m .ground { height: 2px; margin: 0 20px; background: linear-gradient(90deg, transparent, var(--panel-line) 8%, var(--panel-line) 92%, transparent); }

/* 5. further off: the grove's ground line becomes a path to the horizon, and past it the other realms, in a
   different language: moonlit glass, cool light, light sans type; no lacquer, gold or arches. */
.m .realms { position: relative; color: var(--realm-text); padding-block: 0 84px; isolation: isolate;
  background: linear-gradient(180deg, var(--page) 0, var(--realm-sky) 230px, var(--realm-deep) 70%, var(--page) 100%); }
.m .horizon { position: relative; height: 140px; overflow: hidden; }
@container (min-width: 760px) { .m .horizon { height: 180px; } }
.m .horizon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m .horizon .far { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; }
.m .realms .orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none; }
.m .realms .orb.a { width: 46cqw; height: 46cqw; max-width: 520px; max-height: 520px; left: -6%; top: 300px; background: radial-gradient(circle, #ffe7c4 0, #f3b98a 35%, transparent 70%); }
.m .realms .orb.b { width: 52cqw; height: 52cqw; max-width: 580px; max-height: 580px; right: -8%; top: 420px; background: radial-gradient(circle, #c8f0ff 0, #8fb6ff 35%, #b09bf2 55%, transparent 72%); }
.m .realms .orb.c { width: 38cqw; height: 38cqw; max-width: 420px; max-height: 420px; left: 30%; bottom: 60px; background: radial-gradient(circle, #9fe3d9 0, #6d88d8 45%, transparent 72%); opacity: .35; }
.m .realms .wrap { position: relative; display: grid; gap: 18px; }
.m .realms .eyebrow { color: var(--realm-muted); }
.m .realms .h2 { font: 300 clamp(26px, 6.6cqw, 42px)/1.2 var(--body); letter-spacing: .01em; max-width: 22ch; color: var(--realm-text); }
.m .realms .lead { color: var(--realm-muted); }
.m .rlist { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); margin-top: 8px; }
@container (min-width: 760px) { .m .rlist { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.m .rv { position: relative; display: grid; grid-template-columns: minmax(0, 120px) minmax(0, 1fr); gap: 16px; padding: 14px; align-items: center; border-radius: 18px;
  background: linear-gradient(140deg, rgba(255,255,255,.13), rgba(255,255,255,.04) 60%); border: 1px solid var(--realm-line);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 24px 60px rgba(4,6,24,.45);
  backdrop-filter: blur(22px) saturate(1.5); -webkit-backdrop-filter: blur(22px) saturate(1.5); }
@container (min-width: 760px) { .m .rv { grid-template-columns: minmax(0, 160px) minmax(0, 1fr); padding: 18px; } }
.m .rv .pic { aspect-ratio: 3 / 4; border-radius: 12px; overflow: hidden; position: relative; background: #0b0e22; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.m .rv .pic svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.m .rv .body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.m .rv .k { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--realm-muted); }
.m .rv h3 { font: 500 21px/1.2 var(--body); }
.m .rv p { font-size: 13.5px; color: var(--realm-muted); }
.m .rv .btn { justify-self: start; min-height: 40px; padding: 0 16px; font-size: 13px; background: rgba(255,255,255,.08); border-color: var(--realm-line); color: var(--realm-text); margin-top: 4px; }
.m .rv .btn[aria-pressed="true"] { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.m .rv .cnt { font-size: 12px; color: var(--realm-muted); font-variant-numeric: tabular-nums; min-height: 1.4em; }
.m .realms .apart { font-size: 12.5px; color: var(--realm-muted); border-top: 1px solid var(--realm-line); padding-top: 14px; max-width: 70ch; }

/* 6. invitation */
.m .invite { position: relative; padding-block: 80px 60px; overflow: hidden; background: var(--page); }
.m .invite .glowbg { position: absolute; inset: auto -20% -40% -20%; height: 90%; background: radial-gradient(ellipse at 50% 100%, rgba(var(--glow), .26), transparent 65%); pointer-events: none; }
.m .invite .wrap { position: relative; display: grid; gap: 16px; justify-items: start; }
/* The card is frosted glass (the principal, 2026-11-20): two soft lights sit behind it, in the hall's vermilion and lamp
   gold, so the frost has something to show through. Without backdrop-filter it falls back to the solid panel. */
.m .invite .wrap::before { content: ""; position: absolute; z-index: 0; left: 0; top: 36%; width: min(100%, 520px); height: 62%; pointer-events: none;
  background: radial-gradient(38% 46% at 22% 38%, rgba(196, 58, 36, .38), transparent 72%), radial-gradient(42% 50% at 74% 66%, rgba(var(--glow), .26), transparent 72%); filter: blur(10px); }
.m .invite .wrap > * { position: relative; z-index: 1; }
.m .sheetp { width: 100%; max-width: 520px; border-radius: 22px; padding: 20px; display: grid; gap: 12px;
  background: linear-gradient(150deg, rgba(255, 246, 228, .13), rgba(255, 246, 228, .05) 48%, rgba(255, 246, 228, .08));
  border: 1px solid rgba(255, 246, 228, .17);
  box-shadow: inset 0 1px 0 rgba(255, 250, 238, .26), inset 0 -1px 0 rgba(255, 250, 238, .05), 0 28px 60px -18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(0, 0, 0, .12);
  backdrop-filter: blur(22px) saturate(1.45); -webkit-backdrop-filter: blur(22px) saturate(1.45); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .m .sheetp { background: var(--panel-solid); } }
.m .sheetp label { font-size: 13.5px; color: var(--muted); }
.m .sheetp .row { display: flex; gap: 8px; flex-wrap: wrap; }
.m .sheetp input[type="email"] { flex: 1 1 200px; min-width: 0; min-height: 44px; border-radius: 12px; border: 1px solid var(--chip-line); background: rgba(0,0,0,.25); color: var(--text); font: 16px var(--body); padding: 0 14px; }
.m .privacy { font-size: 12.5px; color: var(--muted); }
.m .together { font-size: 13.5px; color: var(--text); border-top: 1px solid var(--panel-line); padding-top: 12px; }
.m .done { color: var(--accent); font-size: 14px; }
.m .err { color: #ffb4a0; font-size: 13.5px; }
.m .linkbtn { background: none; border: 0; padding: 0; color: var(--muted); font: inherit; font-size: 12.5px; text-decoration: underline; cursor: pointer; justify-self: start; }
.m .already { font-size: 14px; color: var(--muted); }
.m .already a, .m .foot a { color: var(--accent); }
.m .foot { padding-block: 26px calc(40px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--panel-line); color: var(--muted); font-size: 12.5px; display: grid; gap: 6px; background: var(--page); }
.m .foot b { font: 800 16px var(--display); color: var(--text); letter-spacing: .04em; }

/* keep card (the shareable) */
.kc { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,.72); display: grid; place-items: center; padding: 20px; }
.kc .in { display: grid; gap: 12px; justify-items: center; max-width: 100%; }
.kc canvas { width: min(70vw, 300px, calc((100vh - 160px) * 9 / 16)); height: auto; aspect-ratio: 9 / 16; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.kc .row { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* rising lanterns */
.rise { position: absolute; width: 14px; height: 18px; border-radius: 6px 6px 4px 4px; background: radial-gradient(circle at 50% 60%, #fff1c4, #ffb35a 60%, #c4521f); box-shadow: 0 0 18px 6px rgba(255,179,90,.55); pointer-events: none; z-index: 5; transition: transform 2.2s cubic-bezier(.3,.6,.4,1), opacity 2.2s; }
.m .tw { animation: tw 3.6s ease-in-out infinite; }
.m .fl { animation: fl 9s ease-in-out infinite; }
.m .flag { animation: flag 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 0; }
.m .flick { animation: flick 2.2s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.m .breath { animation: breath 7s ease-in-out infinite; }
.m .drift { animation: drift 24s ease-in-out infinite alternate; }
@keyframes tw { 50% { opacity: .35; } }
@keyframes fl { 50% { transform: translateY(-8px); } }
@keyframes flag { 50% { transform: skewX(8deg) scaleY(.94); } }
@keyframes flick { 50% { transform: scaleY(.86) scaleX(1.06); opacity: .85; } }
@keyframes breath { 50% { opacity: .55; } }
@keyframes drift { to { transform: translate(4%, -6%) scale(1.08); } }

/* reduce motion: the clips and the evening still play (everyone gets the same temple); only the small drifting touches rest. */
.reduce .m .tw, .reduce .m .fl, .reduce .m .flag, .reduce .m .flick, .reduce .m .breath, .reduce .m .drift { animation: none; }
@media (prefers-reduced-motion: reduce) { .m .tw, .m .fl, .m .flag, .m .flick, .m .breath, .m .drift { animation: none; } }

/* without script: the page still reads top to bottom, with posters */
.nojs .m .evening { height: auto; }
.nojs .m .hero .pin, .nojs .m .evening .pin { position: relative; }
.nojs .m .cue { display: none; }
.nojs .m .evening .lines p { position: relative; inset: auto; opacity: 1; transform: none; margin-top: 10px; }
.nojs .m .evening .lines p:not(:last-child) { display: none; }

.m .d0 { animation-delay: 0s; }
.m .d1 { animation-delay: 0.1s; }
.m .d2 { animation-delay: 0.2s; }
.m .d4 { animation-delay: 0.4s; }
.m .d5 { animation-delay: 0.5s; }
.m .d6 { animation-delay: 0.6s; }
.m .d7 { animation-delay: 0.7s; }
.m .d8 { animation-delay: 0.8s; }
.m .d10 { animation-delay: 1s; }
.m .d11 { animation-delay: 1.1s; }
.m .d12 { animation-delay: 1.2s; }
.m .d14 { animation-delay: 1.4s; }
.m .d15 { animation-delay: 1.5s; }
.m .d16 { animation-delay: 1.6s; }
.m .d18 { animation-delay: 1.8s; }
.m .d19 { animation-delay: 1.9s; }
.m .d20 { animation-delay: 2s; }
.m .d22 { animation-delay: 2.2s; }
.m .d24 { animation-delay: 2.4s; }
.m .d25 { animation-delay: 2.5s; }
.m .d26 { animation-delay: 2.6s; }
.m .d30 { animation-delay: 3s; }
.m .d33 { animation-delay: 3.3s; }
/* The inner pages (src/pages.ts): a place, a practice, the questions; English and Vietnamese. The front page's tokens
   and buttons, with posters only: no clips and no script, so they are light and read anywhere. Scoped to .pg. */
:root:lang(vi) { --display: "Noto Serif", Georgia, serif; --body: "Be Vietnam Pro", "Segoe UI", system-ui, sans-serif; }
.m.pg .nav { margin-bottom: 0; }
.m.pg .nav .lang { display: inline-flex; align-items: center; min-height: 44px; padding: 0 8px; font-size: 13.5px; color: var(--muted); text-decoration: none; }
.m.pg .nav .lang:hover { color: var(--text); }
.m.pg .nav .btn-primary { gap: 0; }
.m.pg .nav .btn-primary .wide { margin-left: .3em; }
@container (max-width: 520px) { .m.pg .nav .btn-primary .wide { display: none; } }

.m.pg main { display: grid; gap: 48px; padding-block: 28px 72px; }
.m.pg .top { display: grid; gap: 26px; align-items: center; }
@container (min-width: 900px) { .m.pg .top:not(.wide) { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 56px; } }
.m.pg .intro { display: grid; gap: 14px; justify-items: start; }
.m.pg .crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--muted); }
.m.pg .crumbs a { color: var(--muted); }
.m.pg .crumbs .sep { opacity: .5; }
.m.pg h1 { font: 800 clamp(36px, 9cqw, 66px)/1.06 var(--display); letter-spacing: .01em; text-wrap: balance; max-width: 18ch; }
.m.pg .sub { font: 700 clamp(18px, 4.4cqw, 24px)/1.3 var(--display); color: var(--muted); }
.m.pg .answer { font-size: 17px; line-height: 1.62; max-width: 62ch; text-wrap: pretty; }
.m.pg .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 4px; }
.m.pg .btn-enter svg { width: 18px; height: 18px; flex: none; }
.m.pg .go-note { font-size: 13px; color: var(--muted); margin-top: -6px; }

.m.pg .poster { margin: 0; border-radius: 18px; overflow: hidden; background: var(--panel-solid); box-shadow: 0 18px 40px rgba(0,0,0,.3); width: 100%; max-width: 460px; justify-self: center; }
.m.pg .poster img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.m.pg .poster.wide { max-width: none; }
@container (min-width: 760px) { .m.pg .poster.wide img { aspect-ratio: 16 / 9; } }

.m.pg .prose { display: grid; gap: 36px; max-width: 720px; }
.m.pg .prose section { display: grid; gap: 12px; }
.m.pg .prose h2, .m.pg .cta h2, .m.pg .more h2 { font: 700 clamp(22px, 5cqw, 30px)/1.22 var(--display); text-wrap: balance; }
.m.pg .prose p, .m.pg .prose li { color: var(--muted); text-wrap: pretty; }
.m.pg .prose strong, .m.pg .prose em { color: var(--text); }
.m.pg .prose ul, .m.pg .prose ol { margin: 0; padding-left: 1.3em; display: grid; gap: 10px; }
.m.pg .prose ol li::marker { color: var(--accent); font-weight: 700; }
.m.pg .prose li::marker { color: var(--accent); }
.m.pg .prose a, .m.pg .cta p a { color: var(--accent); text-underline-offset: 2px; }

.m.pg .cta { display: grid; gap: 12px; justify-items: start; max-width: 720px; border-radius: 22px; padding: 24px 20px;
  background: linear-gradient(150deg, rgba(255, 246, 228, .11), rgba(255, 246, 228, .04) 50%, rgba(255, 246, 228, .07));
  border: 1px solid rgba(255, 246, 228, .16); box-shadow: inset 0 1px 0 rgba(255, 250, 238, .2), 0 28px 60px -18px rgba(0, 0, 0, .6); }
@container (min-width: 760px) { .m.pg .cta { padding: 30px 32px; } }
.m.pg .cta p { color: var(--muted); max-width: 58ch; }

.m.pg .more { display: grid; gap: 14px; }
.m.pg .more ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@container (min-width: 760px) { .m.pg .more ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container (min-width: 1100px) { .m.pg .more ul { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.m.pg .more a { display: grid; gap: 6px; height: 100%; padding: 16px; border-radius: 16px; background: var(--panel); border: 1px solid var(--panel-line); color: var(--text); text-decoration: none; }
.m.pg .more a:hover { border-color: var(--accent); }
.m.pg .more b { font: 700 17px/1.3 var(--display); }
.m.pg .more span { font-size: 13px; color: var(--muted); }

/* the footer's links: here and on the front page */
.m .fnav { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 18px 24px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--panel-line); }
.m .fnav div { display: grid; gap: 2px; align-content: start; }
.m .fnav b { font: 700 11.5px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.m .foot .fnav a { color: var(--text); text-decoration: none; font-size: 14px; padding: 5px 0; }
.m .foot .fnav a:hover { color: var(--accent); }
