/* Ranahan HOA — public site styles.
   Brand colors come from the settings as --p (main) and --a (accent);
   everything else is derived here so a clone only changes two colors. */

:root {
	--ink: #14211e;
	--ink-2: #46564f;
	--muted: #5d6c66;
	--bg: #f2f5f3;
	--paper: #ffffff;
	--line: #d9e2dd;
	--line-2: #e8eeea;
	--p-ink: color-mix(in oklab, var(--p) 78%, black);
	--p-soft: color-mix(in oklab, var(--p) 9%, white);
	--p-wash: color-mix(in oklab, var(--p) 4%, white);
	--a-soft: color-mix(in oklab, var(--a) 22%, white);
	--ok: #1f7a4d;
	--warn: #a86a00;
	--bad: #b23a2b;
	--font-body: 'Atkinson Hyperlegible', ui-sans-serif, system-ui, sans-serif;
	--r-lg: 22px;
	--r: 14px;
	--r-sm: 9px;
	--shadow: 0 1px 2px rgba(20, 33, 30, .06), 0 8px 24px -12px rgba(20, 33, 30, .18);
	--wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--p-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; font-weight: 700; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 750; letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; border-radius: 4px; }
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--text { width: min(760px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--paper); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
[hidden] { display: none !important; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .72em 1.25em; border-radius: 999px; border: 2px solid var(--p); background: var(--p); color: var(--on-p); font: 700 1rem/1.1 var(--font-body); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { background: var(--p-ink); border-color: var(--p-ink); color: #fff; text-decoration: none; }
.btn--sm { padding: .5em .95em; font-size: .93rem; }
.btn--wide { width: 100%; }
.btn--accent { background: var(--a); border-color: var(--a); color: var(--on-a); }
.btn--accent:hover { background: color-mix(in oklab, var(--a) 85%, black); border-color: color-mix(in oklab, var(--a) 85%, black); color: var(--on-a); }
.btn--ghost { background: transparent; color: var(--p-ink); border-color: color-mix(in oklab, var(--p) 35%, white); }
.btn--ghost:hover { background: var(--p-soft); color: var(--p-ink); border-color: var(--p); }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .26); border-color: #fff; color: #fff; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--p-ink); font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.linkbtn--danger { color: var(--bad); }
form.inline { display: inline; margin: 0; }

/* ---------- Strips above the header ---------- */
.demostrip { background: var(--ink); color: #dfe7e3; font-size: .88rem; padding: .45em 0; }
.demostrip a { color: var(--a); }
.alertbar { padding: .65em 0; font-weight: 700; }
.alertbar .wrap { display: flex; gap: .6em; align-items: flex-start; }
.alertbar p { margin: 0; }
.alertbar a { color: inherit; }
.alertbar--info { background: var(--p-soft); color: var(--p-ink); }
.alertbar--warning { background: var(--a-soft); color: #3d2c00; }
.alertbar--urgent { background: var(--bad); color: #fff; }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-head.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .4); }
.site-head__in { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { text-decoration: none; }
.mark { flex: none; }
.mark--img { width: auto; max-width: 160px; object-fit: contain; }
.brand__t { display: grid; line-height: 1.15; }
.brand__t b { font: 700 1.22rem/1.1 var(--font-head); letter-spacing: -.01em; }
.brand__t small { color: var(--muted); font-size: .84rem; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav > ul { display: flex; list-style: none; margin: 0; padding: 0; gap: 2px; }
.site-nav li { position: relative; }
.site-nav > ul > li > a { display: block; white-space: nowrap; padding: .55em .75em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: .98rem; }
.site-nav > ul > li > a:hover { background: var(--p-soft); }
.site-nav a[aria-current] { color: var(--p-ink); background: var(--p-soft); }
.sub-toggle { display: none; }
.sub { position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; list-style: none; margin: 0; padding: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(4px); transition: .15s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .5em .75em; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; }
.sub a:hover { background: var(--p-soft); }
.site-nav__acts { display: flex; gap: 8px; }
.nav-toggle { display: none; align-items: center; gap: 6px; border: 2px solid var(--line); background: var(--paper); border-radius: 999px; padding: .45em .9em; font: 700 .95rem var(--font-body); color: var(--ink); cursor: pointer; }

@media (max-width: 1140px) {
	.nav-toggle { display: inline-flex; }
	.site-nav { position: absolute; top: 100%; right: 0; height: calc(100vh - 76px); height: calc(100dvh - 76px); width: min(380px, 100%); flex-direction: column; align-items: stretch; gap: 16px; background: var(--paper); padding: 16px; border-left: 1px solid var(--line); overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.nav-open .site-nav { transform: none; visibility: visible; box-shadow: -20px 0 40px -20px rgba(0, 0, 0, .3); }
	.site-nav > ul { flex-direction: column; }
	.site-nav > ul > li > a { padding: .8em 1em; font-size: 1.05rem; }
	.has-sub { display: grid; grid-template-columns: 1fr auto; }
	.sub-toggle { display: inline-grid; place-items: center; width: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); }
	.has-sub.is-open .i--chev { transform: rotate(180deg); }
	.sub { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 6px 12px; }
	.has-sub.is-open .sub { display: block; }
	.site-nav__acts { flex-direction: column; }
	.site-nav__acts .btn { width: 100%; padding-block: .8em; }
}
@media (max-width: 480px) { .brand__t small { display: none; } .brand__t b { font-size: 1.08rem; } }

/* ---------- Hero with the noticeboard card ---------- */
.hero { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--p-ink); }
.hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.hero__bg img.is-active { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, color-mix(in oklab, var(--p-ink) 88%, transparent) 0%, color-mix(in oklab, var(--p-ink) 55%, transparent) 46%, rgba(0, 0, 0, .05) 80%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, 400px); gap: 48px; align-items: end; padding: clamp(64px, 11vw, 140px) 0 clamp(56px, 7vw, 96px); }
.hero__copy h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; max-width: 12ch; margin-bottom: .35em; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero__copy p { font-size: clamp(1.08rem, 1.6vw, 1.28rem); max-width: 34em; color: rgba(255, 255, 255, .92); }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; gap: 8px; align-items: center; }
.dot { width: 34px; height: 4px; border-radius: 4px; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.dot.is-active { background: var(--a); }
.hero__pause { margin-left: 8px; background: none; border: 0; color: rgba(255, 255, 255, .8); font: 700 .8rem var(--font-body); cursor: pointer; text-decoration: underline; }

/* The noticeboard: a pinned card — the one deliberately playful element. */
.board-card { position: relative; background: #fffdf6; color: var(--ink); border-radius: 6px 6px 18px 18px; padding: 30px 24px 20px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), 0 2px 0 rgba(0, 0, 0, .04); transform: rotate(-1.2deg); border-top: 8px solid var(--a); }
.board-card__pin { position: absolute; top: -18px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 18%, var(--bad) 22% 100%); box-shadow: 0 6px 8px -3px rgba(0, 0, 0, .45); }
.board-card h2 { font-size: 1.35rem; margin-bottom: .7em; }
.bc-events { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.bc-events li { display: flex; gap: 12px; align-items: center; }
.bc-events a { color: var(--ink); text-decoration: none; display: grid; line-height: 1.3; }
.bc-events a:hover b { text-decoration: underline; }
.bc-events small { color: var(--muted); font-size: .88rem; }
.bc-facts { margin: 0 0 14px; padding: 12px 0 0; border-top: 2px dashed var(--line); display: grid; gap: 6px; }
.bc-facts div { display: flex; justify-content: space-between; gap: 12px; font-size: .94rem; }
.bc-facts dt { color: var(--muted); }
.bc-facts dd { margin: 0; font-weight: 700; text-align: right; }
.bc-more { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .95rem; }

.datechip { flex: none; display: grid; place-items: center; width: 54px; height: 56px; border-radius: 12px; background: var(--p-soft); color: var(--p-ink); line-height: 1; border: 1px solid color-mix(in oklab, var(--p) 18%, white); }
.datechip b { font-size: .72rem; letter-spacing: .02em; margin-top: 6px; }
.datechip span { font: 750 1.45rem/1 var(--font-head); margin-bottom: 6px; }
.datechip--meeting { background: color-mix(in oklab, var(--p) 14%, white); }
.datechip--social { background: var(--a-soft); color: #4a3500; border-color: color-mix(in oklab, var(--a) 40%, white); }
.datechip--amenity { background: #e0f0fb; color: #0b4f7a; border-color: #c2e0f4; }
.datechip--maintenance { background: #eceeee; color: #3c4744; border-color: #dadfdd; }
.datechip--deadline { background: #fbe7e4; color: #8a2a1f; border-color: #f2cdc7; }

@media (max-width: 900px) {
	.hero__in { grid-template-columns: 1fr; gap: 36px; padding-bottom: 72px; }
	.board-card { transform: none; max-width: 520px; }
	.hero::before { background: linear-gradient(180deg, color-mix(in oklab, var(--p-ink) 70%, transparent), color-mix(in oklab, var(--p-ink) 92%, transparent)); }
}

/* ---------- Quick tasks ---------- */
.tasks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: -34px; position: relative; z-index: 2; }
.task { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color .15s, transform .15s; }
.task:hover { border-color: var(--p); transform: translateY(-2px); text-decoration: none; }
.task .i { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--p-soft); color: var(--p-ink); }
.task b { font-size: 1.05rem; }
.task span { color: var(--muted); font-size: .92rem; line-height: 1.4; }
@media (max-width: 900px) { .tasks { margin-top: 20px; } }

/* ---------- Sections ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { margin: 0; }
.sec-head a { font-weight: 700; white-space: nowrap; }
.split { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 48px; padding: 72px 0 40px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; padding-top: 48px; } }

.ncard { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.ncard__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--p-soft); }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; }
.ncard__b { padding: 18px 20px 20px; }
.ncard h3 { margin: .2em 0 .45em; font-size: 1.15rem; }
.ncard h3 a { color: var(--ink); text-decoration: none; }
.ncard h3 a:hover { text-decoration: underline; }
.ncard p:last-child { margin: 0; color: var(--ink-2); }
.ncard--big { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 18px; }
.ncard--big .ncard__img { aspect-ratio: auto; min-height: 260px; }
.ncard--big .ncard__b { padding: 26px 28px; align-self: center; }
.ncard--big h3 { font-size: 1.55rem; }
.ncard--big.ncard--noimg { grid-template-columns: 1fr; border-left: 6px solid var(--a); }
.ncard--noimg:not(.ncard--big) { border-top: 4px solid var(--p-soft); }
.meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: .88rem; margin: 0; }
.ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.ngrid--3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 700px) { .ncard--big { grid-template-columns: 1fr; } .ncard--big .ncard__img { min-height: 0; aspect-ratio: 16 / 9; } }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: .12em .6em; border-radius: 999px; font-size: .78rem; font-weight: 700; background: #eceff0; color: var(--ink-2); white-space: nowrap; }
.tag .i { width: .95em; height: .95em; }
.tag--res { background: var(--p-soft); color: var(--p-ink); }
.tag--board { background: #fbe7e4; color: #8a2a1f; }
.tag--pin { background: var(--a-soft); color: #4a3500; }

.evlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.evlist li { display: flex; gap: 14px; align-items: center; }
.evlist a { display: grid; color: var(--ink); text-decoration: none; line-height: 1.3; }
.evlist small { color: var(--muted); }
.evrow { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; }
.evrow > div { flex: 1; min-width: 0; }
.evrow h3 { font: 700 1.03rem/1.3 var(--font-body); margin: 0 0 2px; }
.evrow h3 a { color: var(--ink); text-decoration: none; }
.evrow h3 a:hover { text-decoration: underline; }
.evrow p { margin: 0; color: var(--muted); font-size: .92rem; }
.subscribe { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; }

/* Amenities */
.amen { padding: 64px 0; background: var(--paper); border-block: 1px solid var(--line); margin-top: 40px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.acard { border-radius: var(--r); overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.acard img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.acard__b { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.acard__b h3 { margin-bottom: .3em; }
.acard__b p { color: var(--ink-2); font-size: .97rem; }
.acard__h { display: flex; gap: 6px; align-items: center; color: var(--p-ink) !important; font-weight: 700; font-size: .9rem !important; margin-bottom: .5em; }
.acard__r { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }

/* About band */
.about-band { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 80px 0; }
.about-band__img img { border-radius: var(--r-lg); aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.about-band__txt p { font-size: 1.1rem; color: var(--ink-2); }
.meetcard { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--p); border-radius: var(--r); padding: 18px; margin: 22px 0; }
.meetcard div { display: grid; gap: 2px; }
.meetcard span { color: var(--muted); font-size: .95rem; }
.meetcard a { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; margin-top: 6px; }
@media (max-width: 860px) { .about-band { grid-template-columns: 1fr; gap: 28px; padding: 56px 0; } }

.join-band { background: var(--p); color: var(--on-p); padding: 56px 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.08' stroke-width='1.2'%3E%3Cpath d='M0 90c40-30 80-30 120 0s80 30 120 0'/%3E%3Cpath d='M0 60c40-30 80-30 120 0s80 30 120 0'/%3E%3Cpath d='M30 0v120M90 0v120M150 0v120M210 0v120'/%3E%3C/g%3E%3C/svg%3E"); }
.join-band__in { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.join-band h2 { color: inherit; margin-bottom: .3em; }
.join-band p { margin: 0; max-width: 40em; opacity: .9; }
.join-band__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.join-band .btn--glass { color: var(--on-p); border-color: color-mix(in oklab, var(--on-p) 55%, transparent); }

/* ---------- Inner page header ---------- */
.pagehead { background: var(--p); color: var(--on-p); padding: 56px 0 48px; position: relative; isolation: isolate; overflow: hidden; margin-bottom: 48px; }
.pagehead h1 { margin-bottom: .2em; }
.pagehead p { font-size: 1.15rem; margin: 0; max-width: 40em; opacity: .92; }
.pagehead--img { padding: 96px 0 56px; color: #fff; }
.pagehead__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pagehead--img::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in oklab, var(--p-ink) 90%, transparent), color-mix(in oklab, var(--p-ink) 40%, transparent)); }

/* ---------- Content blocks ---------- */
.prose { font-size: 1.08rem; }
.prose h2 { margin-top: 1.5em; }
.prose h3 { margin-top: 1.3em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose img { border-radius: var(--r); }
.prose blockquote { margin: 1.4em 0; padding: .4em 1.2em; border-left: 4px solid var(--a); background: var(--paper); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; }
.panel h2 { font-size: 1.3rem; }
.panel--attn { border-color: color-mix(in oklab, var(--a) 70%, white); background: color-mix(in oklab, var(--a) 7%, white); }
.panel--attn h2 { display: flex; gap: 8px; align-items: center; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; font-weight: 700; }
.crumb { margin-bottom: 12px; font-weight: 700; }
.crumb a { text-decoration: none; }
.linklist { padding-left: 1.2em; font-size: 1.1rem; }
.callout { display: flex; gap: 10px; align-items: flex-start; background: var(--p-wash); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; }
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-sm); margin-bottom: 18px; background: var(--paper); border: 1px solid var(--line); }
.notice .i { margin-top: .15em; color: var(--p); }
.notice ul { margin: .3em 0 0; padding-left: 1.2em; }
.notice--ok { border-color: color-mix(in oklab, var(--ok) 35%, white); background: color-mix(in oklab, var(--ok) 7%, white); }
.notice--ok .i { color: var(--ok); }
.notice--error { border-color: color-mix(in oklab, var(--bad) 40%, white); background: color-mix(in oklab, var(--bad) 6%, white); }
.notice--error .i { color: var(--bad); }

.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr); gap: 48px; }
.gallery-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 56px auto 72px; }
.gallery-strip img { aspect-ratio: 1; object-fit: cover; border-radius: var(--r); width: 100%; }
.gallery-strip img:nth-child(even) { margin-top: 28px; }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .gallery-strip { grid-template-columns: repeat(3, 1fr); } .gallery-strip img:nth-child(n+4) { display: none; } }

.amenity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 36px; align-items: center; margin-bottom: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.amenity:nth-child(even) { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.amenity:nth-child(even) .amenity__img { order: 2; }
.amenity__img img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.amenity__b { padding: 28px 32px 28px 0; }
.amenity:nth-child(even) .amenity__b { padding: 28px 0 28px 32px; }
.amenity details { margin: 0 0 16px; }
.amenity summary, .faq summary { cursor: pointer; font-weight: 700; color: var(--p-ink); }
@media (max-width: 760px) { .amenity, .amenity:nth-child(even) { grid-template-columns: 1fr; } .amenity:nth-child(even) .amenity__img { order: 0; } .amenity__b, .amenity:nth-child(even) .amenity__b { padding: 0 20px 24px; } .amenity__img img { min-height: 0; aspect-ratio: 16 / 9; } }

.board { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.board li { display: flex; gap: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.board h2 { font-size: 1.25rem; margin: 0 0 .2em; }
.board p { margin: 0 0 .4em; color: var(--ink-2); font-size: .97rem; }
.board__t { color: var(--p-ink) !important; font-weight: 700; }
.board__c { font-style: italic; }
.board-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 72px; }
@media (max-width: 760px) { .board-foot { grid-template-columns: 1fr; } }
.avatar { flex: none; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: hsl(var(--h) 45% 88%); color: hsl(var(--h) 45% 26%); font-weight: 700; font-size: .92rem; vertical-align: middle; }
.avatar--lg { width: 64px; height: 64px; font-size: 1.3rem; }

.docs { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; margin-bottom: 72px; align-items: start; }
.docs > .notice { grid-column: 1 / -1; margin: 0; }
.docs__nav { position: sticky; top: 100px; display: grid; gap: 4px; }
.docs__nav a { display: flex; justify-content: space-between; padding: .55em .8em; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 700; }
.docs__nav a:hover { background: var(--p-soft); }
.docs__nav span { color: var(--muted); font-weight: 400; }
.docsec { margin-bottom: 36px; }
.doclist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.doclist a { display: flex; gap: 14px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; color: var(--ink); text-decoration: none; }
.doclist a:hover { border-color: var(--p); }
.doclist__ic { position: relative; flex: none; width: 40px; height: 46px; display: grid; place-items: center; background: var(--p-soft); color: var(--p-ink); border-radius: 6px; }
.doclist__ic em { position: absolute; bottom: -6px; right: -6px; font: 700 .58rem/1 var(--font-body); font-style: normal; background: var(--p); color: var(--on-p); padding: 3px 4px; border-radius: 4px; }
.doclist__t { flex: 1; display: grid; min-width: 0; }
.doclist__t small { color: var(--muted); }
@media (max-width: 860px) { .docs { grid-template-columns: 1fr; gap: 20px; } .docs__nav { position: static; display: flex; flex-wrap: wrap; } .docs__nav a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; gap: 6px; } }

.faq { display: grid; gap: 10px; margin-bottom: 24px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px 18px; }
.faq details[open] { border-color: color-mix(in oklab, var(--p) 40%, white); }
.faq summary { font-size: 1.08rem; color: var(--ink); }
.faq .prose { margin-top: 10px; }
.faq__more { margin-bottom: 72px; }

.welcome { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 40px; margin-bottom: 72px; }
.welcome__side { display: grid; gap: 18px; align-content: start; }
.checklist { padding-left: 1.3em; display: grid; gap: 8px; margin: 0; }
@media (max-width: 860px) { .welcome { grid-template-columns: 1fr; } }

.contact { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 32px; margin-bottom: 72px; }
.contact__side { display: grid; gap: 18px; align-content: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.story__head { padding-top: 40px; }
.story__img { margin: 24px auto 32px; }
.story__img img { width: 100%; border-radius: var(--r-lg); max-height: 560px; object-fit: cover; }
.more-news { padding: 48px 0 72px; }
.pager { margin: 32px 0 72px; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { padding: .4em .85em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.pager .current { background: var(--p); color: var(--on-p); border-color: var(--p); }

/* Calendar */
.cal { margin-bottom: 72px; }
.cal__bar { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cal__nav { display: flex; gap: 10px; align-items: center; }
.cal__nav h2 { margin: 0; min-width: 9ch; text-align: center; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 16px; }
.cal__bar .filters { margin: 0; }
.filters .sep { width: 1px; height: 24px; background: var(--line); margin: 0 6px; }
.pill { padding: .38em .85em; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; }
.pill:hover { border-color: var(--p); }
.pill.is-on { background: var(--p); color: var(--on-p); border-color: var(--p); }
.pill--sub { font-weight: 400; }
.month { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.month__h, .month__g { display: grid; grid-template-columns: repeat(7, 1fr); }
.month__h span { padding: 10px; font-weight: 700; font-size: .85rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.day { min-height: 112px; padding: 6px; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.day:nth-child(7n) { border-right: 0; }
.day--pad { background: var(--p-wash); }
.day__n { font-weight: 700; font-size: .88rem; color: var(--muted); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.day--today .day__n { background: var(--a); color: var(--on-a); }
.cal-ev { display: block; font-size: .8rem; line-height: 1.3; padding: 3px 6px; border-radius: 6px; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border-left: 3px solid; }
.kind--meeting { background: var(--p-soft); color: var(--p-ink); border-color: var(--p); }
.kind--social { background: var(--a-soft); color: #4a3500; border-color: var(--a); }
.kind--amenity { background: #e0f0fb; color: #0b4f7a; border-color: #2b8ac6; }
.kind--maintenance { background: #eceeee; color: #3c4744; border-color: #8a9693; }
.kind--deadline { background: #fbe7e4; color: #8a2a1f; border-color: var(--bad); }
.pill--k.is-on { color: inherit; filter: saturate(1.3); border-width: 2px; border-color: currentColor; }
p.kind, span.kind { display: inline-block; padding: .15em .7em; border-radius: 999px; font-weight: 700; font-size: .85rem; border-left: 0; }
.cal__list { margin-top: 40px; max-width: 760px; }
@media (max-width: 760px) {
	.month__h { display: none; }
	.month__g { grid-template-columns: 1fr; }
	.day { min-height: 0; flex-direction: row; flex-wrap: wrap; border-right: 0; }
	.day--pad, .day:not(.day--has):not(.day--today) { display: none; }
	.cal-ev { white-space: normal; flex: 1 1 100%; font-size: .9rem; }
}

.evpage { margin: 40px auto 72px; }
.evpage__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr); gap: 40px; align-items: start; }
.evpage__img { border-radius: var(--r-lg); margin: 16px 0 24px; width: 100%; }
.evpage__side { position: sticky; top: 100px; display: grid; gap: 16px; }
.evpage__side p { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 860px) { .evpage__grid { grid-template-columns: 1fr; } .evpage__side { position: static; } }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field label, .lbl, legend { font-weight: 700; font-size: .97rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=color]), select, textarea { width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c5d0cb; border-radius: var(--r-sm); padding: .65em .8em; min-height: 46px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 3px color-mix(in oklab, var(--p) 22%, transparent); }
input[type=color] { width: 72px; height: 46px; border: 1.5px solid #c5d0cb; border-radius: var(--r-sm); padding: 4px; background: #fff; }
input[type=file] { font: inherit; font-size: .95rem; }
textarea { resize: vertical; }
.help { color: var(--muted); font-size: .88rem; margin: 0; }
.cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 700px) { .cols, .cols--3, .cols--4 { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: .15em; accent-color: var(--p); flex: none; }
.check small { display: block; color: var(--muted); font-size: .88rem; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.field--search { max-width: 420px; margin-bottom: 18px; }

/* Sign in / join */
.auth { display: grid; grid-template-columns: 1fr minmax(360px, 520px); min-height: calc(100vh - 76px); }
.auth__img img { width: 100%; height: 100%; object-fit: cover; }
.auth__box { padding: clamp(32px, 6vw, 72px) clamp(20px, 5vw, 56px); background: var(--paper); }
.auth__box h1 { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.auth__links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; }
@media (max-width: 860px) { .auth { grid-template-columns: 1fr; min-height: 0; } .auth__img { height: 180px; } }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #c9d4cf; padding: 64px 0 24px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='200' viewBox='0 0 320 200'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.045' stroke-width='1.2'%3E%3Cpath d='M-10 150C60 110 120 170 190 130S300 60 340 90'/%3E%3Cpath d='M-10 40C70 70 130 10 200 40s100 60 130 20'/%3E%3Cpath d='M40 0v200M120 30v140M200 0v200M280 40v150M0 100h320'/%3E%3C/g%3E%3C/svg%3E"); }
.site-foot a { color: #fff; }
.site-foot h2 { font: 700 1rem var(--font-body); color: #fff; margin-bottom: 14px; }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr 1.3fr 1fr 1fr; gap: 36px; }
.brand--foot { color: #fff; margin-bottom: 14px; }
.brand--foot small { color: #a5b3ad; }
.foot-list, .foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-list li { display: flex; gap: 10px; align-items: flex-start; }
.foot-list .i { margin-top: .2em; color: var(--a); }
.foot-links a { text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-emerg { margin-top: 16px; font-size: .95rem; }
.foot-emerg .i { margin-right: 6px; }
.foot-emerg .i { color: var(--a); }
.social { display: flex; gap: 16px; }
.social a { display: inline-flex; gap: 6px; align-items: center; }
.site-foot__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.site-foot__base p { margin: 0; }
.contact__side .foot-list .i { color: var(--p); }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
