:root {
  --brown-deep: #42261f;
  --brown: #5b372c;
  --bronze: #ad7b43;
  --bronze-light: #d2ad79;
  --paper: #fbf8f2;
  --cream: #f1e9de;
  --mist: #e9dfd2;
  --ink: #2d2723;
  --muted: #756b64;
  --white: #fff;
  --line: rgba(66, 38, 31, .15);
  --shadow: 0 16px 38px rgba(66, 38, 31, .12);
  --radius: 6px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", Arial, sans-serif; line-height: 1.6; overflow-x: hidden; }
body.drawer-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
.container { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: .7rem 1rem; color: var(--white); background: var(--brown-deep); }
.skip-link:focus { top: 1rem; }

/* Header */
.utility-bar { color: #f9f1e7; background: var(--brown-deep); font-size: .72rem; }
.utility-inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.utility-location, .utility-message, .utility-search { opacity: .9; }
.utility-location { display: inline-flex; align-items: center; gap: .3rem; white-space: nowrap; }
.utility-message { flex: 1; margin: 0; text-align: center; font-style: italic; }
.utility-actions { display: flex; align-items: center; gap: .8rem; }
.utility-search { display: inline-flex; align-items: center; gap: .3rem; }
.utility-search:hover, .utility-location:hover { color: var(--bronze-light); opacity: 1; }
.utility-donate { min-height: 32px; display: inline-flex; align-items: center; gap: .35rem; padding: .25rem .8rem; color: var(--brown-deep); background: var(--bronze-light); font-weight: 700; }
.utility-donate:hover { background: #e1bf91; }
.site-header { position: relative; z-index: 20; background: var(--white); }
.site-header[data-sticky="1"] { position: sticky; top: 0; }
.nav-row { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { width: 148px; height: 92px; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.desktop-nav { display: flex; align-items: center; justify-content: flex-end; gap: .1rem; min-width: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { min-height: 44px; display: inline-flex; align-items: center; padding: .8rem .58rem; color: #4b403c; border-bottom: 2px solid transparent; font-size: .78rem; font-weight: 700; letter-spacing: .045em; text-transform: uppercase; white-space: nowrap; }
.nav-item > a:hover, .nav-item > a.active { color: var(--brown-deep); border-color: var(--bronze); }
.nav-caret { width: 28px; height: 36px; border: 0; color: var(--bronze); background: transparent; }
.mega-menu { position: absolute; top: calc(100% - .2rem); left: 0; display: none; width: 265px; max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain; padding: .55rem; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.nav-item:hover .mega-menu, .nav-item:focus-within .mega-menu { display: grid; }
.mega-menu a { padding: .55rem .65rem; color: #5a4e49; font-size: .82rem; }
.mega-menu a:hover { color: var(--brown-deep); background: var(--cream); }
.nav-donate, .button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 0; border-radius: 999px; padding: .7rem 1.15rem; color: var(--brown-deep); background: var(--bronze-light); font-size: .77rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.nav-donate { margin-left: .65rem; white-space: nowrap; }
.nav-donate:hover, .button:hover { color: var(--brown-deep); background: #e0bd8b; transform: translateY(-2px); }
.button-dark { color: var(--white); background: var(--brown-deep); }
.button-dark:hover { color: var(--white); background: var(--brown); }
.button-outline { color: var(--brown-deep); background: transparent; border: 1px solid var(--brown-deep); }
.button-outline:hover { color: var(--white); background: var(--brown-deep); }
.button-light { color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.7); }
.button-light:hover { color: var(--brown-deep); background: var(--white); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); padding: 9px; background: var(--white); }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--brown-deep); }
.mobile-drawer, .drawer-backdrop { display: none; }
.flash { position: fixed; z-index: 80; right: 1rem; top: 5.5rem; max-width: min(420px, calc(100vw - 2rem)); padding: .85rem 1rem; border-left: 4px solid var(--bronze); background: var(--white); box-shadow: var(--shadow); }
.flash-error { border-left-color: #9b3c3c; }

/* Hero */
.hero { position: relative; min-height: 500px; height: min(680px, 52vw); color: var(--white); background: var(--brown-deep); overflow: hidden; }
.hero-track { display: flex; height: 100%; min-height: 100%; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.hero-slide { position: relative; min-width: 100%; min-height: 100%; display: flex; align-items: center; }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: rgba(35, 23, 18, .58); }
.hero-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus-desktop, center); }
.hero-content { position: relative; z-index: 1; width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 4rem 0 5rem; }
.hero-kicker, .eyebrow { color: var(--bronze); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.hero-kicker { color: #f2d1a2; }
.hero-kicker { display: block; max-width: 100%; overflow-wrap: anywhere; }
.hero h1 { max-width: 680px; margin: .7rem 0 .9rem; font-family: "Playfair Display", Georgia, serif; font-size: 4.3rem; line-height: 1.04; letter-spacing: 0; }
.hero p { max-width: 560px; margin: 0 0 1.5rem; color: #f6eee5; font-size: 1.05rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-controls { position: absolute; z-index: 2; right: 50%; bottom: 1.6rem; width: min(var(--max), calc(100% - 48px)); display: flex; align-items: center; justify-content: space-between; transform: translateX(50%); }
.hero-arrow { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); color: var(--white); background: rgba(35,23,18,.35); font-size: 1.25rem; }
.hero-arrow:hover { color: var(--brown-deep); background: var(--bronze-light); }
.hero-dots { display: flex; gap: .4rem; margin-inline: auto 1rem; }
.hero-dot { width: 28px; height: 4px; border: 0; background: rgba(255,255,255,.42); }
.hero-dot.active { background: var(--bronze-light); }

/* Sections and cards */
.section { padding: 5.7rem 0; }
.section-soft { background: var(--cream); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2.3rem; margin-bottom: 2.1rem; }
.section-head h2 { margin: .45rem 0 0; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 2.85rem; line-height: 1.1; }
.section-head p { max-width: 460px; margin: 0; color: var(--muted); }
.section-head-side { display: grid; justify-items: end; gap: .7rem; max-width: 470px; }
.link-arrow { display: inline-flex; align-items: center; gap: .3rem; width: fit-content; color: var(--bronze); border-bottom: 1px solid currentColor; padding-bottom: .2rem; font-weight: 700; white-space: nowrap; }
.link-arrow:hover { color: var(--brown-deep); }
.intro-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 4.5rem; align-items: center; }
.intro-media { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--mist); }
.intro-media img { width: 100%; aspect-ratio: 1.4 / 1; object-fit: cover; }
.intro-media figcaption { position: absolute; right: 1rem; bottom: 1rem; max-width: 70%; padding: .55rem .8rem; color: var(--white); background: rgba(66,38,31,.78); font-family: "Playfair Display", Georgia, serif; font-size: 1.15rem; line-height: 1.2; }
.intro-copy { min-width: 0; }
.intro-copy .detail-title { margin-top: .5rem; }
.intro-copy p { max-width: 58ch; color: #615751; }
.pillars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.pillar { min-width: 0; min-height: 188px; padding: 1.35rem 1.15rem; background: var(--paper); }
.pillar-icon { display: grid; width: 40px; height: 40px; place-items: center; color: var(--brown-deep); border: 1px solid var(--bronze-light); border-radius: 50%; font-size: 1.4rem; line-height: 1; }
.pillar-number { display: block; margin-top: .65rem; color: var(--bronze); font-size: .65rem; font-weight: 700; letter-spacing: .1em; }
.pillar h3 { margin: .35rem 0 .35rem; color: var(--brown-deep); font-size: .98rem; line-height: 1.25; }
.pillar p { margin: 0; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-block: 1px solid var(--line); background: var(--line); }
.stat { padding: 2rem 1rem; text-align: center; background: var(--paper); }
.stat strong { display: block; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 3rem; line-height: 1; }
.stat span { display: block; margin-top: .65rem; color: var(--muted); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.card-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.project-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.news-card, .event-card, .branch-card, .album-card, .project-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.news-card:hover, .event-card:hover, .branch-card:hover, .album-card:hover, .project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--mist); }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.news-card:hover .card-image img, .event-card:hover .card-image img, .branch-card:hover .card-image img, .album-card:hover .card-image img, .project-card:hover .card-image img { transform: scale(1.04); }
.image-placeholder { width: 100%; height: 100%; min-height: 160px; background: var(--mist); }
.card-body { position: relative; min-width: 0; padding: 1.15rem 1.2rem 1.35rem; }
.card-meta { color: var(--bronze); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.card-body h2, .card-body h3 { margin: .5rem 0 .55rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; line-height: 1.2; }
.card-body p { margin: 0 0 1rem; color: var(--muted); font-size: .85rem; }
.card-action { position: absolute; right: 1.05rem; bottom: 1.05rem; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--brown-deep); font-size: .9rem; }
.card-action:hover { color: var(--brown-deep); background: var(--bronze-light); }
.project-card .card-body { padding-bottom: 3.4rem; }
.project-card .card-image { aspect-ratio: 1.65 / 1; }
.project-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.announcement-band { color: var(--white); background: var(--brown-deep); }
.announcement-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: .8rem; }
.announcement-inner h2 { margin: 0; color: var(--bronze-light); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.announcement-inner a { font-family: "Playfair Display", Georgia, serif; font-size: 1.08rem; }
.announcement-inner a:hover { color: var(--bronze-light); }

/* Video, branches and call to action */
.video-section { color: var(--white); background: var(--brown-deep); }
.video-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 4rem; align-items: center; }
.video-grid h2 { margin: .45rem 0 1rem; color: var(--white); font-family: "Playfair Display", Georgia, serif; font-size: 3rem; line-height: 1.1; }
.video-grid p { color: #dfd1c4; }
.video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: 8px solid #321d18; box-shadow: 0 0 0 1px rgba(210,173,121,.65); }
.video-frame iframe { width: 100%; height: 100%; border: 0; }
.branch-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.branch-card .card-image { aspect-ratio: 1.4 / 1; }
.branch-card .card-body h3 { font-size: 1.08rem; }
.branch-contact { color: var(--muted); font-size: .78rem; }
.branch-contact div { margin-top: .2rem; overflow-wrap: anywhere; }
.cta { color: var(--brown-deep); background: var(--bronze-light); }
.cta-inner { min-height: 190px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 3rem; }
.cta h2 { margin: 0 0 .45rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 2.7rem; line-height: 1.08; }
.cta p { max-width: 600px; margin: 0; }

/* Internal pages and forms */
.page-hero { padding: 4rem 0 3.5rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 850px; margin: .45rem 0 .7rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 3.8rem; line-height: 1.08; }
.page-hero p { max-width: 700px; margin: 0; color: var(--muted); font-size: 1rem; }
.content-layout, .detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; align-items: start; }
.rich-content { min-width: 0; color: #574d48; font-size: 1.02rem; }
.rich-content p { margin: 0 0 1.2rem; white-space: pre-line; }
.rich-content h2, .rich-content h3 { color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; }
.board-member-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.board-member-card { padding: 1rem; border: 1px solid var(--line); background: var(--white); }
.board-member-card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: .7rem; }
.board-member-card h2 { margin: 0; font-size: 1.05rem; }
.board-member-card p { margin: .25rem 0 0; color: var(--bronze); font-size: .8rem; }
.side-panel { padding: 1.35rem; border-top: 3px solid var(--bronze); background: var(--cream); }
.side-panel h2 { margin: 0 0 .75rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; }
.side-panel a { display: block; min-height: 44px; padding: .55rem 0; border-bottom: 1px solid var(--line); color: #635852; font-size: .84rem; }
.side-panel a:hover { color: var(--bronze); }
.detail-image { width: 100%; max-height: 620px; object-fit: cover; }
.detail-meta { margin-bottom: .45rem; color: var(--bronze); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.detail-title { margin: .55rem 0 1.2rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 3.2rem; line-height: 1.1; }
.detail-excerpt { color: #615751; font-size: 1.05rem; font-weight: 500; }
.detail-copy { margin-top: 1.7rem; }
.news-article-gallery { margin-top: 2.5rem; }
.news-article-gallery-heading { display: flex; justify-content: space-between; gap: .75rem; align-items: baseline; margin-bottom: 1rem; }
.news-article-gallery-heading h3 { color: var(--brown-deep); font: 700 1.65rem "Playfair Display", Georgia, serif; margin: 0; }
.news-article-gallery-heading span { color: var(--bronze); font-size: .78rem; }
.news-article-photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.news-article-photo { min-width: 0; margin: 0; }
.news-article-photo button { width: 100%; padding: 0; aspect-ratio: 4 / 3; display: block; overflow: hidden; border: 0; background: var(--mist); cursor: zoom-in; }
.news-article-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.news-article-photo button:hover img { transform: scale(1.04); }
.news-article-photo figcaption { padding: .45rem 0; color: #6f6158; font-size: .76rem; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 60px; padding: 0; border: 0; color: #fff; background: rgba(255,255,255,.14); font-size: 2rem; cursor: pointer; }
.lightbox-prev { left: .65rem; }
.lightbox-next { right: .65rem; }
@media (max-width: 850px) { .news-article-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .news-article-photo-grid { grid-template-columns: 1fr; } .lightbox { padding: 3rem 3.4rem; } .lightbox-prev { left: .15rem; } .lightbox-next { right: .15rem; } }
.branch-map { margin-top: 2rem; }
.branch-map h2 { margin-bottom: .8rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 1.65rem; }
.branch-map iframe { display: block; width: 100%; max-width: 600px; min-height: 330px; border-radius: 6px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery-item { position: relative; aspect-ratio: 1.35 / 1; overflow: hidden; background: var(--mist); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.lightbox { position: fixed; z-index: 90; inset: 0; display: none; align-items: center; justify-content: center; padding: 3rem; background: rgba(35,31,32,.94); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 100%); max-height: 85vh; object-fit: contain; }
.lightbox-close { position: absolute; top: .6rem; right: 1.2rem; border: 0; color: var(--white); background: transparent; font-size: 2.5rem; }
.contact-grid, .donation-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.addresses, .fund-list { display: grid; gap: 1rem; }
.address-card, .fund-choice { padding: 1.25rem; border: 1px solid var(--line); border-left: 3px solid var(--bronze); background: var(--white); }
.address-card h2, .fund-choice h3 { margin: 0 0 .4rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; }
.address-card p, .fund-choice p { margin: .2rem 0; color: var(--muted); font-size: .84rem; overflow-wrap: anywhere; }
.form-shell { padding: 1.8rem; background: var(--cream); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--brown-deep); font-size: .78rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: .65rem .75rem; color: var(--ink); background: var(--white); border: 1px solid #d3c6b8; border-radius: var(--radius); }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(173,123,67,.25); border-color: var(--bronze); }
.check-row { display: flex; align-items: flex-start; gap: .6rem; margin: .75rem 0; color: #5d5552; font-size: .82rem; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: .1rem; accent-color: var(--brown-deep); }
.amounts { display: flex; flex-wrap: wrap; gap: .55rem; }
.amount-option { position: relative; }
.amount-option input { position: absolute; opacity: 0; }
.amount-option label { display: block; min-width: 82px; min-height: 44px; padding: .6rem .75rem; text-align: center; color: var(--brown-deep); background: var(--white); border: 1px solid #d3c6b8; cursor: pointer; }
.amount-option input:checked + label { color: var(--white); background: var(--brown-deep); border-color: var(--brown-deep); }
.bank-table { width: 100%; border-collapse: collapse; }
.bank-table th, .bank-table td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.bank-table th { color: var(--brown-deep); background: var(--cream); }
.bank-accounts { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bank-accounts h2, .bank-transfer h3 { margin: 0 0 .7rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 1.45rem; line-height: 1.2; }
.bank-account-list { display: grid; gap: .8rem; }
.bank-account { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem 1.1rem; margin: 0; padding: 1rem 0; border-block: 1px solid var(--line); }
.bank-account + .bank-account { border-top: 0; }
.bank-account > div { min-width: 0; }
.bank-account-holder { grid-column: span 2; }
.bank-account-iban { grid-column: span 2; }
.bank-account dt { margin-bottom: .25rem; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bank-account dd { margin: 0; color: var(--brown-deep); font-size: .9rem; font-weight: 700; overflow-wrap: anywhere; }
.bank-transfer { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.bank-transfer > p { margin: 0 0 .9rem; color: var(--muted); font-size: .84rem; }
.bank-transfer .bank-account { padding-block: .9rem; }
.bank-transfer-note { margin-top: .85rem !important; }
.result-card { max-width: 690px; margin: 0 auto; padding: 3rem; text-align: center; border-top: 4px solid var(--bronze); background: var(--cream); }
.result-card h1 { margin: .5rem 0 1rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 2.6rem; }
.result-reference { display: inline-block; margin: .7rem 0 1.5rem; padding: .8rem 1.1rem; color: var(--brown-deep); background: var(--white); font-weight: 700; letter-spacing: .08em; }
.error-page { padding: 8rem 0; text-align: center; }
.error-page h1 { margin: .45rem 0 1rem; color: var(--brown-deep); font-family: "Playfair Display", Georgia, serif; font-size: 3.5rem; }
.error-page p { max-width: 500px; margin: 0 auto 2rem; color: var(--muted); }

/* Footer and mobile navigation */
.site-footer { color: #d5c8be; background: var(--brown-deep); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 2.5rem; padding: 4rem 0; }
.footer-logo-frame { width: 176px; height: 112px; display: flex; align-items: center; justify-content: center; padding: .45rem .6rem; border: 1px solid rgba(210,173,121,.58); border-radius: 4px; background: var(--paper); }
.footer-brand img { width: 100%; height: 100%; object-fit: contain; }
.footer-brand p { max-width: 290px; margin: 1rem 0 1.15rem; color: #b8aaa0; font-size: .82rem; }
.site-footer h2 { margin: 0 0 .9rem; color: var(--bronze-light); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.site-footer a { display: block; min-height: 32px; margin: .25rem 0; color: #d8cec6; font-size: .82rem; }
.site-footer a:hover { color: var(--bronze-light); }
.site-footer p { margin: 0; color: #b8aaa0; font-size: .82rem; overflow-wrap: anywhere; }
.social-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.social-link { width: 44px; height: 44px; min-height: 44px !important; display: inline-flex !important; align-items: center; justify-content: center; margin: 0 !important; color: #f8eee4 !important; border: 1px solid #8b776c; border-radius: 50%; background: transparent; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.social-link:hover, .social-link:focus-visible { color: var(--brown-deep) !important; border-color: var(--bronze-light); background: var(--bronze-light); transform: translateY(-2px); outline: none; }
.social-link:focus-visible { box-shadow: 0 0 0 3px rgba(210,173,121,.42); }
.social-link-icon { width: 19px; height: 19px; display: inline-flex; align-items: center; justify-content: center; }
.social-link svg { width: 19px; height: 19px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.social-link-facebook svg { fill: currentColor; stroke: none; }
.social-link-youtube svg { fill: none; }
.footer-donate { margin-top: 1rem !important; color: var(--bronze-light) !important; font-weight: 700; }
.footer-bottom { padding: .95rem 0; color: #a7978e; border-top: 1px solid rgba(255,255,255,.13); font-size: .69rem; }
.footer-bottom .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom span { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a { display: inline; min-height: 0; margin: 0; font-size: inherit; }
.mobile-bottom-nav { display: none; }

@media (max-width: 1120px) {
  .nav-item > a { padding-inline: .42rem; font-size: .72rem; }
  .nav-donate { margin-left: .35rem; padding-inline: .85rem; font-size: .7rem; }
  .intro-grid, .video-grid { gap: 2.5rem; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .board-member-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .container { width: min(var(--max), calc(100% - 32px)); }
  .utility-message { display: none; }
  .utility-inner { min-height: 35px; }
  .utility-contact { display: none; }
  .utility-inner { justify-content: space-between; gap: .6rem; }
  .utility-location { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .utility-actions { flex: 0 0 auto; }
  .nav-row { min-height: 84px; }
  .brand { width: 122px; height: 76px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: grid; place-content: center; gap: 5px; }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 2px; margin: 0; }
  .drawer-backdrop { position: fixed; z-index: 40; inset: 0; display: block; visibility: hidden; opacity: 0; background: rgba(35,31,32,.52); transition: opacity .25s ease, visibility .25s ease; }
  .mobile-drawer { position: fixed; z-index: 50; top: 0; right: 0; bottom: 0; display: flex; width: min(360px, 88vw); flex-direction: column; background: var(--white); box-shadow: -14px 0 36px rgba(35,31,32,.18); transform: translateX(100%); transition: transform .3s ease; }
  body.drawer-open .drawer-backdrop { visibility: visible; opacity: 1; }
  body.drawer-open .mobile-drawer { transform: translateX(0); }
  .drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem; color: var(--brown-deep); border-bottom: 1px solid var(--line); font-family: "Playfair Display", Georgia, serif; font-size: 1.35rem; }
  .drawer-head button { width: 44px; height: 44px; border: 1px solid var(--line); color: var(--brown-deep); background: var(--white); font-size: 1.5rem; }
  .drawer-nav { flex: 1; overflow: auto; padding: .5rem 1.1rem; }
  .drawer-link-row { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
  .drawer-link-row a { flex: 1; min-height: 44px; display: flex; align-items: center; color: var(--brown-deep); font-weight: 700; }
  .drawer-subtoggle { width: 44px; height: 44px; border: 0; color: var(--bronze); background: transparent; font-size: 1.25rem; }
  .drawer-submenu { display: none; padding: .15rem 0 .45rem 1rem; }
  .drawer-item.open .drawer-submenu { display: grid; }
  .drawer-submenu a { min-height: 40px; display: flex; align-items: center; color: #635852; font-size: .84rem; }
  .drawer-donate { min-height: 48px; margin: 1rem 1.1rem; display: flex; align-items: center; justify-content: center; border-radius: 999px; color: var(--brown-deep); background: var(--bronze-light); font-weight: 700; }
  .hero { height: 580px; min-height: 0; }
  .hero-slide img { object-position: var(--focus-mobile, var(--focus-desktop, center)); }
  .hero-content { width: min(var(--max), calc(100% - 32px)); padding: 3rem 0 5rem; }
  .hero h1 { max-width: 560px; font-size: 3.15rem; }
  .hero p { font-size: .98rem; }
  .section { padding: 4.4rem 0; }
  .intro-grid, .video-grid, .contact-grid, .donation-layout, .content-layout, .detail-grid { grid-template-columns: 1fr; }
  .intro-grid, .video-grid { gap: 2rem; }
  .intro-media img { aspect-ratio: 1.55 / 1; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pillar { min-height: 170px; padding: 1.15rem .9rem; }
  .pillar h3 { font-size: .9rem; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .branch-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-panel { order: -1; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.4rem; }
  .footer-bottom .container { align-items: flex-start; flex-direction: column; }
  .bank-account { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bank-account-holder, .bank-account-iban { grid-column: span 2; }
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)); }
  .mobile-bottom-nav { position: fixed; z-index: 35; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: repeat(var(--mobile-nav-columns, 5), minmax(0, 1fr)); min-height: 70px; padding: .35rem .3rem calc(.35rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255,255,255,.98); box-shadow: 0 -10px 28px rgba(66,38,31,.12); }
  .mobile-bottom-link { min-width: 0; min-height: 60px; display: flex; align-items: center; justify-content: center; gap: .18rem; border: 0; padding: .25rem .1rem; color: #766b64; background: transparent; flex-direction: column; font-size: .64rem; font-weight: 700; line-height: 1.1; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  .mobile-bottom-link:hover, .mobile-bottom-link:focus-visible, .mobile-bottom-link.active { color: var(--brown-deep); }
  .mobile-bottom-icon { width: 26px; height: 26px; display: grid; place-items: center; color: currentColor; font-size: 1.2rem; line-height: 1; }
  .mobile-bottom-donate { color: var(--brown-deep); border-radius: 4px; background: var(--bronze-light); }
  .mobile-bottom-donate.active, .mobile-bottom-donate:hover, .mobile-bottom-donate:focus-visible { color: var(--brown-deep); background: #e0bd8b; }
}

@media (max-width: 520px) {
  .container { width: calc(100% - 28px); }
  .utility-search span:last-child { display: none; }
  .utility-donate { padding-inline: .6rem; font-size: .68rem; }
  .nav-row { min-height: 78px; }
  .brand { width: 112px; height: 70px; }
  .hero { height: 560px; }
  .hero-content { width: calc(100% - 28px); padding: 2.5rem 0 5rem; }
  .hero h1 { max-width: 340px; font-size: 2.65rem; }
  .hero p { max-width: 330px; font-size: .9rem; }
  .hero-actions { align-items: stretch; flex-direction: column; width: min(100%, 270px); }
  .hero-actions .button { width: 100%; }
  .hero-controls { width: calc(100% - 28px); bottom: 1rem; }
  .hero-dot { width: 16px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: .8rem; }
  .section-head h2 { font-size: 2.15rem; }
  .section-head-side { justify-items: start; }
  .section-head-side .link-arrow { align-self: start; }
  .pillars { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pillar { grid-column: span 2; min-height: 165px; padding: 1rem .7rem; }
  .pillar:nth-child(4) { grid-column: 2 / span 2; }
  .pillar-icon { width: 34px; height: 34px; font-size: 1.1rem; }
  .pillar h3 { font-size: .82rem; }
  .pillar p { font-size: .7rem; }
  .stats, .card-grid, .project-grid, .project-list-grid, .branch-grid, .gallery-grid, .form-grid { grid-template-columns: 1fr; }
  .stats { border: 0; }
  .stat { border-bottom: 1px solid var(--line); }
  .announcement-inner { align-items: flex-start; flex-direction: column; gap: .45rem; }
  .announcement-inner a { width: 100%; max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
  .cta-inner { align-items: flex-start; flex-direction: column; padding: 2.4rem 0; }
  .cta h2 { font-size: 2.15rem; }
  .cta .button { width: 100%; }
  .page-hero { padding: 3rem 0 2.7rem; }
  .page-hero h1 { font-size: clamp(2.25rem, 10vw, 3rem); overflow-wrap: anywhere; }
  .detail-title { font-size: clamp(2rem, 9vw, 2.35rem); overflow-wrap: anywhere; }
  .board-member-grid { grid-template-columns: 1fr; }
  .form-shell { padding: 1rem; }
  .result-card { padding: 2rem 1.2rem; }
  .result-card h1 { font-size: 2.2rem; }
  .footer-grid { grid-template-columns: 1fr; padding: 3.2rem 0; }
  .footer-logo-frame { width: 166px; height: 106px; }
  .bank-account { grid-template-columns: 1fr; gap: .65rem; }
  .bank-account-holder, .bank-account-iban { grid-column: auto; }
  .mobile-bottom-link { font-size: .61rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Reference-led Bakirkoy public theme. Content, routes, and CMS bindings remain unchanged. */
body { background: #eee7df; }

@media (min-width: 1180px) {
  /* The public shell runs edge-to-edge; only the inner container keeps readable line lengths. */
  body:not(.admin-body) { padding: 0; background: #fcfaf6; }
  .site-header, #main-content, .site-footer { width: 100%; margin-inline: 0; }
  .site-header { margin-top: 0; box-shadow: 0 8px 24px rgba(60, 36, 27, .12); }
  .site-header[data-sticky="1"] { top: 0; }
  .utility-bar { border-radius: 0; }
  #main-content { background: #fcfaf6; box-shadow: none; }
  .site-footer { border-radius: 0; box-shadow: none; }
}

/* Compact masthead shared by public pages. */
@media (min-width: 821px) {
  .utility-bar { font-size: .65rem; }
  .utility-inner { min-height: 28px; }
  .nav-row { min-height: 88px; gap: 1rem; }
  .brand { width: 136px; height: 82px; }
  .desktop-nav { gap: .08rem; }
  .nav-item > a { min-height: 40px; padding: .55rem .64rem; color: #332521; font-size: .69rem; letter-spacing: 0; text-transform: none; }
  .nav-caret { width: 21px; height: 34px; font-size: .9rem; }
  .nav-donate { min-height: 38px; margin-left: .4rem; padding: .55rem .92rem; border-radius: 999px; font-size: .66rem; letter-spacing: 0; text-transform: none; }
  .utility-search { width: 28px; min-height: 28px; justify-content: center; }
  .utility-search span:last-child { display: none; }
  .utility-donate { min-height: 28px; padding: .2rem .7rem; font-size: .65rem; }
}

/* Home page visual hierarchy mirrors the supplied Bakirkoy reference. */
.home-page #main-content { display: flex; flex-direction: column; }
.home-page .hero { order: 1; min-height: 390px; height: min(460px, 37vw); }
.home-page .pillars-section { order: 2; position: relative; z-index: 4; margin-top: -38px; padding: 0; background: transparent; }
.home-page .intro-section { order: 3; padding: 4.1rem 0 2.65rem; background: #fcfaf6; }
.home-page .projects-section { order: 4; padding: 2.35rem 0 2.9rem; background: #fcfaf6; border-top: 1px solid rgba(79, 55, 43, .1); }
.home-page .news-section { order: 5; padding: 2.75rem 0; background: #f5efe8; border-top: 1px solid rgba(79, 55, 43, .1); }
.home-page .announcement-band { order: 6; color: #4b3027; background: #fcfaf6; border-block: 1px solid rgba(79, 55, 43, .12); }
.home-page .stats-section { order: 7; padding: 2.8rem 0; background: #fcfaf6; }
.home-page .video-section { order: 8; padding: 3.8rem 0; }
.home-page .branches-section { order: 9; padding: 3.8rem 0; background: #fcfaf6; }
.home-page .gallery-section { order: 10; padding: 3.8rem 0; }
.home-page .cta { order: 11; }

.home-page .hero-slide::after { background: rgba(36, 24, 19, .54); }
.home-page .hero-content { width: min(1060px, calc(100% - 72px)); padding: 3.3rem 0 3.8rem; }
.home-page .hero-kicker { color: #f3e5d1; font-size: .69rem; letter-spacing: .08em; }
.home-page .hero h1 { max-width: 530px; margin: .55rem 0 .7rem; font-size: clamp(2.65rem, 4.15vw, 3.75rem); line-height: 1.03; }
.home-page .hero p { max-width: 470px; margin-bottom: 1.25rem; font-size: .9rem; line-height: 1.55; }
.home-page .hero-actions { gap: .6rem; }
.home-page .hero-actions .button { min-height: 38px; padding: .55rem 1.2rem; font-size: .67rem; letter-spacing: 0; text-transform: none; }
.home-page .hero-controls { bottom: .85rem; width: min(1060px, calc(100% - 72px)); justify-content: flex-end; }
.home-page .hero-arrow { display: none; }
.home-page .hero-dots { gap: .3rem; margin: 0; }
.home-page .hero-dot { width: 20px; height: 3px; }

.home-page .focus-section-head { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.home-page .pillars { overflow: hidden; gap: 0; border: 0; border-radius: 8px; background: #fffdfa; box-shadow: 0 12px 26px rgba(60, 36, 27, .14); }
.home-page .pillar { min-height: 126px; padding: 1rem .75rem .85rem; text-align: center; background: #fffdfa; }
.home-page .pillar + .pillar { border-left: 1px solid rgba(79, 55, 43, .12); }
.home-page .pillar-icon { width: 33px; height: 33px; margin: 0 auto .35rem; color: #4b3027; border: 0; border-radius: 0; font-size: 1.35rem; }
.home-page .pillar-number { display: none; }
.home-page .pillar h3 { margin: 0 0 .28rem; color: #3f2a23; font-size: .75rem; font-weight: 700; }
.home-page .pillar p { display: -webkit-box; overflow: hidden; margin: 0 auto; color: #786d65; font-size: .64rem; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.home-page .intro-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.2rem; }
.home-page .intro-media { aspect-ratio: 1.75 / 1; border-radius: 6px; box-shadow: 0 8px 20px rgba(60, 36, 27, .08); }
.home-page .intro-media img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.home-page .intro-media figcaption { right: 1rem; bottom: .85rem; padding: .25rem .35rem; color: #fffdf8; background: transparent; font-size: 1.05rem; font-style: italic; text-shadow: 0 2px 8px rgba(30, 18, 13, .65); }
.home-page .intro-copy .eyebrow, .home-page .section-head .eyebrow { color: #9b754b; font-size: .62rem; letter-spacing: .11em; }
.home-page .intro-copy .detail-title { margin: .36rem 0 .65rem; font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
.home-page .intro-copy p { margin: 0 0 .55rem; color: #645952; font-size: .82rem; line-height: 1.55; }
.home-page .intro-copy .link-arrow { min-height: 34px; margin-top: .5rem; padding: .45rem .9rem; color: #fffdf8; border: 0; border-radius: 999px; background: #9a754c; font-size: .66rem; }
.home-page .intro-copy .link-arrow:hover { color: #fffdf8; background: #6d4836; }

.home-page .section-head { gap: 1.25rem; margin-bottom: 1.25rem; }
.home-page .section-head h2 { margin-top: .22rem; font-size: clamp(1.7rem, 2.45vw, 2.25rem); }
.home-page .section-head p { max-width: 420px; font-size: .78rem; line-height: 1.5; }
.home-page .section-head-side { gap: .3rem; }
.home-page .link-arrow { color: #70513d; font-size: .7rem; }

.home-page .project-grid { gap: .85rem; }
.home-page .project-card, .home-page .news-card { border: 1px solid rgba(79, 55, 43, .12); border-radius: 6px; background: #fffdfa; box-shadow: 0 5px 13px rgba(60, 36, 27, .055); }
.home-page .project-card:hover, .home-page .news-card:hover { box-shadow: 0 10px 20px rgba(60, 36, 27, .12); }
.home-page .project-card .card-image { aspect-ratio: 1.72 / 1; }
.home-page .project-card .card-body { min-height: 132px; padding: .7rem .75rem 2.65rem; }
.home-page .card-meta { color: #9b754b; font-size: .56rem; letter-spacing: .06em; }
.home-page .card-body h3 { display: -webkit-box; overflow: hidden; margin: .32rem 0 .25rem; font-size: .88rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-page .card-body p { display: -webkit-box; overflow: hidden; margin: 0; font-size: .67rem; line-height: 1.4; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.home-page .card-action { right: .65rem; bottom: .62rem; width: 24px; height: 24px; font-size: .72rem; }

.home-page .news-section .card-grid { gap: .95rem; }
.home-page .news-card .card-image { aspect-ratio: 2.05 / 1; }
.home-page .news-card .card-body { min-height: 136px; padding: .7rem .8rem; }
.home-page .news-card .card-body h3 { font-size: .92rem; }
.home-page .news-card .link-arrow { margin-top: .65rem; font-size: .64rem; }

.home-page .announcement-inner { min-height: 48px; padding-block: .55rem; }
.home-page .announcement-inner h2 { color: #9b754b; font-size: .58rem; }
.home-page .announcement-inner a { color: #4b3027; font-size: .82rem; }
.home-page .stats-section .section-head { margin-bottom: 1rem; }
.home-page .stats { border: 1px solid rgba(79, 55, 43, .12); }
.home-page .stat { padding: 1.25rem .7rem; background: #fffdfa; }
.home-page .stat strong { font-size: 2.1rem; }
.home-page .stat span { margin-top: .42rem; font-size: .6rem; }
.home-page .video-grid { gap: 2.5rem; }
.home-page .video-grid h2 { font-size: 2.25rem; }

.site-footer { background: #432b23; }
.footer-grid { gap: 2rem; padding: 2.7rem 0; }
.footer-logo-frame { width: 152px; height: 96px; padding: .35rem .5rem; border-color: rgba(210, 173, 121, .42); }
.footer-brand p { margin: .8rem 0 1rem; font-size: .76rem; }
.site-footer h2 { font-size: .65rem; }
.site-footer a { min-height: 29px; font-size: .76rem; }

@media (max-width: 820px) {
  body { background: #fcfaf6; }
  .utility-bar { display: none; }
  .site-header[data-sticky="1"] { top: 0; }
  .nav-row { min-height: 76px; gap: .75rem; }
  .brand { width: 130px; height: 70px; }
  .menu-toggle { display: grid !important; flex: 0 0 46px; width: 46px; height: 46px; border: 0; border-radius: 0; padding: 10px; background: transparent; }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 2px; margin: 0; }
  .mobile-bottom-nav { width: 100%; overflow: hidden; }
  .mobile-bottom-link { overflow: hidden; text-overflow: ellipsis; }

  .home-page .hero { min-height: 390px; height: 390px; }
  .home-page .hero-content { width: calc(100% - 30px); padding: 2rem 0 2.8rem; }
  .home-page .hero-kicker { max-width: 330px; font-size: .6rem; line-height: 1.35; letter-spacing: .05em; }
  .home-page .hero h1 { max-width: 310px; margin: .45rem 0 .55rem; font-size: 2.3rem; }
  .home-page .hero p { max-width: 315px; margin-bottom: 1rem; font-size: .78rem; line-height: 1.48; }
  .home-page .hero-actions { width: min(100%, 330px); flex-wrap: nowrap; gap: .45rem; }
  .home-page .hero-actions .button { min-width: 0; flex: 1 1 0; padding: .55rem .35rem; font-size: .6rem; white-space: nowrap; }
  .home-page .hero-controls { width: calc(100% - 30px); bottom: .65rem; }

  .home-page .pillars-section { margin-top: 0; padding: .75rem 0 1.25rem; background: #fcfaf6; }
  .home-page .pillars { grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid rgba(79, 55, 43, .1); box-shadow: 0 7px 16px rgba(60, 36, 27, .09); }
  .home-page .pillar { grid-column: span 2; min-height: 83px; padding: .7rem .35rem .55rem; }
  .home-page .pillar + .pillar { border-left: 1px solid rgba(79, 55, 43, .1); }
  .home-page .pillar:nth-child(4) { grid-column: 2 / span 2; border-top: 1px solid rgba(79, 55, 43, .1); }
  .home-page .pillar:nth-child(5) { border-top: 1px solid rgba(79, 55, 43, .1); }
  .home-page .pillar:nth-child(4) { border-left: 0; }
  .home-page .pillar-icon { width: 25px; height: 25px; margin-bottom: .2rem; font-size: 1rem; }
  .home-page .pillar h3 { margin: 0; font-size: .58rem; line-height: 1.2; }
  .home-page .pillar p { display: none; }

  .home-page .intro-section, .home-page .projects-section, .home-page .news-section, .home-page .stats-section, .home-page .video-section, .home-page .branches-section, .home-page .gallery-section { padding: 2.25rem 0; }
  .home-page .intro-grid { gap: 1.2rem; }
  .home-page .intro-media { border-radius: 5px; }
  .home-page .intro-media img { aspect-ratio: 1.58 / 1; }
  .home-page .intro-copy .detail-title { font-size: 1.72rem; }
  .home-page .intro-copy p { font-size: .76rem; }
  .home-page .section-head { align-items: center; flex-direction: row; margin-bottom: 1rem; }
  .home-page .section-head h2 { font-size: 1.5rem; }
  .home-page .section-head p { display: none; }
  .home-page .section-head-side { justify-items: end; }
  .home-page .section-head .link-arrow { font-size: .6rem; }
  .home-page .project-grid, .home-page .card-grid { grid-template-columns: 1fr; gap: .8rem; }
  .home-page .project-card .card-image, .home-page .news-card .card-image { aspect-ratio: 1.9 / 1; }
  .home-page .project-card .card-body, .home-page .news-card .card-body { min-height: 0; padding: .75rem .8rem 2.6rem; }
  .home-page .card-body h3 { font-size: .95rem; }
  .home-page .card-body p { font-size: .72rem; }
  .home-page .news-card .link-arrow { display: none; }
  .home-page .announcement-inner { min-height: 0; align-items: flex-start; gap: .3rem; padding: .85rem 0; }
  .home-page .announcement-inner a { font-size: .73rem; line-height: 1.4; }
  .home-page .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-page .stat { padding: 1rem .55rem; }
  .home-page .stat strong { font-size: 1.8rem; }
  .home-page .video-grid h2 { font-size: 1.9rem; }
  .footer-grid { padding: 2.4rem 0; }
}

@media (max-width: 520px) {
  .nav-row { min-height: 72px; }
  .brand { width: 120px; height: 64px; }
  .home-page .hero { height: 376px; min-height: 376px; }
  .home-page .hero h1 { font-size: 2.08rem; }
  .home-page .hero-actions .button { min-height: 38px; font-size: .56rem; }
  .home-page .intro-copy .link-arrow { min-height: 32px; font-size: .62rem; }
  .footer-logo-frame { width: 148px; height: 94px; }
}

/* Final density and icon refinements from the supplied Bakirkoy visual reference. */
.home-page .hero-kicker {
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.home-page .hero-actions .button { min-height: 44px; }
.home-page .pillar-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
}
.home-page .intro-section { padding: 2.65rem 0 2.35rem; }
.home-page .intro-grid { gap: 2.7rem; }
.home-page .intro-media img { aspect-ratio: 1.75 / 1; }
.home-page .projects-section { padding: 1.95rem 0 2.35rem; }
.home-page .project-card .card-image { aspect-ratio: 1.8 / 1; }
.home-page .project-card .card-body { min-height: 116px; padding-bottom: 2.35rem; }
.home-page .news-section { padding: 2.35rem 0; }
.home-page .news-card .card-image { aspect-ratio: 2.15 / 1; }
.home-page .news-card .card-body { min-height: 118px; }

@media (min-width: 821px) {
  .home-page .hero { min-height: 360px; height: min(420px, 34vw); }
  .home-page .hero-slide { align-items: flex-start; }
  .home-page .hero-content { padding: 2.65rem 0 3.1rem; }
  .home-page .hero h1 { max-width: 560px; font-size: 3.35rem; }
  .home-page .hero p { margin-bottom: 1.1rem; }
}

@media (min-width: 821px) and (max-width: 1050px) {
  .home-page .hero h1 { font-size: 2.65rem; }
}

@media (max-width: 820px) {
  .home-page .hero-actions { flex-direction: row; }
  .home-page .hero-actions .button { width: auto; min-width: 0; flex: 1 1 0; white-space: normal; overflow-wrap: anywhere; word-break: break-word; line-height: 1.18; text-align: center; }
  .home-page .intro-section { padding: 2.25rem 0; }
  .home-page .intro-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .home-page .intro-media { aspect-ratio: 1.58 / 1; }
  .home-page .projects-section, .home-page .news-section { padding: 2.25rem 0; }
  .home-page .project-card .card-image, .home-page .news-card .card-image { aspect-ratio: 1.9 / 1; }
  .home-page .project-card .card-body, .home-page .news-card .card-body { min-height: 0; padding-bottom: 2.6rem; }
  .home-page .pillar-icon svg { width: 20px; height: 20px; }
}

/* Responsive hardening for editable labels and narrow phones. */
.home-page .hero-actions,
.home-page .hero-actions .button,
.home-page .section-head,
.home-page .section-head > *,
.cta-inner,
.cta-inner > * { min-width: 0; }
.home-page .hero-actions .button { white-space: normal; overflow-wrap: anywhere; word-break: break-word; }
.home-page .section-head h2,
.home-page .section-head p,
.cta h2,
.cta p { overflow-wrap: anywhere; }

@media (min-width: 821px) and (max-width: 980px) {
  .nav-row { gap: .5rem; }
  .brand { width: 120px; }
  .desktop-nav { gap: 0; }
  .nav-item > a { padding-inline: .3rem; font-size: .64rem; }
  .nav-donate { margin-left: .2rem; padding-inline: .62rem; font-size: .62rem; }
}

@media (max-width: 390px) {
  .home-page .hero-actions { width: min(100%, 292px); flex-direction: column !important; align-items: stretch; }
  .home-page .hero-actions .button { width: 100% !important; flex: 0 0 auto; }
}

@media (max-width: 520px) {
  /* Keep the five focus areas inside the viewport: three cards above, two centered below. */
  .home-page .pillars { width: 100%; min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .home-page .pillar { min-width: 0; grid-column: auto !important; }
  .home-page .pillar:nth-child(4) { grid-column: 1 / 2 !important; }
  .home-page .pillar:nth-child(5) { grid-column: 2 / 3 !important; }
  .home-page .pillar + .pillar,
  .home-page .pillar:nth-child(4),
  .home-page .pillar:nth-child(5) { border-left: 1px solid rgba(79, 55, 43, .1); }
  .mobile-bottom-nav { width: 100vw; max-width: 100vw; }
}

/* Larger public typography and navigation scale from the supplied reference. */
@media (min-width: 1281px) {
  .nav-row { min-height: 112px; gap: 1.6rem; }
  .brand { width: 166px; height: 100px; }
  .desktop-nav { gap: .25rem; }
  .nav-item > a { min-height: 52px; padding: .8rem .78rem; font-size: 1.16rem; font-weight: 500; letter-spacing: .015em; text-transform: uppercase; }
  .nav-caret { width: 30px; height: 44px; font-size: 1.1rem; }
  .mega-menu { width: 300px; padding: .7rem; }
  .mega-menu a { padding: .7rem .8rem; font-size: 1rem; }
  .nav-donate { min-height: 48px; margin-left: .7rem; padding: .75rem 1.1rem; font-size: .95rem; }
  .section-head h2 { font-size: 3.15rem; }
  .section-head p, .page-hero p { font-size: 1.1rem; }
  .card-body h2, .card-body h3 { font-size: 1.4rem; }
  .card-body p { font-size: .95rem; }
  .pillar h3 { font-size: 1.08rem; }
  .pillar p { font-size: .88rem; }
  .rich-content { font-size: 1.1rem; }
  .address-card h2, .fund-choice h3 { font-size: 1.35rem; }
  .address-card p, .fund-choice p, .branch-contact { font-size: .95rem; }
  .site-footer a, .site-footer p { font-size: .92rem; }
  .home-page .section-head h2 { font-size: 3.15rem; }
  .home-page .section-head p { font-size: 1.02rem; }
  .home-page .pillar h3 { font-size: 1rem; }
  .home-page .pillar p { font-size: .78rem; }
  .home-page .intro-copy p { font-size: .96rem; }
  .home-page .card-meta { font-size: .66rem; }
  .home-page .card-body h3, .home-page .news-card .card-body h3 { font-size: 1.12rem; }
  .home-page .card-body p { font-size: .86rem; }
  .home-page .link-arrow { font-size: .82rem; }
}

@media (min-width: 981px) and (max-width: 1280px) {
  .nav-row { min-height: 104px; gap: 1rem; }
  .brand { width: 150px; height: 92px; }
  .desktop-nav { gap: .08rem; }
  .nav-item > a { min-height: 48px; padding: .7rem .52rem; font-size: .96rem; font-weight: 600; letter-spacing: .01em; text-transform: uppercase; }
  .nav-caret { width: 25px; }
  .mega-menu a { font-size: .92rem; }
  .nav-donate { min-height: 44px; margin-left: .35rem; padding: .65rem .8rem; font-size: .8rem; }
  .section-head h2 { font-size: 3rem; }
  .section-head p, .page-hero p { font-size: 1.05rem; }
  .card-body h2, .card-body h3 { font-size: 1.34rem; }
  .card-body p, .rich-content { font-size: .94rem; }
  .home-page .section-head h2 { font-size: 2.85rem; }
  .home-page .section-head p { font-size: .94rem; }
  .home-page .pillar h3 { font-size: .92rem; }
  .home-page .pillar p { font-size: .74rem; }
  .home-page .intro-copy p { font-size: .9rem; }
  .home-page .card-body h3, .home-page .news-card .card-body h3 { font-size: 1.05rem; }
  .home-page .card-body p { font-size: .8rem; }
  .home-page .link-arrow { font-size: .78rem; }
}

@media (min-width: 821px) and (max-width: 980px) {
  .nav-item > a { min-height: 44px; padding-inline: .38rem; font-size: .78rem; font-weight: 600; text-transform: uppercase; }
  .nav-donate { min-height: 40px; padding-inline: .65rem; font-size: .68rem; }
  .section-head h2 { font-size: 2.7rem; }
  .page-hero h1 { font-size: 3.35rem; }
  .card-body h2, .card-body h3 { font-size: 1.3rem; }
  .rich-content { font-size: 1.04rem; }
  .home-page .section-head h2 { font-size: 2.55rem; }
  .home-page .section-head p { font-size: .88rem; }
  .home-page .card-body h3, .home-page .news-card .card-body h3 { font-size: 1rem; }
  .home-page .card-body p { font-size: .76rem; }
}

@media (max-width: 820px) {
  .drawer-head { font-size: 1.5rem; }
  .drawer-link-row a { font-size: 1.04rem; }
  .drawer-submenu a { font-size: .94rem; }
  .mobile-bottom-link { font-size: .72rem; }
  .mobile-bottom-icon { width: 28px; height: 28px; font-size: 1.3rem; }
  .page-hero p, .rich-content { font-size: 1.04rem; }
  .card-body p, .branch-contact { font-size: .9rem; }
  .home-page .section-head h2 { font-size: clamp(1.95rem, 6.4vw, 2.4rem); }
  .home-page .section-head p { font-size: .86rem; }
  .home-page .pillar h3 { font-size: .72rem; }
  .home-page .pillar p { font-size: .67rem; }
  .home-page .intro-copy p { font-size: .88rem; }
  .home-page .card-body h3, .home-page .news-card .card-body h3 { font-size: .98rem; }
  .home-page .card-body p { font-size: .78rem; }
  .home-page .link-arrow { font-size: .72rem; }
}
