/* Cambodian Community Cooperative — public site styles */
:root {
  --blue: #0F52BA;
  --red: #E4222B;
  --gold: #F2B33D;
  --ink: #172038;
  --muted: #566078;
  --cream: #FBF6EE;
  --paper: #FFFFFF;
  --line: #E8E0D3;
  --blue-050: color-mix(in srgb, var(--blue) 9%, white);
  --blue-900: color-mix(in srgb, var(--blue) 62%, #050B1F);
  --radius: 18px;
  --shadow: 0 1px 2px rgba(23, 32, 56, .06), 0 12px 32px -12px rgba(23, 32, 56, .18);
  --font-head: "Fraunces", "Kantumruy Pro", Georgia, serif;
  --font-body: "DM Sans", "Kantumruy Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); overflow-x: hidden; }
.lang-km body { font-family: "Kantumruy Pro", var(--font-body); line-height: 1.9; }
.lang-km h1, .lang-km h2, .lang-km h3 { font-family: "Kantumruy Pro", var(--font-head); line-height: 1.5; letter-spacing: 0; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--blue-900); }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; color: #fff; }
.icon { flex: none; vertical-align: -.18em; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 800px; }
.align-center { text-align: center; }
.align-center .sec-head { margin-inline: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 1rem/1.2 var(--font-body); padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, color .15s; }
.lang-km .btn { font-family: "Kantumruy Pro", var(--font-body); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: #fff; box-shadow: 0 8px 20px -8px var(--red); }
.btn-primary:hover { color: #fff; background: color-mix(in srgb, var(--red) 88%, black); }
.btn-secondary { background: var(--blue); color: #fff; }
.btn-secondary:hover { color: #fff; background: var(--blue-900); }
.btn-outline { border-color: currentColor; color: var(--blue); background: transparent; }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }
.text-link:hover .icon, .card:hover .card-more .icon { transform: translateX(4px); }
.text-link .icon, .card-more .icon { transition: transform .2s; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.site-header.is-stuck { border-color: var(--line); box-shadow: 0 6px 24px -14px rgba(23, 32, 56, .3); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 76px; --wrap: 1320px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 58px; height: auto; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; line-height: 1.15; max-width: 11.5em; }
.lang-km .brand-name { font-family: "Kantumruy Pro", sans-serif; line-height: 1.4; }
.site-nav { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; }
.site-nav > ul > li { position: relative; }
.site-nav > ul > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 11px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .95rem; white-space: nowrap; }
.site-nav > ul > li > a:hover, .site-nav a[aria-current="page"] { color: var(--blue); background: var(--blue-050); }
.site-nav .sub { position: absolute; top: 100%; left: 0; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.site-nav li:hover > .sub, .site-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.site-nav .sub a { display: block; padding: 9px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.site-nav .sub a:hover { background: var(--blue-050); color: var(--blue); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; white-space: nowrap; font-family: "Kantumruy Pro", var(--font-body); }
.lang-switch:hover { border-color: var(--blue); }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; margin: auto; position: relative; transition: .2s; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -6px; } .bars::after { top: 6px; }
[aria-expanded="true"] .bars { background: transparent; }
[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px 20px 22px; flex-direction: column; align-items: stretch; max-height: calc(100vh - 76px); overflow: auto; }
  .site-nav.is-open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav > ul > li > a { padding: 13px 10px; font-size: 1.05rem; }
  .site-nav .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .has-sub > a .icon { display: none; }
  .nav-actions { justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
}

/* Sections */
.blk { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.blk-spacer, .blk-hero { padding: 0; }
.bg-cream { background: var(--cream); }
.bg-blue { background: var(--blue-900); color: #fff; }
.bg-red { background: color-mix(in srgb, var(--red) 90%, black); color: #fff; }
.bg-blue a:not(.btn), .bg-red a:not(.btn) { color: #fff; }
.bg-blue .btn-outline, .bg-red .btn-outline { color: #fff; }
.bg-red .btn-primary { background: #fff; color: var(--red); box-shadow: none; }
.bg-blue .eyebrow, .bg-red .eyebrow { color: var(--gold); }
.eyebrow { font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.align-center .eyebrow, .statement .eyebrow { justify-content: center; }
.lang-km .eyebrow { letter-spacing: 0; font-size: .95rem; }
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-intro { font-size: 1.15rem; color: var(--muted); margin: 0; }
.bg-blue .sec-intro, .bg-red .sec-intro { color: rgba(255, 255, 255, .82); }
.empty { color: var(--muted); background: rgba(23, 32, 56, .04); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; margin: 0; }
.spacer-s { height: 32px; } .spacer-m { height: 64px; } .spacer-l { height: 120px; }
.page-title { background: var(--blue-900); color: #fff; padding: clamp(44px, 6vw, 76px) 0; position: relative; overflow: hidden; }
.page-title::after { content: ""; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .06); }
.page-title h1 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.2rem); position: relative; z-index: 1; }
.draft-note { background: var(--gold); margin: 0; padding: 10px 20px; text-align: center; font-weight: 700; }

/* Prose */
.prose { font-size: 1.08rem; }
.prose > :last-child { margin-bottom: 0; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.5em; }
.prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose ul li::marker { color: var(--red); }
.prose blockquote { margin: 1.2em 0; padding-left: 20px; border-left: 4px solid var(--gold); font-style: italic; }
.align-center .prose { font-size: 1.2rem; color: var(--muted); }

/* Hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px); position: relative; overflow: hidden; }
.hero-inner { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-split .hero-inner { grid-template-columns: 1.08fr .92fr; }
.hero-center .hero-inner { text-align: center; justify-items: center; }
.hero-center .hero-copy { max-width: 820px; }
.hero-center .btn-row, .hero-center .eyebrow { justify-content: center; }
.hero-text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 36em; margin: 0; }
.hero-center .hero-text { margin-inline: auto; }
.hero-art { position: relative; max-width: 480px; justify-self: end; width: 100%; }
.hero-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 200px 200px 28px 28px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.hero-art::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; border-radius: 200px 200px 28px 28px; background: var(--blue); z-index: 0; }
.hero-art::after { content: ""; position: absolute; left: -34px; bottom: 46px; width: 96px; height: 96px; border-radius: 50%; background: var(--red); z-index: 2; box-shadow: 0 0 0 10px var(--cream), 78px 78px 0 -30px var(--gold); }
.bg-white .hero-art::after { box-shadow: 0 0 0 10px #fff, 78px 78px 0 -30px var(--gold); }
.hero-art:has(.hero-svg)::before, .hero-art:has(.hero-svg)::after { display: none; }
.hero-svg { width: 100%; height: auto; }
.hero.has-cover { background-size: cover; background-position: center; color: #fff; }
.hero.has-cover::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 11, 31, .82), rgba(5, 11, 31, .35)); }
.hero.has-cover .hero-inner { position: relative; min-height: 46vh; }
.hero.has-cover .hero-text { color: rgba(255, 255, 255, .88); }
.hero.has-cover .eyebrow { color: var(--gold); }
.hero.has-cover .btn-outline { color: #fff; }
.bg-blue .hero-text, .bg-red .hero-text { color: rgba(255, 255, 255, .85); }

/* Statement */
.statement { margin: 0; text-align: center; }
.statement blockquote { margin: 0; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4rem, 2.8vw, 2.1rem); line-height: 1.4; text-wrap: balance; }
.lang-km .statement blockquote { font-family: "Kantumruy Pro", serif; line-height: 1.8; }
.statement figcaption { margin-top: 18px; color: var(--muted); font-weight: 700; }

/* Image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.side-left .split-media { order: -1; }
.split-copy .btn { margin-top: 24px; }
.split-media img { width: 100%; border-radius: 28px; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: center 22%; box-shadow: var(--shadow); }
.media-ph { aspect-ratio: 4 / 3; border-radius: 28px; background: var(--blue-050); color: var(--blue); display: grid; place-items: center; position: relative; overflow: hidden; }
.bg-cream .media-ph { background: #fff; }
.media-ph::before, .media-ph::after { content: ""; position: absolute; border-radius: 50%; }
.media-ph::before { width: 150px; height: 150px; right: -44px; top: -44px; background: var(--gold); opacity: .9; }
.media-ph::after { width: 96px; height: 96px; left: 26px; bottom: -34px; background: var(--red); }
.media-ph .icon { width: clamp(84px, 12vw, 132px); height: auto; stroke-width: 1.2; position: relative; z-index: 1; }

/* Cards */
.cards { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.cards.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; color: var(--ink); text-decoration: none; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s; }
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; color: var(--ink); }
.card-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--blue-050); color: var(--blue); margin-bottom: 20px; }
.card:nth-child(3n+2) .card-icon { background: color-mix(in srgb, var(--red) 10%, white); color: var(--red); }
.card:nth-child(3n) .card-icon { background: color-mix(in srgb, var(--gold) 24%, white); color: #8A5A00; }
.card p { color: var(--muted); margin: 0; }
.card-more { margin-top: auto; padding-top: 18px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.bg-blue .card, .bg-red .card { border-color: transparent; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.stat { border-top: 2px solid rgba(128, 128, 128, .28); padding-top: 18px; }
.stat-num { font-family: var(--font-head); font-size: clamp(2.6rem, 5vw, 4rem); font-weight: 600; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.bg-blue .stat-num, .bg-red .stat-num { color: var(--gold); }
.stat-label { margin-top: 8px; font-weight: 500; }

/* Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 28px; }
.person-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.person-photo.ph { background: var(--blue-050); color: var(--blue); display: grid; place-items: center; font: 600 3.4rem var(--font-head); }
.person h3 { margin-bottom: 2px; font-size: 1.2rem; }
.person-role { color: var(--red); font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.person-bio { color: var(--muted); font-size: .98rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.gallery figcaption { font-size: .92rem; color: var(--muted); padding: 8px 4px 0; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font: 600 1.15rem var(--font-head); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 0 22px; color: var(--muted); }

/* CTA + newsletter */
.cta, .newsletter { display: grid; grid-template-columns: 1.3fr auto; gap: 32px; align-items: center; }
.newsletter { grid-template-columns: 1fr 1fr; }
.cta h2, .newsletter h2 { margin-bottom: .3em; }
.cta p, .newsletter p { margin: 0; font-size: 1.12rem; opacity: .88; max-width: 38em; }
.cta .btn-row { margin: 0; }
.blk-cta::before { content: ""; position: absolute; left: -90px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .06); pointer-events: none; }
.blk-cta { overflow: hidden; }
.inline-form { display: flex; gap: 10px; }
.inline-form input { flex: 1; min-width: 0; }

/* Events */
.events { display: grid; gap: 16px; }
.event { display: grid; grid-template-columns: 96px 1fr; gap: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; color: var(--ink); }
.event-date { background: var(--blue-900); color: #fff; border-radius: 14px; display: grid; place-content: center; text-align: center; padding: 12px 6px; align-self: start; }
.event-date .m { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; color: var(--gold); }
.event-date .d { font: 600 2.1rem/1.1 var(--font-head); }
.event-date .y { font-size: .8rem; opacity: .75; }
.event-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; margin-bottom: 10px; }
.event-body h3 { margin-bottom: 6px; }
.event-body p:last-child { margin: 0; }

/* News */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; color: var(--ink); }
.post-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-date { font-size: .85rem; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 8px; }
.post-body h3 a { color: inherit; text-decoration: none; }
.post-body h3 a:hover { color: var(--blue); }
.post-body p { color: var(--muted); }
.post-body .text-link { margin-top: auto; }
.single { padding: clamp(48px, 7vw, 88px) 0; }
.single-img { width: 100%; border-radius: var(--radius); margin: 8px 0 32px; }
.single-back { margin-top: 48px; }

/* Directory */
.dir-tools { display: grid; gap: 16px; margin-bottom: 28px; }
.dir-search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px 18px; max-width: 460px; color: var(--muted); }
.dir-search:focus-within { border-color: var(--blue); }
.dir-search input[type="search"] { border: 0; outline: 0; background: none; padding: 11px 0; flex: 1; font: inherit; color: var(--ink); min-width: 0; box-shadow: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font: 500 .93rem var(--font-body); padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.chip:hover { border-color: var(--blue); }
.chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.dir-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.resource { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; color: var(--ink); }
.resource-cat { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.resource h3 { font-size: 1.15rem; }
.resource p { color: var(--muted); font-size: .98rem; }
.resource-meta { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.resource-meta li { display: flex; gap: 8px; align-items: baseline; }
.resource-meta .icon { color: var(--blue); position: relative; top: 2px; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); color: var(--ink); }
.form { display: grid; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select { font: inherit; color: var(--ink); width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; }
input:focus, textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 16%, transparent); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; padding: 13px 16px; border-radius: 12px; font-weight: 500; display: flex; gap: 8px; align-items: center; }
.form-msg.ok { background: #E6F5EC; color: #135C33; }
.form-msg.err { background: #FDECEC; color: #9B1B1B; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; font-size: 1.08rem; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list .icon { color: var(--red); margin-top: 4px; }

/* Footer */
.site-footer { background: #0B1226; color: rgba(255, 255, 255, .78); padding: clamp(48px, 7vw, 80px) 0 0; font-size: .98rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.site-footer .brand { color: #fff; margin-bottom: 18px; }
.site-footer .brand img { background: #fff; border-radius: 12px; padding: 6px; width: 64px; }
.site-footer h2 { font: 700 .82rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer h2.mt { margin-top: 28px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul.social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { margin-top: clamp(36px, 5vw, 60px); padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; font-size: .9rem; }
.footer-base p { margin: 0; }
.admin-bar { position: fixed; left: 16px; bottom: 16px; z-index: 300; background: #0B1226; color: #fff; border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; gap: 8px; align-items: center; font-size: .88rem; box-shadow: var(--shadow); }
.admin-bar a { color: #0B1226; background: #fff; border-radius: 999px; padding: 6px 14px; text-decoration: none; font-weight: 700; }
.admin-bar a:last-child { background: var(--gold); }

/* Scroll reveal (only when JavaScript is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in, .is-builder .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, a.card:hover { transform: none; }
}

@media (max-width: 900px) {
  .hero-split .hero-inner, .split, .cta, .newsletter, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-art { justify-self: center; max-width: 380px; margin-top: 8px; }
  .split.side-left .split-media { order: 0; }
  .cards, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .cards, .cards.cols-2, .cards.cols-4, .field-row { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; }
  .event-date { justify-self: start; grid-auto-flow: column; gap: 8px; align-items: baseline; padding: 8px 16px; }
  .event-date .d { font-size: 1.3rem; }
  .inline-form { flex-direction: column; }
  .dir-list { grid-template-columns: 1fr; }
  .brand-name { font-size: .92rem; }
  .brand img { width: 48px; }
  .hero-art::after { left: -12px; width: 72px; height: 72px; }
  .hero-art::before { inset: 16px -10px -12px 16px; }
}

.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
