@import url("/static/fonts/fonts.css");

:root {
  /* shared with the SVEF event app: ink, deep green, brand red, washes, 2/5/8 px corners */
  --paper: #f8f9f6; --paper-2: #eef4ee; --paper-3: #e3ebe5; --white: #ffffff;
  --ink: #0e273d; --ink-2: #224861; --ink-3: #557488; --line: #d6e3e4; --line-2: #e6efef;
  --forest: #123a2a; --forest-2: #2c5730; --forest-3: #3e7742; --green: #3e7742; --green-50: #edf3ee;
  --red: #e42026; --red-700: #b31018; --red-50: #fdecec; --maroon: #800000; --gold: #c3933a; --gold-50: #fbf3e4; --sky: #e2f4fd; --steel: #a8ced7;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-xs: 2px; --r-sm: 4px; --r: 5px; --r-lg: 8px;
  --shadow: 0 1px 2px rgba(14, 39, 61, .06), 0 14px 34px -16px rgba(14, 39, 61, .22);
  --wrap: 1600px;
  /* spacing scale: one rhythm for bands, headings and grids */
  --sp-section: clamp(44px, 5.6vw, 88px); --sp-tight: clamp(32px, 3.4vw, 48px); --sp-head: clamp(22px, 2.4vw, 34px); --sp-gap: clamp(36px, 4.6vw, 68px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --z-header: 50; --z-menu: 60; --z-skip: 100;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font: 400 17px/1.62 var(--sans); letter-spacing: -.003em; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest-3); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .2s; }
a:hover { color: var(--red-700); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.015em; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
strong, b { font-weight: 600; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px); position: relative; }
.narrow { max-width: 880px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: var(--z-skip); background: #fff; padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--forest-3); outline-offset: 3px; border-radius: 2px; }
.muted { color: var(--ink-3); }
.label { font: 700 .74rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- header ---------- */
.testbar { position: relative; z-index: var(--z-header); background: var(--gold-50); color: #5b4513; font-size: .8rem; text-align: center; padding: 5px 12px; }
.site-header { position: sticky; top: 0; z-index: var(--z-header); background: rgba(248, 249, 246, .92); backdrop-filter: saturate(1.3) blur(10px); border-bottom: 1px solid var(--line-2); transition: background .3s, border-color .3s, color .3s; }
.site-header .wrap { max-width: var(--wrap); display: flex; align-items: center; gap: clamp(20px, 3vw, 56px); min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 2px; }
.brand b { font: 500 1.22rem/1.1 var(--serif); letter-spacing: -.01em; display: block; }
.brand small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 3px; }
.nav { display: flex; flex: 1; justify-content: space-between; gap: 4px; max-width: 1120px; margin-left: auto; align-items: center; }
.nav a { position: relative; padding: 10px 6px; color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .98rem; letter-spacing: -.005em; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 6px; right: 6px; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--ink); } .nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); } .nav a[aria-current="page"]::after { transform: scaleX(1); background: var(--red); }
.tools { display: flex; gap: 10px; align-items: center; margin-left: clamp(8px, 2vw, 32px); }
.lang { font: 600 .78rem var(--sans); letter-spacing: .08em; color: var(--ink-2); text-decoration: none; padding: 8px 10px; border-radius: var(--r-sm); }
.lang:hover { background: var(--paper-2); color: var(--ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 9px 12px; font: 500 .9rem var(--sans); cursor: pointer; color: inherit; }
.home .site-header { position: fixed; left: 0; right: 0; }
.home .site-header:not(.scrolled) { background: transparent; border-color: transparent; backdrop-filter: none; color: #fff; }
.home .site-header:not(.scrolled) .brand, .home .site-header:not(.scrolled) .nav a, .home .site-header:not(.scrolled) .lang { color: rgba(255, 255, 255, .92); }
.home .site-header:not(.scrolled) .brand small { color: rgba(255, 255, 255, .7); }
.home .site-header:not(.scrolled) .lang:hover { background: rgba(255, 255, 255, .12); }
.home .site-header:not(.scrolled) .menu-btn { border-color: rgba(255, 255, 255, .4); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: var(--r-sm); border: 1px solid transparent; font: 700 .95rem/1.1 var(--sans); letter-spacing: -.005em; text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--forest); color: #fff; transition: background .25s var(--ease), transform .15s, box-shadow .25s, color .2s, border-color .2s; }
.btn:hover { background: var(--forest-3); color: #fff; box-shadow: 0 8px 20px -10px rgba(18, 58, 42, .6); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn.red, .btn.primary { background: var(--red); } .btn.red:hover, .btn.primary:hover { background: var(--red-700); box-shadow: 0 8px 20px -10px rgba(161, 29, 36, .6); }
.btn.green { background: var(--forest); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); } .btn.ghost:hover { border-color: var(--ink); color: var(--ink); box-shadow: none; background: var(--white); }
.btn.light { background: #fff; color: var(--forest); } .btn.light:hover { background: var(--paper); color: var(--forest); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); } .btn.outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn.small { padding: 8px 14px; font-size: .85rem; }
.btn.link { background: none; color: var(--forest-3); padding: 0; border: 0; font-weight: 600; box-shadow: none; }
.btn.link:hover { color: var(--red-700); }
.btn[disabled] { opacity: .5; cursor: default; }
.arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--ink); }
.arrow::after { content: "→"; transition: transform .25s var(--ease); }
.arrow:hover::after { transform: translateX(4px); }
.arrow.light { color: #fff; } .arrow.light:hover { color: #fff9b8; }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(88dvh, 800px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--forest); isolation: isolate; }
.hero .bg { position: absolute; inset: 0; z-index: -2; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 30%; transform: scale(1.04); animation: heroIn 2.4s var(--ease) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 33, 24, .94) 0%, rgba(10, 33, 24, .75) 40%, rgba(10, 33, 24, .2) 78%), linear-gradient(0deg, rgba(10, 33, 24, .9) 0%, rgba(10, 33, 24, 0) 48%); }
.hero .wrap { width: 100%; padding-top: 140px; padding-bottom: 40px; }
.hero h1 { color: #fff; max-width: 17ch; font-size: clamp(2.7rem, 6.2vw, 5.4rem); line-height: 1.02; font-weight: 400; }
.hero h1 em { font-style: italic; color: #fff9b8; }
.hero .lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: rgba(255, 255, 255, .84); max-width: 52ch; margin: 20px 0 30px; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.hero-meta { margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 28px; align-items: end; }
.stat b { display: block; font: 400 clamp(2rem, 3vw, 2.8rem)/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 6px; font-size: .85rem; color: rgba(255, 255, 255, .7); }
.hero-event { justify-self: end; display: flex; gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--r); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); color: #fff; text-decoration: none; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15); transition: background .25s; }
.hero-event:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.hero-event .d { font: 500 1.3rem/1 var(--serif); color: #fff9b8; white-space: nowrap; }
.hero-event small { display: block; color: rgba(255, 255, 255, .7); font-size: .8rem; }
@keyframes heroIn { from { transform: scale(1.12); opacity: .4; } to { transform: scale(1.04); opacity: 1; } }

/* ---------- page hero ---------- */
.page-hero { position: relative; z-index: 2; background: var(--paper-2); border-bottom: 1px solid var(--line-2); overflow: hidden; }
.page-hero .wrap { padding-top: clamp(32px, 3.6vw, 52px); padding-bottom: clamp(30px, 3.4vw, 48px); }
.page-hero h1 { margin: 0; max-width: 20ch; }
.page-hero p { color: var(--ink-2); max-width: 62ch; margin: 14px 0 0; font-size: 1.12rem; }
.page-hero.has-img .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.page-hero .ph-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); }
/* line-art side panel for heroes without a photo: Alpine contours meeting rice terraces, lotus pond */
.page-hero.has-art .wrap { min-height: clamp(190px, 20vw, 290px); display: flex; flex-direction: column; justify-content: center; }
.page-hero.has-art::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(64%, 1040px); pointer-events: none; background: right center / cover no-repeat; /* no fill colour: transparent agy art must not tint the hero */ mix-blend-mode: multiply; opacity: .92;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 46%); mask-image: linear-gradient(90deg, transparent 0, #000 46%); }
.page-hero.art-alps::before { background-image: url("/static/img/art-alps.webp?v=agy4"); background-position: right 34%; }
.page-hero.art-lotus::before { background-image: url("/static/img/art-lotus.webp?v=agy4"); background-position: right 60%; }
.page-hero.art-river::before { background-image: url("/static/img/art-river.webp?v=agy2"); background-position: right 30%; }
.page-hero.art-hanoi::before { background-image: url("/static/img/art-hanoi.webp?v=agy3"); background-position: right 72%; }
.page-hero.art-lake::before { background-image: url("/static/img/art-lake.webp?v=agy3"); background-position: right center; background-size: auto 92%; /* whole drawing: peak and sail clear the edges */ }
.page-hero.has-art h1, .page-hero.has-art p { max-width: min(62ch, 58%); } .page-hero.has-art h1 { max-width: min(20ch, 58%); }
.page-hero .ph-img img { width: 100%; height: 100%; object-fit: cover; }
.crumbs { font-size: .82rem; color: var(--ink-3); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--ink-3); text-decoration: none; } .crumbs a:hover { color: var(--ink); }

/* ---------- sections ---------- */
main { position: relative; z-index: 2; }
section.block { padding: var(--sp-section) 0; position: relative; }
section.block.tight { padding: var(--sp-tight) 0; }
section.block.alt { background: var(--paper-2); }
section.block.dark, section.block.green { background: var(--forest); color: #dfe8e1; }
section.block.dark h2, section.block.dark h3, section.block.green h2, section.block.green h3 { color: #fff; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: var(--sp-head); }
.sec-head h2 { margin: 0; max-width: 22ch; }
.sec-head .label { display: block; margin-bottom: 10px; }
.sec-head a { white-space: nowrap; }
.intro { color: var(--ink-2); max-width: 64ch; font-size: 1.08rem; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.split > :first-child { position: sticky; top: 120px; }
.numbered { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.numbered li:last-child { border-bottom: 1px solid var(--line); }
.numbered li::before { content: "0" counter(n); font: 400 1.05rem/1.7 var(--serif); color: var(--red); font-variant-numeric: tabular-nums; }
.numbered h3 { margin: 0 0 6px; font-size: 1.45rem; }
.numbered p { margin: 0; color: var(--ink-2); max-width: 58ch; }

.zig { display: grid; gap: var(--sp-gap); }
.zig-row { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.zig-row:nth-child(even) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.zig-row:nth-child(even) .zig-img { order: 2; }
.zig-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-3); box-shadow: var(--shadow); }
.zig-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.zig-row:hover .zig-img img { transform: scale(1.03); }
.zig-text .label { color: var(--red); }
.zig-text h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); margin: 12px 0 14px; }
.zig-text p { color: var(--ink-2); max-width: 46ch; }

/* ---------- grids, cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 36px 28px; }
.g3:has(.org-card) { grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 28px 22px; }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.card .img { aspect-ratio: 3 / 2; border-radius: var(--r); overflow: hidden; background: var(--paper-3); }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
a.card:hover .img img { transform: scale(1.04); }
a.card:hover h3 { color: var(--forest-3); }
.card .body { padding: 18px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card h3 { margin: 0; font-size: 1.3rem; line-height: 1.22; transition: color .2s; }
.card p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.card .meta { font-size: .8rem; color: var(--ink-3); display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.panel, .card.boxed, .aside-box { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; }
.card.boxed { padding: 0; overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); } .card.boxed .body { padding: 20px 22px 22px; }
a.card.boxed:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tag { display: inline-flex; align-items: center; gap: 6px; font: 600 .7rem/1 var(--sans); letter-spacing: .07em; text-transform: uppercase; padding: 5px 8px; border-radius: var(--r-xs); background: var(--green-50); color: var(--forest-2); }
.tag.red { background: var(--red-50); color: var(--red-700); }
.tag.gold { background: var(--gold-50); color: #7a5815; }
.tag.grey { background: var(--paper-3); color: var(--ink-2); }

.news-feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 44px; }
.news-feature .card.lead .img { aspect-ratio: 16 / 10; }
.news-feature .card.lead h3 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
.news-list { display: grid; align-content: start; }
.news-list a { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.news-list a:first-child { border-top: 0; padding-top: 0; }
.news-list .thumb { aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-3); }
.news-list .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-list h4 { margin: 6px 0 0; font-size: 1.15rem; line-height: 1.3; transition: color .2s; }
.news-list a:hover h4 { color: var(--forest-3); }

.event-list { border-top: 1px solid var(--line); }
.event-item { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 28px; padding: 22px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: center; transition: background .25s, padding .3s var(--ease); }
.event-item:hover { color: var(--ink); background: var(--white); padding-left: 18px; padding-right: 18px; }
.event-item .when b { display: block; font: 400 2.6rem/1 var(--serif); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.event-item .when span { display: block; margin-top: 6px; font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.event-item h3 { margin: 8px 0 6px; font-size: 1.4rem; }
.event-item p { margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 70ch; }
.event-item .go { font-size: 1.4rem; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.event-item:hover .go { transform: translateX(4px); color: var(--red); }
.date-box { flex: none; width: 64px; text-align: center; border-radius: var(--r); background: var(--paper-2); padding: 8px 4px; line-height: 1.1; }
.date-box b { display: block; font: 400 1.6rem var(--serif); }
.date-box span { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-3); }

.flagship { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); border-radius: var(--r-lg); overflow: hidden; background: var(--forest); color: #dfe8e1; box-shadow: var(--shadow); }
.flagship .img { min-height: 380px; position: relative; } .flagship .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.flagship .txt { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.flagship .label { color: rgba(255, 255, 255, .6); }
.flagship h2 { color: #fff; margin: 0; }
.flagship .when { font: 400 1.3rem var(--serif); color: #fff9b8; }
.flagship p { color: rgba(255, 255, 255, .78); margin: 0; max-width: 46ch; }

.logo-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.logo-wall a { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 26px; background: #fff; transition: background .3s; text-decoration: none; }
.logo-wall a:hover { background: #fff; }
.logo-wall img { max-height: 64px; max-width: 82%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.logo-wall a:hover img { transform: scale(1.04); }
.logo-wall a:hover img { filter: none; opacity: 1; }
.logo-wall span { font: 500 .95rem var(--serif); color: var(--ink-2); text-align: center; }
.logo-tile { background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); display: grid; place-items: center; padding: 18px; aspect-ratio: 3 / 2; text-decoration: none; color: var(--ink-2); font-weight: 600; text-align: center; }
.logo-tile img { max-height: 72px; width: auto; object-fit: contain; }
.org-card .logo { aspect-ratio: 16 / 10; display: grid; place-items: center; padding: 22px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); transition: border-color .3s, box-shadow .3s; }
.org-card .logo img { max-height: 68px; max-width: 78%; width: auto; object-fit: contain; }
.org-card .logo b { font: 500 1.2rem var(--serif); color: var(--ink-2); text-align: center; }
a.org-card:hover .logo { border-color: var(--line); box-shadow: var(--shadow); }

.band { position: relative; overflow: hidden; color: #fff; isolation: isolate; border-radius: var(--r-lg); }
.band img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(18, 58, 42, .95) 0%, rgba(18, 58, 42, .82) 50%, rgba(18, 58, 42, .45) 100%); }
.band .in { padding: clamp(36px, 5vw, 68px); max-width: 780px; }
.band h2 { color: #fff; font-size: clamp(2rem, 3.6vw, 3.2rem); }
.band p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 54ch; }
.band .cta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 24px; align-items: center; }

.doc-row { display: flex; gap: 18px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: padding .3s var(--ease), background .25s; }
.grid > .doc-row:first-child, .docs > .doc-row:first-child { border-top: 1px solid var(--line); }
.grid:has(> .doc-row) { gap: 0; }
.doc-row:hover { padding-left: 14px; background: var(--white); color: var(--ink); }
.doc-row .ic { width: 42px; height: 50px; border-radius: var(--r-xs) var(--r) var(--r-xs) var(--r-xs); background: var(--white); border: 1px solid var(--line); color: var(--red-700); display: grid; place-items: center; font: 700 .62rem var(--sans); letter-spacing: .06em; flex: none; }
.doc-row b { font-weight: 600; }

/* ---------- article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(32px, 4.5vw, 64px); align-items: start; }
.article aside { position: sticky; top: 110px; display: grid; gap: 16px; }
.prose { font-size: 1.08rem; line-height: 1.78; color: #1d3447; max-width: 70ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; } .prose h3 { font-size: 1.4rem; margin-top: 1.5em; }
.prose img { border-radius: var(--r); margin: 1.6em 0; }
.prose ul, .prose ol { padding-left: 1.2em; } .prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.8em 0; padding: 0 0 0 24px; border-left: 2px solid var(--red); font: italic 400 1.35rem/1.5 var(--serif); color: var(--ink); }
.prose table { border-collapse: collapse; width: 100%; margin: 1.4em 0; font-size: .95rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--r); }
.cover { border-radius: var(--r-lg); margin-bottom: 32px; width: 100%; max-height: 580px; object-fit: cover; }
.aside-box { padding: 24px; }
.aside-box h3 { font-size: 1.1rem; }
.facts { margin: 0; display: grid; gap: 14px; }
.facts div { display: grid; gap: 2px; } .facts dt { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); } .facts dd { margin: 0; font-weight: 500; }

/* ---------- people ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 32px 24px; margin-top: 28px; }
.person-card .ph { aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper-3); display: grid; place-items: center; font: 400 2.4rem var(--serif); color: var(--ink-3); }
.person-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.person-card h3 { font-size: 1.18rem; margin: 14px 0 2px; }
.person-card p { margin: 0; color: var(--ink-3); font-size: .9rem; }
.person { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: var(--r); object-fit: cover; background: var(--paper-3); flex: none; display: grid; place-items: center; color: var(--ink-2); font: 500 1.1rem var(--serif); }
.people-card { padding: 20px; }
.people-card .avatar { width: 88px; height: 88px; font-size: 1.5rem; }

/* ---------- filters, forms ---------- */
.layout-side { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.filters { position: sticky; top: 110px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.filters legend { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.filters label { display: flex; gap: 10px; align-items: center; font-size: .92rem; padding: 4px 0; color: var(--ink-2); cursor: pointer; }
.filters label:hover { color: var(--ink); }
.chips { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 28px; align-items: center; }
.chip { padding: 8px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 500; transition: background .2s, color .2s; }
.chip:hover { background: var(--paper-2); color: var(--ink); }
.chip[aria-current="true"] { background: var(--ink); color: var(--paper); }
form.stack { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field .lbl { font-weight: 500; font-size: .88rem; color: var(--ink-2); }
.field .req { color: var(--red); }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=date], input[type=datetime-local], input[type=number], input[type=search], input[type=tel], input:not([type]), select, textarea {
  width: 100%; font: inherit; font-size: .97rem; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--white); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.55; }
textarea.code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .85rem; min-height: 240px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest-3); box-shadow: 0 0 0 4px rgba(62, 119, 66, .14); }
input:user-invalid, textarea:user-invalid { border-color: var(--red); }
input[type=checkbox], input[type=radio] { accent-color: var(--forest-3); width: 16px; height: 16px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.checks label { display: flex; gap: 8px; align-items: center; font-weight: 400; }
.notice { padding: 14px 18px; border-radius: var(--r-sm); background: var(--green-50); color: var(--forest-2); margin-bottom: 22px; border-left: 3px solid var(--forest-3); }
.notice.err { background: var(--red-50); color: var(--red-700); border-left-color: var(--red); }
.notice.warn { background: var(--gold-50); color: #6a4c12; border-left-color: var(--gold); }
.auth-box { max-width: 480px; margin: 0 auto; }
.lock { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; text-align: center; background: linear-gradient(180deg, var(--white), var(--paper-2)); }
.lock h3 { margin-bottom: 8px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 32px; overflow-x: auto; }
.tabs a { padding: 12px 14px; text-decoration: none; color: var(--ink-3); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; font-size: .93rem; margin-bottom: -1px; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
table.list { width: 100%; border-collapse: collapse; font-size: .93rem; }
table.list th { text-align: left; font: 600 .72rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 12px; border-bottom: 1px solid var(--line); }
table.list td { padding: 12px; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.inline { display: inline; }
.pager { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 40px; }

/* ---------- membership ---------- */
.tiers { display: grid; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.tiers.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tiers.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tier { display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 16px; padding: 30px 28px; border-right: 1px solid var(--line); }
.tier:last-child { border-right: 0; }
.tier.feature { background: var(--forest); color: #dfe8e1; }
.tier.feature h3, .tier.feature .price { color: #fff; } .tier.feature ul, .tier.feature .opts { color: rgba(255, 255, 255, .8); } .tier.feature .opts { border-color: rgba(255, 255, 255, .18); }
.tier.feature .btn { background: #fff; color: var(--forest); } .tier.feature .btn:hover { background: var(--paper); }
.tier h3 { margin: 0; font-size: 1.5rem; }
.tier .price { font: 400 2.4rem/1 var(--serif); color: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tier .price small { font: 400 .85rem var(--sans); opacity: .7; letter-spacing: 0; }
.tier ul { margin: 0; padding: 0; list-style: none; color: var(--ink-2); font-size: .93rem; display: grid; gap: 9px; align-content: start; }
.tier ul li { padding-left: 22px; position: relative; } .tier ul li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 10px; height: 1.5px; background: var(--red); }
.tier.feature ul li::before { background: #fff9b8; }
.opts { font-size: .9rem; color: var(--ink-2); border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 6px; }
.opts div { display: flex; justify-content: space-between; gap: 12px; } .opts b { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.faq nav { position: sticky; top: 110px; display: grid; gap: 2px; }
.faq nav a { padding: 8px 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink-2); font-size: .93rem; }
.faq nav a:hover { background: var(--paper-2); color: var(--ink); }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: 1.7rem; padding-bottom: 16px; margin-bottom: 0; border-bottom: 1px solid var(--ink); }
.qa-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.qa-item h3 { font-size: 1.15rem; margin: 0; line-height: 1.4; }
.qa-item .a { color: var(--ink-2); } .qa-item .a p:last-child { margin: 0; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { cursor: pointer; padding: 18px 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.qa summary::after { content: "+"; color: var(--red); }
details.qa[open] summary::after { content: "−"; }
details.qa .a { padding-bottom: 18px; color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { position: relative; z-index: 2; background: var(--forest); color: rgba(255, 255, 255, .72); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; right: 0; bottom: 0; width: min(70%, 1100px); height: 100%; pointer-events: none; background: url("/static/img/art-alps.webp?v=agy4") right bottom / cover no-repeat; filter: invert(1) grayscale(1); mix-blend-mode: screen; opacity: .13;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%); mask-image: linear-gradient(90deg, transparent 0, #000 60%); }
.site-footer .wrap { padding-top: clamp(44px, 4.6vw, 68px); padding-bottom: 28px; }
.site-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; } .site-footer a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.ev-foot-top { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.foot-top h4 { font: 600 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .95rem; }
.foot-brand { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.foot-brand img { width: 52px; height: 52px; background: #fff; border-radius: 50%; padding: 3px; }
.foot-brand b { font: 400 1.3rem/1.15 var(--serif); color: #fff; }
.foot-claim { font: italic 400 1.55rem/1.35 var(--serif); color: #fff; max-width: 20ch; margin-bottom: 20px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: clamp(32px, 3.6vw, 52px); padding-top: 20px; font-size: .84rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* filters fold away on phones */
.filter-toggle > summary { display: none; list-style: none; margin-bottom: 18px; }
.filter-toggle > summary::-webkit-details-marker { display: none; }

/* ---------- line-art spots: small drawings that make empty columns, cards and ends of pages feel intentional ---------- */
.art-spot { display: block; pointer-events: none; background: center / contain no-repeat; }
.s-lotus { background-image: url("/static/img/spot-lotus.webp?v=agy4"); } .s-edelweiss { background-image: url("/static/img/spot-edelweiss.webp"); }
.s-junk { background-image: url("/static/img/spot-junk.webp?v=agy4"); } .s-train { background-image: url("/static/img/spot-train.webp"); }
.s-bamboo { background-image: url("/static/img/art-bamboo.webp?v=agy4"); background-position: right top; } .s-cascade { background-image: url("/static/img/art-cascade.webp?v=agy2"); }
.s-ridge { background-image: url("/static/img/divider-ridge.webp"); } .s-water { background-image: url("/static/img/divider-water.webp"); }
.missions-art { width: min(100%, 270px); aspect-ratio: 2 / 3; margin-top: var(--sp-head); opacity: .6; background-position: left center; }
.side-art { width: 150px; aspect-ratio: 1; margin: 18px 0 0 -14px; opacity: .8; }
.tier.has-spot { position: relative; } .tier-art { position: absolute; right: 18px; bottom: 14px; width: min(46%, 210px); aspect-ratio: 1; opacity: .7; }
.faq-art { width: 200px; aspect-ratio: 1; margin: 26px 0 0 -6px; opacity: .65; background-position: left top; }
.lock.ask { position: relative; overflow: hidden; padding-right: 220px; } .ask-art { position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 170px; aspect-ratio: 1; opacity: .75; }
.lock.empty { padding-top: 12px; } .lock.empty::before { content: ""; display: block; width: 150px; aspect-ratio: 1; margin: 0 auto -6px; background: url("/static/img/spot-lotus.webp?v=agy4") center / contain no-repeat; opacity: .8; }
.lock { background: url("/static/img/tex-weave.webp") center / 360px repeat, linear-gradient(180deg, var(--white), var(--paper-2)); }
.aside-art { width: 100%; aspect-ratio: 1; max-width: 300px; justify-self: center; opacity: .78; }
.divider { width: 100%; aspect-ratio: 8 / 1; max-height: 170px; margin-top: var(--sp-gap); opacity: .55; }
.lost { display: flex; align-items: center; gap: var(--sp-gap); flex-wrap: wrap; } .lost-art { width: min(100%, 300px); aspect-ratio: 1; opacity: .78; }

/* ---------- responsive ---------- */
@media (max-width: 1360px) {
  .brand > span { display: none; }
}
@media (max-width: 1180px) {
  .nav a { padding: 10px 4px; font-size: .92rem; }
}
@media (max-width: 1060px) {
  .nav { display: none; max-width: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 12px 24px 24px; z-index: var(--z-menu); }
  .home .site-header .nav a { color: var(--ink) !important; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); } .nav a::after { display: none; }
  .menu-btn { display: inline-block; }
  .tools { margin-left: auto; }
  .brand > span { display: block; }
  .g4, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .hero-meta { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hero-event { grid-column: 1 / -1; justify-self: start; }
  .split, .news-feature, .flagship, .zig-row, .zig-row:nth-child(even), .page-hero.has-img .wrap { grid-template-columns: minmax(0, 1fr); }
  .split > :first-child { position: static; }
  .zig-row:nth-child(even) .zig-img { order: 0; }
  .tiers.c3 { grid-template-columns: minmax(0, 1fr); } .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 24px; } .faq nav { position: static; display: flex; flex-wrap: wrap; }
  .page-hero.has-img .wrap { gap: 28px; }
  .missions-art, .side-art, .faq-art { display: none; }
  .aside-art { max-width: 220px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand > span { display: none !important; }
  .filter-toggle > summary { display: inline-flex; }
  .wrap { padding: 0 20px; }
  .g3, .g2 { grid-template-columns: minmax(0, 1fr); }
  .g3:has(.org-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; } .org-card .logo { padding: 16px; } .org-card h3 { font-size: 1.08rem; } .org-card .tag { font-size: .62rem; letter-spacing: .03em; }
  .article, .layout-side { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .article aside, .filters { position: static; }
  .row2, .qa-item { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .brand small { display: none; }
  .tools .btn { display: none; }
  .tiers.c2 { grid-template-columns: minmax(0, 1fr); } .tiers.c2 .tier { border-right: 0; border-bottom: 1px solid var(--line); }
  .event-item { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; } .event-item .go { display: none; } .event-item .when b { font-size: 2rem; }
  .news-list a { grid-template-columns: 96px minmax(0, 1fr); }
  .hero { min-height: min(86dvh, 740px); } .hero .wrap { padding-top: 112px; padding-bottom: 28px; }
  .hero-meta { margin-top: 32px; gap: 16px; align-items: start; }
  .page-hero.has-art .wrap { min-height: 0; }
  .page-hero.has-art::before { width: 100%; opacity: .32; -webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 78%); mask-image: linear-gradient(100deg, transparent 18%, #000 78%); }
  .page-hero.art-alps::before { background-image: url("/static/img/art-alps-m.webp?v=agy4"); }
  .page-hero.art-lotus::before { background-image: url("/static/img/art-lotus-m.webp?v=agy4"); }
  .page-hero.art-river::before { background-image: url("/static/img/art-river-m.webp?v=agy2"); }
  .page-hero.art-hanoi::before { background-image: url("/static/img/art-hanoi-m.webp?v=agy2"); }
  .page-hero.art-lake::before { background-image: url("/static/img/art-lake-m.webp?v=agy3"); }
  .tier-art { display: none; }
  .lock.ask { padding-right: 28px; padding-bottom: 150px; } .ask-art { top: auto; bottom: 8px; translate: none; width: 130px; }
  .divider { margin-top: var(--sp-head); aspect-ratio: 5 / 1; }
  .lost-art { width: 240px; }
  .page-hero.has-art h1, .page-hero.has-art p { max-width: none; }
  .site-footer::before { width: 100%; height: 60%; background-image: url("/static/img/art-alps-m.webp?v=agy4"); opacity: .1; }
  .tier { padding: 26px 22px; }
  .people { gap: 28px 16px; }
  .foot-top { grid-template-columns: 1fr 1fr; gap: 28px 20px; } .foot-top > :first-child { grid-column: 1 / -1; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- platform introduction (/introduction, unlisted) ---------- */
.intro-surface { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-top: var(--sp-tight); border-top: 1px solid var(--line); }
.intro-surface:first-child { border-top: 0; padding-top: 0; }
.intro-text .label { color: var(--red); }
.intro-text h2 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin: 12px 0 8px; }
.intro-url { margin: 0 0 2px; font-weight: 600; } .intro-url a { text-decoration: none; }
.intro-note { font-size: .92rem; margin-bottom: 18px; }
.intro-stops { margin: 0; padding: 0; list-style: none; counter-reset: stop; }
.intro-stops li { position: relative; padding: 14px 0 14px 34px; border-top: 1px solid var(--line-2); counter-increment: stop; }
.intro-stops li::before { content: counter(stop); position: absolute; left: 0; top: 15px; font-size: .78rem; font-weight: 700; color: var(--forest-3); font-variant-numeric: tabular-nums; }
.intro-stops h3 { font-size: 1.08rem; margin: 0 0 4px; }
.intro-stops p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.intro-stores { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.intro-media { position: sticky; top: 120px; }
.intro-shot { margin: 0; }
.intro-shot img, .intro-phones img { width: 100%; background: var(--white); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.intro-shot img { border-radius: var(--r-lg); }
.intro-shot figcaption, .intro-phones figcaption { margin-top: 10px; font-size: .82rem; color: var(--ink-3); }
.intro-more { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.intro-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); max-width: 860px; margin-left: auto; }
.intro-phones figure { margin: 0; } .intro-phones img { border-radius: 22px; }
@media (max-width: 1060px) {
  .intro-surface { grid-template-columns: minmax(0, 1fr); }
  .intro-media { position: static; }
  .intro-phones { margin-left: 0; }
}
@media (max-width: 760px) {
  .intro-more { grid-template-columns: minmax(0, 1fr); }
  .intro-phones { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin: 0 -20px; padding: 0 20px 6px; scrollbar-width: none; }
  .intro-phones::-webkit-scrollbar { display: none; }
  .intro-phones figure { flex: 0 0 68%; scroll-snap-align: start; }
}

/* ---------- event pages (/events/<code>, routes/forum.js) ---------- */
.ev-hero { position: relative; z-index: 2; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line-2); }
.ev-hero .wrap { padding-top: clamp(28px, 3.4vw, 48px); padding-bottom: clamp(28px, 3vw, 40px); min-height: clamp(360px, 34vw, 520px); display: flex; flex-direction: column; justify-content: flex-end; }
.ev-hero h1 { margin: 14px 0 0; max-width: 22ch; font-size: clamp(2.3rem, 4.6vw, 4rem); line-height: 1.04; font-weight: 400; }
.ev-hero .lead { margin: 16px 0 0; max-width: 60ch; font-size: clamp(1.02rem, 1.3vw, 1.16rem); }
.ev-hero .crumbs { margin-bottom: auto; padding-bottom: 28px; }
.ev-when { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 22px; font-size: 1rem; }
.ev-when b { font: 400 1.32rem/1.2 var(--serif); }
.ev-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.ev-facts { display: flex; gap: clamp(22px, 3vw, 44px); margin: 0; margin-left: auto; }
.ev-facts div { display: flex; flex-direction: column-reverse; }
.ev-facts dd { margin: 0; font: 400 clamp(1.8rem, 2.6vw, 2.4rem)/1 var(--serif); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ev-facts dt { margin-top: 6px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
/* with a photograph: the home hero's dark green wash */
.ev-hero.has-img { background: var(--forest); color: #fff; border-bottom: 0; }
.ev-hero.has-img .bg { position: absolute; inset: 0; z-index: -2; }
.ev-hero.has-img .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 35%; }
.ev-hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 33, 24, .95) 0%, rgba(10, 33, 24, .8) 42%, rgba(10, 33, 24, .3) 85%), linear-gradient(0deg, rgba(10, 33, 24, .92) 0%, rgba(10, 33, 24, 0) 55%); }
.ev-hero.has-img h1, .ev-hero.has-img .ev-when b { color: #fff; }
.ev-hero.has-img .lead, .ev-hero.has-img .ev-when { color: rgba(255, 255, 255, .84); }
.ev-hero.has-img .crumbs, .ev-hero.has-img .crumbs a { color: rgba(255, 255, 255, .7); }
.ev-hero.has-img .ev-foot { border-top-color: rgba(255, 255, 255, .2); }
.ev-hero.has-img .ev-facts dd { color: #fff; } .ev-hero.has-img .ev-facts dt { color: rgba(255, 255, 255, .66); }
.ev-hero.has-img .tag { background: rgba(255, 255, 255, .14); color: #fff; }
/* without one: paper and the line-art panel, like the page heroes */
.ev-hero.has-art { background: var(--paper-2); }
.ev-hero.has-art::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(60%, 980px); z-index: -1; pointer-events: none; background: right center / cover no-repeat; mix-blend-mode: multiply; opacity: .9; }
.ev-hero.art-alps::before { background-image: url("/static/img/art-alps.webp?v=agy4"); background-position: right 34%; }
.ev-hero.art-hanoi::before { background-image: url("/static/img/art-hanoi.webp?v=agy3"); background-position: right 72%; }
.ev-hero.has-art h1, .ev-hero.has-art .lead { max-width: min(22ch, 62%); } .ev-hero.has-art .lead { max-width: min(60ch, 58%); color: var(--ink-2); }
.ev-hero.has-art .ev-when { color: var(--ink-2); }

.ev-tabs { position: sticky; top: var(--hdr, 84px); z-index: 20; background: rgba(248, 249, 246, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.ev-tabs .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.ev-tabs .wrap::-webkit-scrollbar { display: none; }
.ev-tabs a { padding: 15px 14px 13px; text-decoration: none; color: var(--ink-3); border-bottom: 2px solid transparent; white-space: nowrap; font-weight: 500; font-size: .93rem; }
.ev-tabs a:hover { color: var(--ink); }
.ev-tabs a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }
.ev-tabs a.reg { margin-left: auto; color: var(--red-700); font-weight: 700; }

.ev-kicker { color: var(--red); display: block; margin-bottom: 12px; }
.ev-diagram { display: block; margin-top: 28px; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-2); }
.ev-spot { display: block; width: 190px; aspect-ratio: 1; margin-top: 28px; opacity: .85; }

.ev-days { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.ev-day { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 28px 28px 56px; background: var(--white); color: var(--ink); text-decoration: none; transition: background .25s; }
.ev-day:hover { background: var(--paper); color: var(--ink); }
.ev-day .label { color: var(--red); }
.ev-day h3 { margin: 0; font-size: 1.45rem; }
.ev-day p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.ev-day .go { position: absolute; left: 28px; bottom: 22px; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.ev-day:hover .go { transform: translateX(4px); color: var(--red); }

.ev-obj { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(24px, 3vw, 44px); }
.ev-obj article { border-top: 2px solid var(--ink); padding-top: 20px; }
.ev-obj .label { color: var(--red); }
.ev-obj h3 { margin: 10px 0 14px; font-size: 1.6rem; }
.ev-obj ul, .ev-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.ev-obj li, .ev-list li { position: relative; padding-left: 20px; color: var(--ink-2); }
.ev-obj li::before, .ev-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 9px; height: 1px; background: var(--red); }

.ev-pillars { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255, 255, 255, .18); }
.ev-pillars li { padding: 26px 26px 30px 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.ev-pillars li + li { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .18); }
.ev-pillars li:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.ev-pillars .n { font: 400 1.05rem var(--serif); color: #fff9b8; }
.ev-pillars h3 { margin: 12px 0 10px; font-size: 1.3rem; color: #fff; }
.ev-pillars p { margin: 0; font-size: .93rem; color: rgba(255, 255, 255, .74); }
section.block.green .label { color: rgba(255, 255, 255, .62); }

.ev-people { margin-top: 0; }
.ev-person { text-decoration: none; color: var(--ink); }
.ev-person .ph img { transition: transform .9s var(--ease); }
.ev-person:hover .ph img { transform: scale(1.04); }
.ev-person:hover h3 { color: var(--forest-3); }
.ev-person p.org { color: var(--ink-2); margin-top: 4px; }

.ev-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: clamp(140px, 14vw, 230px); gap: 10px; }
.ev-strip a { border-radius: var(--r); overflow: hidden; background: var(--paper-3); }
.ev-strip a:first-child { grid-row: span 2; }
.ev-strip img, .ev-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ev-strip a:hover img, .ev-gallery a:hover img { transform: scale(1.03); }
.ev-gallery { columns: 3 320px; column-gap: 12px; }
.ev-gallery a { position: relative; display: block; margin-bottom: 12px; break-inside: avoid; border-radius: var(--r); overflow: hidden; background: var(--paper-3); }
.ev-gallery img { height: auto; }
.ev-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; font-size: .8rem; color: #fff; background: linear-gradient(0deg, rgba(10, 33, 24, .7), transparent); opacity: 0; transition: opacity .3s; }
.ev-gallery a:hover span { opacity: 1; }

.ev-prog-day { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(28px, 4.5vw, 72px); padding: var(--sp-tight) 0; border-top: 1px solid var(--line); scroll-margin-top: 140px; }
.ev-prog-day:first-of-type { border-top: 0; padding-top: 8px; }
.ev-prog-head { position: sticky; top: 150px; align-self: start; }
.ev-prog-head .label { color: var(--red); }
.ev-prog-head h2 { margin: 12px 0 14px; }
.ev-prog-head .intro { font-size: 1rem; }
.ev-sessions { list-style: none; margin: 0; padding: 0; }
.ev-sessions > li { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 20px; padding: 22px 0; border-top: 1px solid var(--line); }
.ev-sessions > li:last-child { border-bottom: 1px solid var(--line); }
.ev-sessions .t { font: 400 1.15rem/1.3 var(--serif); font-variant-numeric: tabular-nums; }
.ev-sessions .t span { display: block; font-size: .9rem; color: var(--ink-3); }
.ev-sessions .t span::before { content: "– "; }
.ev-sessions .s .label { color: var(--red); display: block; margin-bottom: 6px; }
.ev-sessions h3 { margin: 0; font-size: 1.3rem; }
.ev-sessions li.plain h3 { font: 500 1rem/1.5 var(--sans); color: var(--ink-2); }
.ev-sessions li.plain { padding: 14px 0; }
.ev-sessions .detail { margin: 12px 0 0; padding-left: 18px; color: var(--ink-2); font-size: .95rem; }
.ev-sessions .detail li { margin: 3px 0; }
.ev-sessions .roles { margin: 16px 0 0; display: grid; gap: 10px; }
.ev-sessions .roles div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; }
.ev-sessions .roles dt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding-top: 3px; }
.ev-sessions .roles dd { margin: 0; font-size: .95rem; }
.ev-sessions .roles a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
.ev-sessions .roles a:hover { color: var(--forest-3); text-decoration-color: currentColor; }

.ev-speaker { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: end; margin: 22px 0 32px; }
.ev-speaker .ph { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-3); display: grid; place-items: center; font: 400 2.6rem var(--serif); color: var(--ink-3); }
.ev-speaker .ph img { width: 100%; height: 100%; object-fit: cover; }
.ev-speaker h2 { margin: 0 0 10px; }
.ev-speaker .intro { margin: 0 0 6px; }

.ev-pgroup + .ev-pgroup { margin-top: var(--sp-tight); }
.ev-pgroup h2.label { font-size: .78rem; margin: 0 0 14px; }
.ev-logo { display: grid; place-items: center; aspect-ratio: 3 / 2; padding: 26px; background: #fff; text-decoration: none; }
.ev-logo img { max-height: 70px; max-width: 82%; width: auto; object-fit: contain; }
.ev-logo span { font: 500 .95rem var(--serif); color: var(--ink-2); text-align: center; }
.logo-wall .ev-logo img { filter: grayscale(1); opacity: .8; transition: filter .35s, opacity .35s; }
.logo-wall .ev-logo:hover img, .ev-wall .ev-logo img { filter: none; opacity: 1; }

.ev-featured { display: flex; gap: 24px; justify-content: space-between; align-items: center; margin-top: 18px; }
.ev-featured h3 { margin: 0 0 6px; } .ev-featured p { margin: 0; color: var(--ink-2); font-size: .95rem; max-width: 62ch; }

.ev-form h2 { margin: 0; }
.ev-form .field > span:first-child, .ev-form legend { font-weight: 500; font-size: .9rem; color: var(--ink-2); }
.ev-form i { color: var(--red); font-style: normal; }
.ev-form fieldset { border: 0; margin: 0; padding: 0; }
.ev-form legend { padding: 0; margin-bottom: 10px; }
.ev-form .checks.two { display: grid; grid-template-columns: 1fr 1fr; }
.ev-form .err input, .ev-form .err textarea, .ev-form .err select { border-color: var(--red); }
.ev-form .msg { font-size: .82rem; color: var(--red-700); }
.ev-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ev-done { padding: clamp(32px, 4vw, 56px); text-align: left; }
.ev-done h2 { margin-bottom: 14px; }

@media (max-width: 1060px) {
  .ev-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ev-pillars li:nth-child(n) { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .18); }
  .ev-pillars li:nth-child(2n + 1) { padding-left: 0; border-left: 0; }
  .ev-prog-day { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ev-prog-head { position: static; }
}
@media (max-width: 760px) {
  .ev-hero .wrap { min-height: 0; }
  .ev-hero.has-art::before { width: 100%; opacity: .3; -webkit-mask-image: linear-gradient(100deg, transparent 18%, #000 78%); mask-image: linear-gradient(100deg, transparent 18%, #000 78%); }
  .ev-hero.art-alps::before { background-image: url("/static/img/art-alps-m.webp?v=agy4"); }
  .ev-hero.art-hanoi::before { background-image: url("/static/img/art-hanoi-m.webp?v=agy2"); }
  .ev-hero.has-art h1, .ev-hero.has-art .lead { max-width: none; }
  .ev-facts { margin-left: 0; }
  .ev-tabs { top: var(--hdr, 84px); }
  .ev-pillars { grid-template-columns: minmax(0, 1fr); }
  .ev-pillars li:nth-child(n) { padding-left: 0; border-left: 0; }
  .ev-strip { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
  .ev-strip a:first-child { grid-column: span 2; }
  .ev-sessions > li { grid-template-columns: 62px minmax(0, 1fr); gap: 14px; }
  .ev-sessions .roles div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .ev-speaker { grid-template-columns: 120px minmax(0, 1fr); gap: 18px; }
  .ev-featured { flex-direction: column; align-items: flex-start; }
  .ev-form .checks.two { grid-template-columns: minmax(0, 1fr); }
}
.ev-hero.has-art .ev-facts { margin-left: 0; }
.ev-hero.has-art .ev-foot { justify-content: flex-start; gap: 24px clamp(32px, 4vw, 64px); }
.ev .logo-wall { background: var(--white); } .ev .logo-wall > a { box-shadow: 0 0 0 .5px var(--line); }
/* one-day events: the evening at a glance */
.ev-line { list-style: none; margin: 0; padding: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); overflow-x: auto; border-top: 2px solid var(--ink); scrollbar-width: thin; }
.ev-line li { position: relative; padding: 22px 22px 6px 0; display: grid; gap: 8px; align-content: start; }
.ev-line li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--red); }
.ev-line li.minor::before { border-color: var(--ink-3); }
.ev-line time { font: 400 1.5rem/1 var(--serif); font-variant-numeric: tabular-nums; }
.ev-line b { font-weight: 500; font-size: .95rem; line-height: 1.35; color: var(--ink-2); }
.ev-line li:not(.minor) b { font: 400 1.12rem/1.3 var(--serif); color: var(--ink); }
.ev-recap .sec-head h2 { max-width: 28ch; }
@media (max-width: 760px) {
  .ev-line { grid-auto-flow: row; grid-auto-columns: auto; border-top: 0; border-left: 2px solid var(--ink); padding-left: 22px; }
  .ev-line li { padding: 4px 0 18px; grid-template-columns: 62px minmax(0, 1fr); }
  .ev-line li::before { top: 9px; left: -30px; }
  .ev-line time { font-size: 1.15rem; }
}
/* the secretariat's own Home blocks on an event page */
.ev-custom { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; max-width: 1100px; }
.ev-custom.has-img { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); max-width: none; }
.ev-custom-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3 / 2; background: var(--paper-3); box-shadow: var(--shadow); }
.ev-custom-img img { width: 100%; height: 100%; object-fit: cover; }
.ev-custom h2 { margin-bottom: 14px; }
.ev-custom .prose { color: var(--ink-2); max-width: 62ch; }
.ev-custom .btn { margin-top: 18px; }
@media (max-width: 760px) { .ev-custom.has-img { grid-template-columns: minmax(0, 1fr); } }
/* Partners tab: one card per organisation */
.ev-orgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(420px, 100%), 1fr)); gap: 16px; }
.ev-org { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 22px; padding: 20px; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r-lg); align-items: start; }
.ev-org-logo { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 12px; border-radius: var(--r); background: var(--paper); }
.ev-org-logo img { max-height: 64px; max-width: 100%; width: auto; object-fit: contain; }
.ev-org-logo span { font: 500 1.4rem var(--serif); color: var(--ink-3); text-align: center; }
.ev-org-body { display: grid; gap: 6px; }
.ev-org h3 { margin: 0; font-size: 1.2rem; }
.ev-org .meta { font-size: .8rem; color: var(--ink-3); }
.ev-org p { margin: 2px 0 0; color: var(--ink-2); font-size: .93rem; }
.ev-org .arrow { font-size: .88rem; margin-top: 4px; }
@media (max-width: 760px) { .ev-org { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 16px; } }
