/* Embassy Boulevard Residents' Association: site styles (November 2026 redesign) */
:root {
  --bg: #EFEBE4; --surface: #FFFDF9; --raise: #F6F3EE; --ink: #16181B; --muted: #655F56; --line: #E3DED5;
  --accent: #7A5C26; --accent-2: #C9A55C; --on-accent: #FFFFFF; --deep: #16181B; --deep-2: #25282C; --on-deep: #F3F1EC; --on-deep-mute: #A9A398;
  --green: #2F3B33; --on-green: #EDEBE2; --red-bg: #F3E1DC; --red: #9A3B2A; --gold-bg: #EFE3CB; --sage-bg: #E3E6E1;
  --display: "Bodoni Moda", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --r: 18px; --r-sm: 12px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
svg.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 10px; font-family: var(--sans); font-size: 0.9rem; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-solid { background: var(--accent); color: var(--on-accent); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-light { background: var(--surface); color: var(--ink); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.arrow-link::after { content: "→"; }
html[dir="rtl"] .arrow-link::after { content: "←"; }

/* ---------- shell ---------- */
.shell { display: grid; grid-template-columns: 264px minmax(0, 1fr); min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; overflow-y: auto; background: var(--deep); color: #CFC9BE; padding: 28px 20px 22px; display: flex; flex-direction: column; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-bottom: 34px; padding-inline: 6px; }
.brand .mk { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 10px; overflow: hidden; }
.brand .mk svg { width: 100%; height: 100%; display: block; }
.brand b { font-family: var(--display); font-weight: 500; font-size: 1.15rem; line-height: 1.05; display: block; }
.brand small { display: block; font-size: 0.56rem; letter-spacing: 0.14em; white-space: nowrap; text-transform: uppercase; color: var(--accent-2); margin-top: 5px; font-weight: 600; }
.side nav a { display: flex; align-items: center; gap: 13px; padding: 11px 14px; border-radius: 10px; font-size: 0.93rem; font-weight: 500; text-decoration: none; margin-bottom: 2px; color: #CFC9BE; }
.side nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.side nav a[aria-current="page"] { background: var(--deep-2); color: #fff; }
.side nav a[aria-current="page"] svg { color: var(--accent-2); }
.side .grow { flex: 1; }
.side .login { display: flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid #3a3d42; border-radius: 10px; padding: 12px; color: #fff; font-weight: 600; font-size: 0.9rem; text-decoration: none; margin-top: 22px; }
.side .login:hover { border-color: var(--accent-2); }
.side .langs-row { display: flex; justify-content: center; gap: 2px; margin-top: 14px; }
.side .langs-row button, .langmenu button { font-family: var(--sans); background: none; border: 0; color: #8f897e; font-size: 0.8rem; font-weight: 600; padding: 8px 7px; white-space: nowrap; cursor: pointer; min-height: 40px; }
.side .langs-row button[aria-pressed="true"] { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; text-decoration-color: var(--accent-2); }
.side .small { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 14px; margin-top: 10px; font-size: 0.75rem; }
.side .small a { color: #8f897e; text-decoration: none; display: inline-flex; align-items: center; min-height: 24px; }
.side .small a:hover { color: #fff; }
main { padding: 38px 48px 60px; max-width: 1240px; width: 100%; min-width: 0; }
.mtop, .tabs { display: none; }

/* ---------- page heads ---------- */
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; }
.head h1 { font-size: clamp(2.2rem, 4.4vw, 3.3rem); line-height: 1.04; margin-top: 8px; }
.head .lede { color: var(--muted); font-size: 1.04rem; max-width: 44rem; margin-top: 14px; }
.head .acts { display: flex; gap: 10px; flex: 0 0 auto; }

/* ---------- tiles ---------- */
.tile { background: var(--surface); border-radius: var(--r); padding: 24px; min-width: 0; }
.tile > .label, .tile > h2.tl { display: block; margin-bottom: 14px; }
.tile h2.tl { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.g2 { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.next { position: relative; overflow: hidden; color: #fff; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; background: #222 url(boardwalk.jpg) center 70% / cover; }
.next::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,15,17,.94) 0%, rgba(14,15,17,.55) 55%, rgba(14,15,17,.12) 100%); }
.next > * { position: relative; }
.chip { align-self: flex-start; display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 11px; border-radius: 4px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-bottom: 12px; }
.next h3 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); font-weight: 400; line-height: 1.12; max-width: 30rem; }
.next p { color: #E1DBD0; font-size: 0.93rem; margin-top: 8px; max-width: 34rem; }
.next .arrow-link { color: var(--accent-2); margin-top: 14px; }
.act { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--r-sm); background: var(--raise); margin-bottom: 10px; }
.act:last-of-type { margin-bottom: 14px; }
.act .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.act b { display: block; font-size: 0.95rem; line-height: 1.35; }
.act p { font-size: 0.86rem; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.ic.r { background: var(--red-bg); color: var(--red); } .ic.y { background: var(--gold-bg); color: var(--accent); } .ic.k { background: var(--sage-bg); color: var(--green); }
.mini { list-style: none; padding: 0; margin: 0; }
.mini li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.mini li:first-child { border-top: 0; padding-top: 0; }
.dd { width: 54px; min-height: 58px; border-radius: 12px; background: var(--raise); text-align: center; padding: 8px 4px 6px; flex: 0 0 auto; display: grid; align-content: center; }
.dd b { font-family: var(--display); font-weight: 500; font-size: 1.4rem; line-height: 1; display: block; }
.dd i { font-style: normal; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 4px; display: block; }
.mini strong { display: block; font-size: 0.95rem; line-height: 1.3; }
.mini span { display: block; font-size: 0.82rem; line-height: 1.45; color: var(--muted); margin-top: 2px; }
.mini + .arrow-link { margin-top: 16px; }
.joincard { background: var(--green); color: var(--on-green); display: flex; flex-direction: column; }
.joincard .label { color: #B9C2B4; }
.joincard h3 { font-size: 1.75rem; font-weight: 400; line-height: 1.1; margin: 10px 0 10px; color: #fff; }
.joincard p { font-size: 0.92rem; color: #cfd3cb; margin-bottom: 18px; }
.joincard .btn { align-self: flex-start; margin-top: auto; }
.vidtile .vid { max-width: none; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--deep); color: var(--on-deep); border-radius: var(--r); margin-top: 18px; overflow: hidden; }
.stat { padding: 22px 24px; border-inline-start: 1px solid rgba(255,255,255,.08); }
.stat:first-child { border: 0; }
.stat .n { font-family: var(--display); font-size: 2.3rem; line-height: 1; display: block; }
.stat .t { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-deep-mute); display: block; margin-top: 8px; font-weight: 600; }

/* ---------- long pages ---------- */
.subnav { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 26px; }
.subnav a { font-size: 0.85rem; font-weight: 600; text-decoration: none; padding: 8px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.subnav a:hover { border-color: var(--accent); color: var(--accent); }
.block { background: var(--surface); border-radius: var(--r); padding: 36px; margin-bottom: 18px; }
.block.raise { background: var(--raise); }
.sec-head { margin-bottom: 26px; max-width: 44rem; }
.sec-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; margin: 10px 0 12px; }
.sec-head p { color: var(--muted); font-size: 1.02rem; }
.sec-head p.label, .split .copy p.label, .reg-grid p.label { font-size: 0.7rem; color: var(--accent); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.split figure { margin: 0; }
.split img { border-radius: 14px; width: 100%; height: auto; }
.split .cap { font-size: 0.78rem; color: var(--muted); margin-top: 8px; }
.split .copy { display: grid; gap: 14px; }
.split .copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; }
.split .copy p { color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 12px; }
.card { background: var(--raise); border-radius: 14px; padding: 24px 22px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.block.raise .card { background: var(--surface); }
.card h3 { font-size: 1.22rem; line-height: 1.25; }
.card p { color: var(--muted); font-size: 0.93rem; }
.card .num, .card .kind { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); }
.card a.more { font-size: 0.88rem; font-weight: 600; color: var(--accent); text-decoration: none; }
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 30px 0 0; border-top: 1px solid var(--line); }
ol.steps li { counter-increment: s; border-bottom: 1px solid var(--line); padding-block: 22px; display: grid; grid-template-columns: 3rem 1fr; gap: 18px; }
ol.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--display); font-size: 1.3rem; color: var(--accent); line-height: 1.2; }
ol.steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
ol.steps p { color: var(--muted); font-size: 0.95rem; }
.pledges { margin: 0; border-top: 1px solid var(--line); }
.pledges > div { border-bottom: 1px solid var(--line); padding-block: 20px; display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 28px; }
.pledges dt { font-family: var(--display); font-size: 1.18rem; font-weight: 500; line-height: 1.25; }
.pledges dd { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- what's on ---------- */
.ev-group { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.events { list-style: none; padding: 0; margin: 0 0 34px; }
.events li { background: var(--surface); border-radius: 14px; padding: 20px 22px; margin-bottom: 10px; display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); gap: 20px; align-items: start; }
.events.past li { background: transparent; border: 1px solid var(--line); }
.ev-date { display: grid; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.ev-date .d { font-family: var(--display); font-size: 2.1rem; line-height: 1; color: var(--accent); }
.ev-date .d.sm { font-size: 1.15rem; line-height: 1.2; font-style: italic; }
.ev-date .m { font-size: 0.66rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.events.past .ev-date .d { color: var(--muted); }
.ev-body { display: grid; gap: 5px; min-width: 0; }
.ev-body .who { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.ev-body h3 { font-size: 1.3rem; line-height: 1.2; }
.ev-body p { color: var(--muted); font-size: 0.95rem; }
.ev-foot { color: var(--muted); font-size: 0.92rem; max-width: 42rem; }

/* ---------- questions ---------- */
.faq-group { font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); margin: 34px 0 4px; }
.faq-group:first-child { margin-top: 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 18px; padding: 17px 0; min-height: 44px; font-family: var(--display); font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-size: 1.35rem; line-height: 1.1; color: var(--accent); }
.faq details[open] > summary::after { content: "\2013"; }
.faq .ans { padding: 0 0 20px; max-width: 42rem; color: var(--muted); display: grid; gap: 10px; }
.faq .ans a, .faq-foot a { color: var(--accent); text-underline-offset: 3px; }
.faq-foot { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

/* ---------- welcome / languages ---------- */
.greets { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; margin-bottom: 26px; }
.greets i { font-style: normal; font-family: var(--display), system-ui, sans-serif; font-size: clamp(1.3rem, 3.4vw, 2rem); line-height: 1.5; }
.greets b { color: var(--accent); font-weight: 400; opacity: .55; }
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.langs button { font-family: var(--sans); font-size: 0.78rem; font-weight: 600; cursor: pointer; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; }
.langs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.lang-note { color: var(--muted); font-size: 0.85rem; max-width: 42rem; margin-bottom: 22px; }
#welcomeText { font-size: 1.05rem; line-height: 1.8; max-width: 46rem; }
#welcomeText[dir="rtl"] { text-align: right; }
#welcomeText[lang="ar"] { font-size: 1.2rem; line-height: 2.05; }

/* ---------- video ---------- */
.vid { width: 100%; max-width: 20rem; display: grid; gap: 10px; margin: 0; }
.vid.wide { max-width: 46rem; }
.vid.wide .vid-frame { aspect-ratio: 16 / 9; }
.vid-frame { position: relative; aspect-ratio: 9 / 16; background: var(--deep); color: var(--on-deep); border-radius: 14px; overflow: hidden; }
.vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-poster { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; text-decoration: none; color: var(--on-deep); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; }
.vid-poster .play { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.vid-note { font-size: 0.82rem; color: var(--muted); }
.vidrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }

/* ---------- register & contact ---------- */
.reg-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.reg-grid .intro p { color: var(--muted); margin-bottom: 14px; }
.reg-grid h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); line-height: 1.1; margin: 10px 0 16px; }
.privacy { font-size: 0.86rem; color: var(--muted); border-inline-start: 2px solid var(--accent); padding-inline-start: 16px; margin-top: 22px; }
.form { display: grid; gap: 16px; margin-top: 14px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.field label .opt { letter-spacing: 0.08em; font-weight: 500; }
.field input, .field select { font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--raise); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; width: 100%; min-width: 0; }
.field input:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.form button.btn { justify-self: start; }
.form button.btn[disabled] { opacity: .6; }
.form-small { font-size: 0.85rem; color: var(--muted); }
.form-small a { color: var(--accent); font-weight: 600; }
.form-note { font-size: 0.92rem; border-inline-start: 2px solid var(--accent); padding-inline-start: 14px; }
.done h3 { font-size: 1.5rem; margin-bottom: 10px; }
.done p { color: var(--muted); }
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); padding-block: 18px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.row .k { display: flex; align-items: center; gap: 8px; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.row .k svg { color: var(--accent); width: 16px; height: 16px; }
.row .v { font-size: 1.05rem; margin-top: 4px; word-break: break-word; }
.pill { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; cursor: pointer; background: transparent; color: var(--accent); border: 1px solid var(--line); border-radius: 10px; padding: 9px 16px; text-decoration: none; }
.pill:hover { border-color: var(--accent); }

/* ---------- reviews ---------- */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 12px; }
.quote { background: var(--raise); border-radius: 14px; padding: 24px 22px; display: grid; gap: 12px; align-content: start; margin: 0; }
.quote[hidden] { display: none; }
.quote .stars { display: flex; gap: 3px; color: var(--accent); }
.quote .stars .off { color: var(--line); }
.quote blockquote { margin: 0; font-family: var(--display); font-size: 1.08rem; line-height: 1.45; white-space: pre-line; overflow-wrap: anywhere; }
.quote figcaption { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.quotes-more { margin-top: 18px; font-family: var(--sans); font-size: 0.875rem; font-weight: 600; cursor: pointer; background: transparent; color: var(--ink); border: 1px solid currentColor; border-radius: 10px; padding: 12px 24px; }

/* ---------- footer ---------- */
.foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.foot .note { font-size: 0.85rem; color: var(--muted); max-width: 46rem; }
.foot .note strong { color: var(--ink); }
.foot .links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 0.85rem; }
.foot .links a { color: var(--accent); font-weight: 600; text-decoration: none; }
.foot .colophon { font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ---------- assistant ---------- */
.eba-open { position: fixed; z-index: 40; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; font-family: var(--sans); font-size: 0.92rem; font-weight: 600; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.24); cursor: pointer; }
.eba-open[hidden], .eba-panel[hidden] { display: none; }
.eba-panel { position: fixed; z-index: 70; inset-inline-end: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); width: min(24rem, calc(100vw - 32px)); height: min(36rem, calc(100vh - 110px)); display: flex; flex-direction: column; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 22px 60px rgba(0,0,0,.3); }
.eba-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 8px 12px 16px; border-bottom: 1px solid var(--line); }
.eba-head h2 { font-size: 1.2rem; line-height: 1.2; }
.eba-head p { margin-top: 4px; font-size: 0.78rem; line-height: 1.4; color: var(--muted); }
.eba-x { width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; flex: 0 0 auto; }
.eba-log { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.eba-msg { max-width: 88%; padding: 10px 13px; font-size: 0.95rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; border-radius: 12px; }
.eba-msg.bot { align-self: flex-start; background: var(--raise); }
.eba-msg.me { align-self: flex-end; background: var(--deep); color: var(--on-deep); }
.eba-msg.note { align-self: stretch; max-width: none; background: none; border-radius: 0; border-inline-start: 2px solid var(--accent); padding: 2px 0 2px 12px; font-size: 0.9rem; }
.eba-msg.wait { color: var(--muted); }
.eba-msg a { color: var(--accent); }
.eba-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eba-chips button { font-family: var(--sans); font-size: 0.86rem; min-height: 40px; padding: 8px 12px; background: none; color: var(--ink); border: 1px solid var(--line); border-radius: 10px; cursor: pointer; text-align: start; }
.eba-form { display: flex; gap: 8px; padding: 12px 16px 8px; border-top: 1px solid var(--line); }
.eba-form input { flex: 1; min-width: 0; min-height: 46px; padding: 0 12px; font-family: var(--sans); font-size: 1rem; background: var(--bg); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; }
.eba-form button { width: 46px; min-height: 46px; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); border: 0; border-radius: 10px; cursor: pointer; }
.eba-form button:disabled { opacity: .5; }
html[dir="rtl"] .eba-form button svg { transform: scaleX(-1); }
.eba-small { padding: 0 16px calc(12px + env(safe-area-inset-bottom, 0px)); font-size: 0.72rem; line-height: 1.45; color: var(--muted); }

/* ---------- tablet and phone ---------- */
@media (max-width: 1100px) {
  main { padding: 30px 32px 60px; }
  .g3 { grid-template-columns: 1fr 1fr; }
  .g3 > :last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .shell { display: block; }
  .side { display: none; }
  body { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
  .mtop { display: flex; position: sticky; top: 0; z-index: 30; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: color-mix(in srgb, var(--bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; }
  .mtop .brand { margin: 0; padding: 0; color: var(--ink); gap: 10px; }
  .mtop .brand .mk { width: 36px; height: 36px; border-radius: 8px; }
  .mtop .brand b { font-size: 1.05rem; }
  .mtop .brand small { display: none; }
  .mtop .r { display: flex; gap: 8px; align-items: center; position: relative; }
  .mtop .lg, .mtop .lb { font-family: var(--sans); font-size: 0.82rem; font-weight: 600; border: 1px solid var(--ink); color: var(--ink); background: none; padding: 0 13px; min-height: 38px; border-radius: 10px; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
  .mtop .lb { border-color: var(--line); }
  .mtop .lb svg { width: 16px; height: 16px; }
  .langmenu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: var(--deep); border: 1px solid #2C3135; border-radius: 12px; padding: 6px; display: grid; min-width: 150px; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
  .langmenu[hidden] { display: none; }
  .langmenu button { color: #CFC9BE; text-align: start; padding: 10px 12px; border-radius: 8px; }
  .langmenu button[aria-pressed="true"] { color: #fff; background: var(--deep-2); }
  .tabs { display: flex; position: fixed; z-index: 35; bottom: 0; left: 0; right: 0; justify-content: space-around; padding: 8px 6px calc(8px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); }
  .tabs a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 0.66rem; font-weight: 600; color: var(--muted); text-decoration: none; padding: 4px 0; min-height: 48px; }
  .tabs a svg { width: 24px; height: 24px; }
  .tabs a[aria-current="page"] { color: var(--ink); }
  .tabs a[aria-current="page"] svg { color: var(--accent); }
  .eba-open { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 14px; min-height: 44px; padding: 0 15px; }
  main { padding: 8px 16px 30px; }
  .head { display: block; margin-bottom: 18px; }
  .head h1 { font-size: 2.15rem; }
  .head .lede { font-size: 0.98rem; }
  .head .acts { margin-top: 18px; }
  .g2, .g3 { display: block; margin-top: 0; }
  .tile { padding: 18px; border-radius: 16px; margin-bottom: 12px; }
  .next { min-height: 270px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin: 0 0 12px; }
  .stat { padding: 18px; border: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .stat:nth-child(even) { border-inline-start: 1px solid rgba(255,255,255,.08); }
  .stat .n { font-size: 2rem; }
  .block { padding: 22px 18px; border-radius: 16px; margin-bottom: 12px; }
  .split, .reg-grid, .vidrow { grid-template-columns: 1fr; gap: 22px; }
  .split.flip figure { order: -1; }
  .pledges > div { grid-template-columns: 1fr; gap: 6px; }
  .events li { grid-template-columns: 4.4rem minmax(0, 1fr); gap: 14px; padding: 16px; }
  .ev-date .d { font-size: 1.8rem; }
  .subnav { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 18px; padding: 0 16px; scrollbar-width: none; }
  .subnav a { white-space: nowrap; }
  .vid { justify-self: center; }
  .foot { margin-top: 16px; }
}

/* ---------- other scripts ---------- */
html[lang="zh-Hans"] { --display: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif; --sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3 { letter-spacing: 0; line-height: 1.3; font-weight: 600; word-break: keep-all; overflow-wrap: anywhere; }
html[lang="ru"] { --display: Georgia, "Times New Roman", serif; --sans: "Helvetica Neue", Helvetica, Arial, sans-serif; }
html[lang="ar"] { --display: system-ui, -apple-system, "Geeza Pro", "Segoe UI", Tahoma, sans-serif; --sans: system-ui, -apple-system, "Geeza Pro", "Segoe UI", Tahoma, sans-serif; }
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; font-weight: 600; }
html[dir="rtl"] #emailText, html[dir="rtl"] #igHandle { direction: ltr; text-align: right; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ---------- photographs ---------- */
.banner { margin: 0 0 18px; border-radius: var(--r); overflow: hidden; aspect-ratio: 21 / 8; background: var(--raise); }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.ev-photo { margin-top: 10px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7; max-width: 520px; }
.ev-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .banner { aspect-ratio: 16 / 9; border-radius: 16px; margin-bottom: 12px; } .ev-photo { aspect-ratio: 16 / 9; } }

/* ---------- neighbours in business ---------- */
.bizgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 18px; }
.biz { display: grid; gap: 8px; align-content: start; }
.biz h3 { font-size: 1.45rem; line-height: 1.15; }
.biz .offer { background: var(--gold-bg); border-radius: 10px; padding: 10px 12px; font-size: 0.9rem; }
.biz .by { font-size: 0.8rem; color: var(--muted); }
.biz .ct { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 0.88rem; }
.biz .ct a { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
@media (max-width: 900px) { .bizgrid { display: block; } .bizgrid .tile { margin-bottom: 12px; } }

/* ---------- home, November 2026 revision ---------- */
.hero-home { position: relative; overflow: hidden; background: var(--green); color: var(--on-green); border-radius: var(--r); padding: 40px 44px 36px; margin-bottom: 8px; }
.hero-home::after { content: ""; position: absolute; right: -90px; top: -90px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(201,165,92,.32), rgba(201,165,92,0) 70%); pointer-events: none; }
.hero-home > * { position: relative; z-index: 1; }
.lockup { display: flex; align-items: center; gap: 16px; margin-bottom: 30px; }
.lockup .mk { width: 72px; height: 72px; border-radius: 14px; overflow: hidden; flex: 0 0 auto; box-shadow: 0 8px 22px rgba(0,0,0,.25); }
.lockup .mk svg { width: 100%; height: 100%; display: block; }
.lockup b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.7rem; line-height: 1.05; color: #fff; }
.lockup small { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-2); margin-top: 6px; }
.hero-home .label { color: var(--accent-2); }
.hero-home h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); line-height: 1.04; color: #fff; margin: 10px 0 14px; max-width: 16ch; }
.hero-home .lede { color: #D5DACF; font-size: 1.02rem; max-width: 40rem; }
.hero-home .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.hero-home .small { font-size: 0.82rem; color: #AEB7A9; margin-top: 12px; }
.sec-row { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 30px 0 14px; }
.sec-row h2 { font-size: 1.6rem; line-height: 1.15; }
.g2.eq { align-items: stretch; }
.g2.eq > .tile, .g2.eq > .stats { margin: 0; }
.acts3 { margin-top: 0; }
.acts3 .act { margin: 0; padding: 20px; background: var(--surface); }
.stats.stack { grid-template-columns: 1fr 1fr; margin: 0; }
.stats.stack .stat { border: 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; justify-content: center; }
.stats.stack .stat:nth-child(-n+2) { border-top: 0; }
.stats.stack .stat:nth-child(even) { border-inline-start: 1px solid rgba(255,255,255,.08); }
.vidtile { display: flex; align-items: center; justify-content: center; }
.vidtile .vid { width: 100%; }
@media (max-width: 1100px) { .acts3 { grid-template-columns: 1fr; } .acts3 > :last-child { grid-column: auto; } }
@media (max-width: 900px) {
  .hero-home { padding: 26px 22px 24px; border-radius: 20px; margin-top: 4px; }
  .lockup { gap: 13px; margin-bottom: 22px; }
  .lockup .mk { width: 60px; height: 60px; border-radius: 12px; }
  .lockup b { font-size: 1.4rem; }
  .lockup small { font-size: 0.64rem; letter-spacing: 0.16em; }
  .hero-home h1 { font-size: 2.2rem; }
  .hero-home .lede { font-size: 0.97rem; }
  .hero-home .acts .btn { flex: 1 1 auto; }
  .sec-row { margin: 24px 2px 10px; }
  .sec-row h2 { font-size: 1.35rem; }
  .acts3 .act { margin-bottom: 10px; }
  .g2.eq > .tile { margin-bottom: 12px; }
  /* top bar: bigger mark, full name */
  .mtop .brand .mk { width: 42px; height: 42px; }
  .mtop .brand small { display: block; font-size: 0.55rem; letter-spacing: 0.14em; margin-top: 3px; color: var(--accent); }
  .mtop .brand b { font-size: 1.02rem; }
}
@media (max-width: 380px) { .mtop .brand small { display: none; } }
/* on the home page the green panel carries the name, so the phone's top bar keeps only language and log in */

.sec-row { flex-wrap: wrap; }
@media (max-width: 900px) { .sec-row .arrow-link { font-size: 0.82rem; } }

/* phone top bar: the full name and a bigger mark on every page */
@media (max-width: 900px) {
  .mtop { padding: 12px 16px 10px; }
  .mtop .brand .mk { width: 50px; height: 50px; border-radius: 11px; }
  .mtop .brand b { font-size: 1.12rem; }
  .mtop .brand small { display: block; font-size: 0.58rem; letter-spacing: 0.14em; margin-top: 4px; color: var(--accent); }
  .hero-home { padding-top: 28px; }
}
@media (max-width: 380px) { .mtop .brand .mk { width: 42px; height: 42px; } .mtop .brand b { font-size: 1rem; } .mtop .brand small { display: block; font-size: 0.5rem; } }
@media (max-width: 900px) {
  .mtop .brand b, .mtop .lg { white-space: nowrap; }
  .mtop .lb { width: 40px; padding: 0; justify-content: center; }
  .mtop .lb b { display: none; }
  .mtop .lb svg { width: 19px; height: 19px; }
  .mtop .lg { padding: 0 14px; }
}
@media (max-width: 370px) { .mtop .brand small { letter-spacing: 0.08em; } }

@media (max-width: 900px) { .next { background-image: url(boardwalk-m.jpg); } }

/* ---------- collaborate and privacy ---------- */
.asks { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.asks li { border-bottom: 1px solid var(--line); padding-block: 13px; font-size: 0.96rem; }
.fine { color: var(--muted); font-size: 0.9rem; margin-top: 18px; }
#propose .btn-row { margin-top: 22px; }
.doc { max-width: 52rem; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.08; margin: 10px 0 14px; }
.doc .lede { color: var(--muted); font-size: 1.04rem; }
.doc .updated { font-size: 0.82rem; color: var(--muted); margin: 10px 0 8px; }
.doc h2 { font-size: 1.45rem; margin: 30px 0 10px; }
.doc h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 18px 0 6px; }
.doc p, .doc li { color: #3d3a35; font-size: 0.97rem; }
.doc p { margin-bottom: 10px; }
.doc ul { padding-left: 20px; margin: 0 0 12px; }
.doc li { margin-bottom: 6px; }
.doc a { color: var(--accent); }

/* ---------- review fixes, November 2026 ---------- */
/* touch targets at least 44px */
.pill { min-height: 44px; display: inline-flex; align-items: center; }
.subnav a { min-height: 44px; display: inline-flex; align-items: center; }
.arrow-link { min-height: 44px; }
.foot .links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 900px) {
  .mtop .lg, .mtop .lb { min-height: 44px; }
  .mtop .lb { width: auto; min-width: 44px; padding: 0 12px; gap: 5px; }
  .mtop .lb b { display: inline; font-size: 0.8rem; }
  .mtop .lb svg { display: none; }
  /* the Ask button tucks away while you scroll down, and the last content clears it */
  main { padding-bottom: 84px; }
  .eba-open { transition: transform .25s ease, opacity .25s ease; }
}
.eba-open.tuck { transform: translateY(140%); opacity: 0; pointer-events: none; }
/* video rows: a proper heading, and the portrait video kept to a sensible width */
.vidrow h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.15; margin-bottom: 10px; }
.vidrow.short { grid-template-columns: minmax(0, 1fr) 300px; }
.vidrow.short .vid { max-width: 300px; }
@media (max-width: 900px) { .vidrow.short { grid-template-columns: 1fr; } .vidrow.short .vid { margin: 0 auto; } }
/* photos show a quiet placeholder while they load */
figure img, .split img, .banner img, .ev-photo img { background: var(--raise); }
/* smoother movement */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
a, .btn, .pill, .tile, .subnav a { -webkit-tap-highlight-color: transparent; }
.btn, .pill, .subnav a, .tabs a { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .1s ease; }
.btn:active, .pill:active, .tabs a:active { transform: scale(.97); }
a.tile.next { transition: transform .2s ease; }
a.tile.next:active { transform: scale(.99); }

/* ---------- about: process folded away ---------- */
.morebox { margin-top: 22px; border-top: 1px solid var(--line); }
.morebox > summary { list-style: none; cursor: pointer; display: grid; gap: 4px; padding: 18px 40px 18px 0; position: relative; min-height: 44px; }
.morebox > summary::-webkit-details-marker { display: none; }
.morebox > summary::after { content: "+"; position: absolute; inset-inline-end: 4px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--accent); }
.morebox[open] > summary::after { content: "\2013"; }
.morebox > summary b { font-family: var(--display); font-weight: 500; font-size: 1.3rem; line-height: 1.25; }
.morebox > p { color: var(--muted); margin-bottom: 4px; }
.morebox ol.steps { margin-top: 14px; }
#commitments .faq summary { font-size: 1.1rem; }
#about .split { grid-template-columns: 1fr; max-width: 46rem; }
.swipe-hint { display: none; }
/* phones: card groups slide sideways instead of making the page long */
@media (max-width: 900px) {
  #life .cards, #work .cards, #why .cards {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    margin: 0 -18px; padding: 2px 18px 10px; scroll-padding-inline: 18px; scrollbar-width: none; overscroll-behavior-x: contain;
  }
  #life .cards::-webkit-scrollbar, #work .cards::-webkit-scrollbar, #why .cards::-webkit-scrollbar { display: none; }
  #life .card, #work .card, #why .card { flex: 0 0 82%; scroll-snap-align: start; }
  .swipe-hint { display: block; font-size: 0.78rem; color: var(--muted); margin: 2px 0 10px; }
}

.biz .bizphoto { width: calc(100% + 48px); margin: -24px -24px 6px; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r) var(--r) 0 0; background: var(--raise); max-width: none; }
@media (max-width: 900px) { .biz .bizphoto { width: calc(100% + 36px); margin: -18px -18px 6px; border-radius: 16px 16px 0 0; } }
/* R1 logo: a true square, as on the letterhead */
.brand .mk, .mtop .brand .mk, .lockup .mk { border-radius: 0 !important; }

/* back button in the phone top bar (pages other than Home) */
.goback { display: none; }
@media (max-width: 900px) {
  .mtop .goback { display: inline-flex; align-items: center; justify-content: center; width: 40px; min-height: 44px; margin-left: -8px; color: var(--ink); flex: 0 0 auto; }
  .mtop .goback svg { color: var(--accent); }
  .mtop .brand { min-width: 0; }
}
@media (max-width: 380px) { .mtop .brand b { font-size: 0.95rem; } }
@media (max-width: 900px) {
  .mtop .goback ~ .brand { gap: 9px; }
  .mtop .goback ~ .brand .mk { width: 40px; height: 40px; }
  .mtop .goback ~ .brand b { font-size: 0.98rem; }
  .mtop .goback ~ .brand small { font-size: 0.5rem; letter-spacing: 0.12em; }
  .mtop .brand > span:last-child { min-width: 0; overflow: hidden; }
  .mtop .r { flex: 0 0 auto; gap: 6px; }
  .mtop .lg { padding: 0 12px; }
}
.invite-hello { background: var(--green); color: var(--on-green); border-radius: var(--r); padding: 24px 26px; margin-bottom: 14px; }
.invite-hello .label { color: var(--accent-2); }
.invite-hello h2 { color: #fff; font-size: 1.8rem; margin: 6px 0 8px; font-weight: 400; }
.invite-hello p:last-child { color: #D5DACF; }

/* ---------- review fixes, November 2026 ---------- */
/* Ask panel: full screen on phones, so the keyboard and answers have room. */
@media (max-width: 600px) {
  .eba-panel { inset: 0; width: auto; height: auto; max-height: none; border-radius: 0; border: 0; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
}
main { padding-bottom: 96px; }
/* Tap targets of at least 44px. */
@media (max-width: 860px) { .mtop .goback { width: 44px; } }
.card a.more { display: inline-flex; align-items: center; min-height: 44px; }
/* The small line under the name stays legible on inner pages. */
@media (max-width: 860px) { .mtop .goback ~ .brand small { font-size: 0.56rem; letter-spacing: 0.1em; } }
@media (max-width: 380px) { .mtop .brand small { font-size: 0.54rem; } }
/* Inner pages on phones: the back arrow needs room, so the language button becomes a globe and the name always fits. */
@media (max-width: 860px) {
  .mtop .goback ~ .r .lb { width: 44px; min-width: 44px; padding: 0; justify-content: center; }
  .mtop .goback ~ .r .lb b { display: none; }
  .mtop .goback ~ .r .lb svg { display: block; width: 19px; height: 19px; }
  .mtop .goback ~ .brand b { font-size: 0.95rem; letter-spacing: 0; }
}
@media (max-width: 370px) { .mtop .goback ~ .brand .mk { width: 34px; height: 34px; } .mtop .goback ~ .brand b { font-size: 0.88rem; } }
/* event posters are shown whole, never cropped */
.ev-photo.poster { aspect-ratio: auto; max-width: 340px; border-radius: 14px; }
.ev-photo.poster img { height: auto; object-fit: contain; }
@media (max-width: 900px) { .ev-photo.poster { aspect-ratio: auto; max-width: 340px; } }

/* ---------- translucent gold pills (November 2026) ---------- */
:root { --gl-bg: rgba(122,92,38,.10); --gl-bd: rgba(122,92,38,.28); --gl-tx: #5C4419; --gl-on-bg: rgba(122,92,38,.24); --gl-on-bd: rgba(122,92,38,.55); }
.btn, .eba-open, .eba-form button { border-radius: 999px !important; }
.btn-line, .subnav a, .langs button, .pill, .quotes-more, .eba-chips button, .mtop .lg, .mtop .lb {
  border-radius: 999px !important; background: var(--gl-bg) !important; border: 1px solid var(--gl-bd) !important; color: var(--gl-tx) !important;
  -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }
.subnav a[aria-current], .subnav a.on, .langs button[aria-pressed="true"], .pill[aria-pressed="true"], .pill.on { background: var(--gl-on-bg) !important; border-color: var(--gl-on-bd) !important; color: var(--ink) !important; }
.chip { border-radius: 999px !important; }

/* buttons on dark photo/green surfaces stay solid and readable */
.btn-light { background: #FFFDF9 !important; color: #16181B !important; border: 1px solid rgba(255,253,249,.9) !important; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.btn-light:hover { background: #F2E2BF !important; }

.ev-photo.feast { aspect-ratio: 4 / 3; max-width: 520px; }
.next.arabian { background-image: url(arabian-platter.jpg); background-position: center 55%; }
@media (max-width: 900px) { .next.arabian { background-image: url(arabian-platter-m.jpg); } }
.fx { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.fx li { font-size: 0.93rem; color: var(--ink-2, #4a4740); }
.fx li b { display: inline-block; min-width: 3.2em; font-weight: 600; color: var(--accent, #7A5C26); font-variant-numeric: tabular-nums; }
.events .fx li, .events .fx li:last-child { display: block; background: none; border-radius: 0; padding: 0; margin: 0; gap: 0; }
/* Committee page */
.cm-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; align-items: start; }
.cm-card { background: var(--surface); border-radius: var(--r); padding: 22px; min-width: 0; display: flex; flex-direction: column; }
.cm-top { display: flex; gap: 14px; align-items: center; }
.cm-av { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; background: var(--deep); color: var(--accent-2); display: grid; place-items: center; font-family: var(--serif, 'Bodoni Moda', serif); font-size: 1.3rem; }
.cm-card h3 { font-family: var(--serif, 'Bodoni Moda', serif); font-weight: 400; font-size: 1.35rem; line-height: 1.2; margin: 2px 0 0; }
.cm-desc { color: var(--muted); font-size: 0.92rem; margin: 12px 0 14px; }
.cm-card.vac { border: 1.5px dashed var(--line); background: transparent; }
.cm-card.vac h3 { color: var(--muted); }
.cm-msg { margin-top: auto; }
.cm-msg > summary { list-style: none; align-self: flex-start; }
.cm-msg > summary::-webkit-details-marker { display: none; }
.cm-msg[open] > summary { background: var(--raise); color: var(--ink); }
.cm-form { margin-top: 14px; display: grid; gap: 10px; }
.cm-form .field { display: grid; gap: 4px; }
.cm-form label { font-size: 0.82rem; font-weight: 600; }
.cm-form input, .cm-form select, .cm-form textarea { font: inherit; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; box-sizing: border-box; }
.cm-form .opt { font-weight: 400; color: var(--muted); }
.cm-note { font-size: 0.8rem; color: var(--muted); margin: 0; }
.cm-sent { background: #E7F0E3; color: #2F5A2A; border-radius: 12px; padding: 12px 16px; margin-bottom: 14px; font-weight: 600; }
.cm-vol { margin-bottom: 18px; }
@media (max-width: 900px) { .cm-grid { grid-template-columns: 1fr; } }
