/* ==========================================================================
   New Youth Cultural Association — single light theme
   White ground · black ink · emerald accents · no gold (decision 18 Jul 2026)
   ========================================================================== */
:root {
  --paper: #ffffff;
  --paper-2: #f4f8f6;
  --ink: #111614;
  --ink-2: #39433f;
  --ink-3: #56615c;
  --line: #dde5e1;
  --line-2: #c3d0ca;
  --emerald: #0f6a5b;
  --emerald-2: #0c5a4d;
  --emerald-deep: #0a463b;
  --emerald-ink: #07342c;
  --tint: #e7f1ed;
  --on-dark: #ffffff;
  --on-dark-2: rgba(255, 255, 255, .86);
  --on-dark-3: rgba(255, 255, 255, .7);
  --ok: #1b7f3b;
  --err: #b3261e;
  --radius: 16px;
  --shadow-1: 0 1px 2px rgba(8, 40, 34, .06), 0 2px 10px rgba(8, 40, 34, .05);
  --shadow-2: 0 14px 34px rgba(8, 40, 34, .12);
  --container: 1160px;
  --gutter: clamp(16px, 5vw, 48px);
  --sec: clamp(64px, 9vw, 120px);
  --dur-fast: 180ms;
  --dur-base: 260ms;
  --dur-slow: 450ms;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-fa: "Vazirmatn", "Geeza Pro", "Noto Naskh Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-ui: "Vazirmatn", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-verse: "Amiri", "Geeza Pro", "Noto Naskh Arabic", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--paper); }
html:lang(fa) { font-size: 112.5%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-fa); font-size: 1rem; line-height: 1.95;
  overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
html:lang(en) body { font-family: var(--font-serif); font-size: 1.0625rem; line-height: 1.65; }
html:lang(en) :is(.btn, .site-nav, .lang-switch, .menu-toggle, .eyebrow, label, input, select, textarea, .hint,
  .chip-sample, .preview-bar, .foot-legal, .ev-date, .ev-sub, .ev-meta, .jump, .tm, .skip, .c-label, .c-value,
  .form-status, .note, .when-h, .sub, .card-foot, .ev-actions) { font-family: var(--font-ui); }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { color: var(--ink); font-weight: 700; line-height: 1.6; text-wrap: balance; }
html:lang(en) :is(h1, h2, h3) { font-family: var(--font-serif); font-weight: 600; line-height: 1.18; letter-spacing: -.015em; }
html:lang(en) h3 { line-height: 1.3; letter-spacing: -.005em; }
p { text-wrap: pretty; }
strong { font-weight: 700; }
bdi { unicode-bidi: isolate; }
[id] { scroll-margin-top: 1.25rem; }

:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--emerald); outline-offset: 3px; border-radius: 6px;
}
.on-dark :where(a, button):focus-visible { outline-color: #fff; }
main:focus { outline: none; }

[hidden] { display: none !important; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; display: inline-block; vertical-align: -.22em; }
[dir="rtl"] .icon-dir { transform: scaleX(-1); }
[dir="rtl"] [dir="ltr"] .icon-dir { transform: none; }

.wrap { max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(46rem + 2 * var(--gutter)); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
  position: absolute; inset-inline-start: 1rem; top: -200px; z-index: 100;
  background: var(--emerald-deep); color: #fff; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 700;
}
.skip:focus { top: 1rem; }

.preview-bar {
  background: var(--ink); color: #fff; font-size: .82rem; line-height: 1.7; text-align: center;
  padding: .5rem var(--gutter);
}

/* ── Buttons & links ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .65rem 1.8rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.3; cursor: pointer; text-align: center;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, border-color var(--dur-fast) ease, transform 120ms var(--ease-out);
}
html:lang(en) .btn { font-weight: 600; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 8px 22px rgba(15, 106, 91, .22); }
.btn-primary:hover { background: var(--emerald-2); }
.btn-secondary { border-color: var(--emerald); color: var(--emerald); background: #fff; }
.btn-secondary:hover { background: var(--tint); }
.btn-sm { min-height: 44px; padding: .4rem 1.3rem; font-size: .95rem; box-shadow: none; }
.qlink {
  display: inline-flex; align-items: center; gap: .45rem; color: var(--emerald); font-weight: 700;
  border-bottom: 1px solid rgba(15, 106, 91, .35); padding-bottom: 2px;
  transition: border-color var(--dur-fast) ease;
}
.qlink:hover { border-bottom-color: var(--emerald); }
.qlink .icon { width: 1.05em; height: 1.05em; }
.on-dark .qlink { color: #fff; border-bottom-color: rgba(255, 255, 255, .5); }
.on-dark .qlink:hover { border-bottom-color: #fff; }

.eyebrow {
  display: flex; align-items: center; gap: 12px; color: var(--emerald);
  font-weight: 700; font-size: .92rem; line-height: 1.6; margin-block-end: .55rem;
}
html:lang(en) .eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; }
.center .eyebrow, .eyebrow.center { justify-content: center; }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-in {
  display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "brand nav tools";
  align-items: center; gap: .75rem 2rem; padding-block: .85rem;
}
.brand { grid-area: brand; display: flex; align-items: center; gap: .8rem; min-width: 0; }
.mark { width: 46px; height: 46px; color: var(--emerald); flex: none; }
.logo { width: 56px; height: 56px; border-radius: 50%; flex: none; background: #fff; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.brand-main { font-weight: 800; font-size: 1.08rem; color: var(--emerald-deep); }
.brand-sub { font-family: var(--font-ui); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-top: .1rem; }
html:lang(en) .brand-main { font-family: var(--font-serif); font-weight: 600; font-size: 1.14rem; letter-spacing: -.01em; }
html:lang(en) .brand-sub { font-family: var(--font-fa); letter-spacing: 0; text-transform: none; font-size: .82rem; }
.site-nav { grid-area: nav; justify-self: center; }
.site-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.7rem; }
.site-nav a:not(.btn) {
  display: inline-block; padding-block: .3rem; color: var(--ink-2); font-weight: 600;
  border-bottom: 2px solid transparent; transition: color var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.site-nav a:not(.btn):hover { color: var(--emerald); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--emerald); border-bottom-color: var(--emerald); }
.header-tools { grid-area: tools; display: flex; align-items: center; gap: .5rem; }
.lang-switch {
  display: inline-flex; align-items: center; min-height: 44px; padding: .2rem 1rem;
  border: 1px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink-2);
  transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.lang-switch:hover { border-color: var(--emerald); color: var(--emerald); }
.lang-switch:lang(fa) { font-family: var(--font-fa); }
.ls-short { display: none; }
.menu-toggle {
  display: none; align-items: center; gap: .4rem; min-height: 44px; padding: .2rem .9rem;
  border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink);
  font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer;
}
.menu-toggle .i-close { display: none; }
.menu-toggle[aria-expanded="true"] .i-open { display: none; }
.menu-toggle[aria-expanded="true"] .i-close { display: inline-block; }

@media (max-width: 1179px) {
  .header-in { grid-template-columns: 1fr auto; grid-template-areas: "brand tools" "nav nav"; row-gap: .5rem; }
  .site-nav { justify-self: stretch; }
  .site-nav ul { justify-content: center; gap: .1rem 1.6rem; border-top: 1px solid var(--line); padding-top: .55rem; }
}
@media (max-width: 759px) {
  .js .menu-toggle { display: inline-flex; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; margin-top: .2rem; padding-top: .25rem; }
  .js .site-nav li a:not(.btn) { display: block; padding: .8rem .2rem; border-bottom: 1px solid var(--line); }
  .js .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--line); }
  .js .site-nav a[aria-current="page"]:not(.btn)::before { content: ""; display: inline-block; width: 7px; height: 7px; background: var(--emerald); transform: rotate(45deg); margin-inline-end: .6rem; vertical-align: middle; }
  .js .nav-cta { padding-block: 1rem .6rem; }
  .js .nav-cta .btn { width: 100%; }
}
@media (max-width: 560px) {
  .mark { width: 38px; height: 38px; }
  .logo { width: 46px; height: 46px; }
  .brand { gap: .6rem; }
  .brand-main { font-size: .98rem; }
  .brand-sub { display: none; }
  .ls-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .ls-short { display: inline; }
  .lang-switch, .menu-toggle { padding-inline: .75rem; }
}
@media (max-width: 400px) {
  .mt-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}

/* ── Ornament ────────────────────────────────────────────────────────────── */
.frieze {
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='16' viewBox='0 0 24 16'%3E%3Cpath d='M12 3.5 16.5 8 12 12.5 7.5 8Z' fill='none' stroke='%230f6a5b' stroke-opacity='.55'/%3E%3Ccircle cx='0' cy='8' r='1.3' fill='%230f6a5b' fill-opacity='.5'/%3E%3Ccircle cx='24' cy='8' r='1.3' fill='%230f6a5b' fill-opacity='.5'/%3E%3C/svg%3E") repeat-x center / 24px 16px;
  border-block: 1px solid var(--line);
}
.orn { direction: ltr; display: flex; align-items: center; gap: 1.1rem; max-width: 520px; margin: 0 auto clamp(28px, 4vw, 40px); }
.orn::before, .orn::after { content: ""; flex: 1; height: 1px; background: linear-gradient(to left, transparent, var(--line-2)); }
.orn::after { background: linear-gradient(to right, transparent, var(--line-2)); }
.orn-star { width: 18px; height: 18px; color: var(--emerald); flex: none; }
.arch { width: 100%; height: auto; }

/* ── Photos ──────────────────────────────────────────────────────────────── */
.photo-arch {
  position: relative; aspect-ratio: 300 / 380; overflow: hidden; background: var(--tint);
  border-radius: 50% 50% 10px 10px / 39.5% 39.5% 10px 10px;
}
.photo-arch picture, .photo-arch img { display: block; width: 100%; height: 100%; }
.photo-arch img { object-fit: cover; }
.photo-arch::after {
  content: ""; position: absolute; inset: 10px; pointer-events: none;
  border: 1.2px solid rgba(255, 255, 255, .6); border-radius: inherit;
}
.hero-photo { filter: drop-shadow(0 24px 40px rgba(10, 70, 59, .26)); }
.wide-photo { margin-top: clamp(32px, 5vw, 56px); }
.wide-photo picture, .wide-photo img { display: block; width: 100%; height: auto; }
.wide-photo img { border-radius: var(--radius); }
.wide-photo figcaption { margin-top: .7rem; color: var(--ink-3); font-size: .9rem; text-align: center; }
.side-photo { margin-top: 1.4rem; }
.side-photo picture, .side-photo img { display: block; width: 100%; }
.side-photo img { height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding-block: var(--sec); }
.section.alt { background: var(--paper-2); }
.sec-head { margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head.center { text-align: center; }
.sec-head h2 { font-size: clamp(1.55rem, 1.1rem + 1.9vw, 2.25rem); }
.sec-head .intro { color: var(--ink-2); margin-top: .7rem; max-width: 40em; }
.sec-head.center .intro { margin-inline: auto; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2rem; }
.center-cta { display: flex; justify-content: center; margin-top: 2.2rem; }
.note { color: var(--ink-3); font-size: .88rem; text-align: center; max-width: 42em; margin: 1.6rem auto 0; }
.small { font-size: .88rem; color: var(--ink-3); }

/* ── Home hero ───────────────────────────────────────────────────────────── */
.hero { padding-block: clamp(44px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; gap: clamp(36px, 6vw, 72px); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 7fr 5fr; } }
.hero h1 { font-size: clamp(2.05rem, 1.2rem + 3.9vw, 3.45rem); line-height: 1.55; margin-bottom: 1.1rem; }
html:lang(en) .hero h1 { line-height: 1.08; letter-spacing: -.022em; }
.hero h1 em { font-style: normal; color: var(--emerald); }
.lede { color: var(--ink-2); font-size: clamp(1.04rem, 1rem + .35vw, 1.18rem); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.9rem; margin-top: 2.1rem; }
.hero-art { width: 100%; max-width: 400px; margin-inline: auto; }
.hero-art .arch { filter: drop-shadow(0 24px 40px rgba(10, 70, 59, .26)); }
@media (max-width: 899px) { .hero-art { max-width: 280px; } }

/* ── Verse band (unwan panel) ────────────────────────────────────────────── */
.verse-band { background: var(--emerald-deep); color: #fff; padding-block: clamp(52px, 8vw, 92px); }
.unwan {
  position: relative; max-width: 680px; margin-inline: auto; text-align: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: clamp(150px, 32vw, 340px) clamp(150px, 32vw, 340px) 18px 18px;
  padding: clamp(58px, 9vw, 86px) clamp(22px, 5vw, 56px) clamp(32px, 5vw, 48px);
  background: radial-gradient(ellipse 75% 45% at 50% 6%, rgba(255, 255, 255, .1), transparent 70%);
}
.unwan::before { content: ""; position: absolute; inset: 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: inherit; pointer-events: none; }
.unwan-star { width: 20px; height: 20px; margin: 0 auto 1.1rem; color: #fff; }
.ayah { font-family: var(--font-verse); font-weight: 400; font-size: clamp(1.55rem, 1rem + 2.8vw, 2.45rem); line-height: 2.15; color: #fff; }
.ayah-tr { color: var(--on-dark-2); max-width: 34em; margin: 1rem auto 0; }
html:lang(en) .ayah-tr { font-style: italic; }
.ayah-src { color: var(--on-dark-3); font-size: .88rem; margin-top: .45rem; }

/* ── Cards & grids ───────────────────────────────────────────────────────── */
.grid-12 { display: grid; gap: 1.25rem; }
@media (min-width: 960px) {
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
  .sp4 { grid-column: span 4; } .sp5 { grid-column: span 5; } .sp6 { grid-column: span 6; }
  .sp7 { grid-column: span 7; } .sp8 { grid-column: span 8; } .sp12 { grid-column: span 12; }
}
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem 1.6rem 1.6rem; }
.card > h3, .card-title {
  display: flex; align-items: center; gap: .6rem; color: var(--emerald-deep); font-size: 1.12rem; font-weight: 700;
  border-bottom: 1px solid var(--line); padding-bottom: .8rem; margin-bottom: 1rem; line-height: 1.5;
}
.card > h3 .icon, .card-title .icon { color: var(--emerald); }
.card-lead { font-weight: 700; margin-bottom: .6rem; }
.card-foot { margin-top: 1.2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.5rem; }
.social-list { display: grid; gap: .6rem; }
.card p + p { margin-top: .7rem; }
.card.parents { background: linear-gradient(180deg, var(--tint), #fff 55%); border-color: rgba(15, 106, 91, .28); }
.card.vol { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.card.vol > h3 { color: #fff; border-bottom-color: rgba(255, 255, 255, .28); }
.card.vol > h3 .icon { color: #fff; }
.card.vol p { color: var(--on-dark-2); }
.checks { display: grid; gap: .7rem; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { color: var(--emerald); margin-top: .35em; width: 1.1em; height: 1.1em; }
html:lang(en) .checks .icon { margin-top: .25em; }
.checks-lg { gap: 1rem; font-size: 1.04rem; }

.prog-grid { display: grid; gap: 1.25rem; }
@media (min-width: 820px) { .prog-grid { grid-template-columns: repeat(3, 1fr); } }
.prog-card {
  position: relative; display: flex; flex-direction: column; gap: .75rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem 1.5rem;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) ease;
}
.prog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--line-2); }
.prog-card h3 { font-size: 1.16rem; }
.prog-card p { color: var(--ink-2); font-size: .95rem; }
.prog-card .qlink { margin-top: auto; align-self: flex-start; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.stretch:focus-visible { outline: none; }
.stretch:focus-visible::after { outline: 2px solid var(--emerald); outline-offset: 3px; }
.p-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--emerald); display: grid; place-items: center; flex: none; }
.p-icon .icon { width: 26px; height: 26px; }

/* events: compact rows */
.ev { display: flex; gap: 1.05rem; align-items: flex-start; padding-block: .85rem; }
.ev + .ev { border-top: 1px solid var(--line); }
.ev-date {
  flex: none; width: 70px; text-align: center; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--paper-2); padding: .4rem .2rem .45rem; line-height: 1.35;
}
.ev-date b { display: block; font-size: 1.45rem; color: var(--emerald); font-weight: 800; }
.ev-date span { display: block; font-size: .78rem; color: var(--ink-3); }
.ev-body .t { font-weight: 700; }
.ev-body a.t:hover { color: var(--emerald); }
.ev-body .d { color: var(--ink-3); font-size: .9rem; line-height: 1.8; margin-top: .15rem; }
html:lang(en) .ev-body .d { line-height: 1.5; }

/* schedule: dot leaders */
.sched li { display: flex; align-items: baseline; padding-block: .5rem; }
.sched li + li { border-top: 1px solid var(--line); }
.s-name { font-weight: 700; }
.sched .dots { flex: 1; border-bottom: 1px dotted var(--line-2); margin: 0 12px 8px; min-width: 20px; }
.tm { color: var(--emerald); font-weight: 700; white-space: nowrap; text-align: end; }
.sub { display: block; font-weight: 400; font-size: .84rem; color: var(--ink-3); }

.empty {
  display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.2rem;
  border: 1px dashed var(--line-2); border-radius: 12px; background: var(--paper-2); color: var(--ink-2);
}
.empty > .icon { color: var(--emerald); width: 1.45em; height: 1.45em; margin-top: .25em; }
.empty .qlink { margin-top: .6rem; }

/* join steps */
.join { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.join-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.join-step .n {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--emerald); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: .9rem;
}
.join-step h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.join-step p { color: var(--ink-2); font-size: .95rem; }

/* moments */
.moments { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); max-width: 880px; margin-inline: auto; }
.moments figure { max-width: 260px; margin-inline: auto; }
.moments figcaption { text-align: center; color: var(--ink-2); font-weight: 600; margin-top: .75rem; }

.about-teaser { text-align: center; max-width: calc(40rem + 2 * var(--gutter)); }
.about-teaser > p { color: var(--ink-2); margin-block: 0 1.6rem; }

/* ── Inner page hero ─────────────────────────────────────────────────────── */
.page-hero {
  position: relative; overflow: hidden; background: linear-gradient(180deg, var(--paper-2), var(--paper));
  padding-block: clamp(52px, 8vw, 96px) clamp(40px, 6vw, 72px);
}
.page-hero-in { position: relative; z-index: 1; max-width: 46rem; }
.page-hero h1 { font-size: clamp(1.9rem, 1.15rem + 3vw, 3rem); line-height: 1.55; }
html:lang(en) .page-hero h1 { line-height: 1.12; letter-spacing: -.02em; }
.page-hero .lede { margin-top: 1rem; }
.page-hero-orn {
  position: absolute; inset-inline-end: -60px; top: 50%; transform: translateY(-50%);
  width: clamp(220px, 34vw, 420px); height: auto; color: var(--emerald); opacity: .09; pointer-events: none;
}
@media (max-width: 700px) { .page-hero-orn { opacity: .06; inset-inline-end: -110px; } }
.jump { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.7rem; }
.jump a {
  border: 1px solid var(--line-2); border-radius: 999px; padding: .35rem 1rem; font-weight: 600; font-size: .9rem;
  color: var(--ink-2); background: #fff; transition: border-color var(--dur-fast) ease, color var(--dur-fast) ease;
}
.jump a:hover { border-color: var(--emerald); color: var(--emerald); }

/* ── About ───────────────────────────────────────────────────────────────── */
.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 7fr 5fr; } }
.values { display: grid; gap: 1.1rem; }
.values li { display: grid; gap: .2rem; padding-inline-start: 1.4rem; position: relative; }
.values li::before { content: ""; position: absolute; inset-inline-start: 0; top: .8em; width: 9px; height: 9px; background: var(--emerald); transform: rotate(45deg); }
html:lang(en) .values li::before { top: .55em; }
.v-t { font-weight: 800; color: var(--emerald-deep); font-size: 1.08rem; }
.v-d { color: var(--ink-2); font-size: .95rem; }
.aims { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.aim { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; }
.aim .n { display: block; font-size: 2.2rem; font-weight: 800; color: var(--emerald); line-height: 1.2; margin-bottom: .5rem; }
html:lang(en) .aim .n { font-family: var(--font-serif); font-weight: 600; }
.aim h3 { font-size: 1.12rem; margin-bottom: .35rem; }
.aim p { color: var(--ink-2); font-size: .95rem; }

.prose > * + * { margin-top: 1rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose h2 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); margin-top: 2.4rem; }
.prose h2:first-child { margin-top: 0; }
.prose ul { display: grid; gap: .6rem; }
.prose ul li { position: relative; padding-inline-start: 1.5rem; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: .15rem; top: .85em; width: 7px; height: 7px; background: var(--emerald); transform: rotate(45deg); }
html:lang(en) .prose ul li::before { top: .6em; }
.prose a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.prose .plain li { padding-inline-start: 0; display: flex; gap: .5rem; align-items: center; }
.prose .plain li::before { display: none; }
.prose .plain .icon { color: var(--emerald); }
.updated { font-size: .88rem; color: var(--ink-3); padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 2.4rem !important; }

/* ── Programmes ──────────────────────────────────────────────────────────── */
.prog-sec { padding-block: clamp(48px, 7vw, 88px); border-bottom: 1px solid var(--line); }
.prog-sec:nth-of-type(even) { background: var(--paper-2); }
.prog-sec-in { display: grid; gap: clamp(22px, 4vw, 56px); align-items: start; }
@media (min-width: 900px) { .prog-sec-in { grid-template-columns: 4fr 8fr; } }
.prog-side .p-icon { margin-bottom: 1rem; }
.prog-side h2 { font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2rem); }
.prog-intro { color: var(--ink-2); margin-top: .6rem; }
.item-list li { padding-block: 1rem; border-bottom: 1px solid var(--line); }
.item-list li:first-child { padding-top: 0; }
.item-list .t { font-size: 1.1rem; margin-bottom: .2rem; }
.item-list .d { color: var(--ink-2); }
.when { display: flex; gap: .8rem; align-items: flex-start; margin-top: 1.3rem; padding: 1rem 1.1rem; border-radius: 12px; background: var(--tint); color: var(--ink-2); }
.when > .icon { color: var(--emerald); margin-top: .3em; }
.when-h { font-weight: 700; color: var(--emerald-deep); font-size: .9rem; }
.when-list li + li { margin-top: .3rem; }

.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 0; font-weight: 700; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--emerald); flex: none; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding-bottom: 1.2rem; color: var(--ink-2); }

/* ── Events page ─────────────────────────────────────────────────────────── */
.ev-cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); }
.ev-card { display: flex; flex-direction: column; gap: .9rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.ev-card-top { display: flex; gap: 1rem; align-items: center; }
.ev-card h3 { font-size: 1.15rem; line-height: 1.5; }
.ev-sub { color: var(--ink-3); font-size: .85rem; }
.ev-summary { color: var(--ink-2); font-size: .95rem; }
.ev-meta { display: grid; gap: .45rem; }
.ev-meta li { display: flex; gap: .6rem; align-items: flex-start; color: var(--ink-2); font-size: .92rem; }
.ev-meta .icon { color: var(--emerald); margin-top: .32em; width: 1.1em; height: 1.1em; }
html:lang(en) .ev-meta .icon { margin-top: .2em; }
.ev-actions { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: auto; padding-top: .9rem; border-top: 1px solid var(--line); font-size: .92rem; }
.week { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.day h3 { font-size: 1.1rem; color: var(--emerald-deep); padding-bottom: .6rem; margin-bottom: .4rem; border-bottom: 1px solid var(--line); }
.day li { display: grid; gap: .1rem; padding-block: .6rem; }
.day li + li { border-top: 1px solid var(--line); }
.day .tm { text-align: start; font-size: .92rem; }
.day .t { font-weight: 700; }
.stay .sec-head { margin-bottom: 0; }

/* ── Get involved ────────────────────────────────────────────────────────── */
.roles { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.role { display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.role h3 { font-size: 1.12rem; }
.role p { color: var(--ink-2); font-size: .95rem; }
.steps { display: grid; gap: 1.3rem; }
.steps li { display: flex; gap: 1rem; align-items: flex-start; }
.steps .n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tint); color: var(--emerald); font-weight: 800; }
.steps .t { font-size: 1.08rem; }
.steps .d { color: var(--ink-2); font-size: .95rem; }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 7fr 4fr; } }
.contact-main { display: grid; gap: 1.5rem; }
.contact-side { display: grid; gap: 1.2rem; }
.channels { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); }
.channel {
  display: flex; gap: .9rem; align-items: center; height: 100%;
  padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color var(--dur-fast) ease, box-shadow var(--dur-fast) ease;
}
.channel:hover { border-color: var(--emerald); box-shadow: var(--shadow-1); }
.c-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--tint); color: var(--emerald); display: grid; place-items: center; flex: none; }
.c-text { min-width: 0; }
.c-label { display: block; font-size: .85rem; color: var(--ink-3); }
.c-value { display: block; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.safe-note { border-color: rgba(15, 106, 91, .28); background: linear-gradient(180deg, var(--tint), #fff 60%); }

/* ── Forms ───────────────────────────────────────────────────────────────── */
.form { display: grid; gap: 1.05rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; gap: 1.05rem; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
label { font-weight: 600; font-size: .95rem; }
.req { font-weight: 400; color: var(--ink-3); font-size: .85em; }
.hint { font-size: .85rem; color: var(--ink-3); }
.form > .hint { margin-top: -.6rem; }
input, select, textarea {
  width: 100%; min-height: 52px; padding: .6rem .9rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: #fff; border: 1.5px solid #7a8581; border-radius: 10px; transition: border-color var(--dur-fast) ease;
}
textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
input:focus, select:focus, textarea:focus { border-color: var(--emerald); }
[dir="rtl"] input[dir="ltr"] { text-align: right; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-weight: 400; font-size: .92rem; color: var(--ink-2); }
.check input { width: 22px; height: 22px; min-height: 0; margin: .3em 0 0; accent-color: var(--emerald); flex: none; }
.check a { color: var(--emerald); text-decoration: underline; text-underline-offset: 3px; }
.hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; }
.form-status { font-weight: 600; min-height: 1.5em; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.form-card .card-title { border-bottom: none; padding-bottom: 0; }

.chip-sample {
  display: inline-block; margin-inline-start: .45rem; padding: 0 .55rem; vertical-align: middle;
  font-size: .7rem; font-weight: 700; line-height: 1.75; white-space: nowrap; letter-spacing: 0;
  color: var(--ink); background: #fff; border: 1px dashed var(--ink-3); border-radius: 999px;
}
.on-dark .chip-sample { color: #fff; background: transparent; border-color: rgba(255, 255, 255, .7); }
html:lang(en) .chip-sample { text-transform: uppercase; letter-spacing: .06em; }

/* ── 404 ─────────────────────────────────────────────────────────────────── */
.notfound { text-align: center; }
.nf-star { width: 34px; height: 34px; color: var(--emerald); margin: 0 auto 1.2rem; }
.notfound h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); }
.notfound p { color: var(--ink-2); margin-top: .6rem; }
.notfound .cta-row { justify-content: center; }
.nf-en { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); font-family: var(--font-serif); line-height: 1.6; }
.nf-en h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -.01em; font-size: 1.5rem; }
.nf-en .btn { font-family: var(--font-ui); }

/* ── Footer ──────────────────────────────────────────────────────────────── */
.site-footer { background: var(--emerald-deep); color: var(--on-dark-2); }
.foot-grid { display: grid; gap: 2rem 2.5rem; padding-block: clamp(48px, 6vw, 72px) 2.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1000px) { .foot-grid { grid-template-columns: 1.5fr 1fr 1.2fr 1fr; } }
.site-footer .mark { color: #fff; }
.site-footer .brand-main { color: #fff; }
.site-footer .brand-sub { color: var(--on-dark-3); display: block; }
.foot-brand p { margin-top: 1rem; font-size: .92rem; max-width: 26em; }
.foot-h { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: .7rem; }
html:lang(en) .foot-h { font-family: var(--font-ui); letter-spacing: 0; }
.site-footer li { padding-block: .22rem; font-size: .95rem; }
.site-footer li a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-legal { border-top: 1px solid rgba(255, 255, 255, .16); padding-block: 1.2rem 1.9rem; font-size: .84rem; color: var(--on-dark-3); text-align: center; line-height: 2; }
html:lang(en) .foot-legal { line-height: 1.8; }

/* ── Motion: content is visible by default; JS opts elements into reveal ── */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal:not(.in) { opacity: 0; transform: translateY(14px); }
  .js .reveal { transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* ── Print ───────────────────────────────────────────────────────────────── */
@media print {
  .site-nav, .header-tools, .preview-bar, .frieze, .hero-art, .moments, .skip, .page-hero-orn, .orn, .form, .hero-actions, .center-cta, .cta-row { display: none !important; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .section, .page-hero, .hero { padding-block: 16pt; background: none !important; }
  .verse-band, .site-footer, .card.vol { background: none !important; color: #000 !important; }
  .verse-band *, .site-footer *, .card.vol * { color: #000 !important; }
  .card, .prog-card, .ev-card, .day, .aim, .role, .join-step { break-inside: avoid; box-shadow: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
