:root {
    --lime: #d9ad63;
    --lime-deep: #b77b32;
    --ink: #080808;
    --ink-soft: #15110d;
    --cream: #f4eadc;
    --paper: #090806;
    --white: #fff;
    --muted: #b3a899;
    --line: rgba(217, 173, 99, .2);
    --shadow: 0 28px 80px rgba(0, 0, 0, .38);
    --gold: #d9ad63;
    --gold-soft: rgba(217, 173, 99, .16);
    --brown: #2a160d;
    --container: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #f9f0e4; background: var(--paper); font-family: Inter, "Segoe UI", Arial, sans-serif; line-height: 1.65; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 120px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; color: #638200; font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { width: 34px; height: 2px; background: var(--lime-deep); content: ""; }
.eyebrow-light { color: var(--lime); }
.section-title { margin: 16px 0 25px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.9rem, 5vw, 5.2rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.lead { color: var(--ink); font-size: 1.2rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; min-height: 52px; padding: 0 24px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-size: .86rem; font-weight: 850; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #120b07; background: linear-gradient(135deg, #f6d89b, #c4843f); box-shadow: 0 18px 45px rgba(217,173,99,.25); }
.button-outline { color: var(--white); border-color: rgba(217,173,99,.45); background: rgba(217,173,99,.08); }
.button-outline-dark { color: #f9f0e4; border-color: rgba(217,173,99,.35); background: rgba(255,255,255,.035); }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.hero .reveal { opacity: 1; transform: none; }

.site-header { position: absolute; z-index: 60; top: 0; right: 0; left: 0; color: var(--white); background: linear-gradient(180deg, rgba(8,8,8,.86), rgba(8,8,8,0)); transition: background .3s ease, box-shadow .3s ease, backdrop-filter .3s ease; }
.internal-page .site-header { position: sticky; background: rgba(8,8,8,.94); box-shadow: 0 18px 55px rgba(0,0,0,.28); }
.site-header.header-scrolled { position: fixed; background: rgba(8,8,8,.78); border-bottom: 1px solid rgba(217,173,99,.13); box-shadow: 0 12px 35px rgba(0,0,0,.24); backdrop-filter: blur(18px); }
.navbar { display: flex; min-height: 126px; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 158px; height: auto; object-fit: contain; filter: drop-shadow(0 12px 28px rgba(0,0,0,.18)); }
.main-menu { display: flex; align-items: center; gap: 26px; color: rgba(255,255,255,.76); font-size: .86rem; font-weight: 750; }
.main-menu a:hover { color: var(--white); }
.main-menu .button { color: var(--ink); }
.menu-button { display: none; width: 48px; height: 48px; padding: 11px; border: 0; color: var(--white); background: transparent; }
.menu-button span { display: block; height: 3px; margin: 5px 0; border-radius: 999px; background: currentColor; transition: .2s; }
.menu-open .menu-button span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-button span:nth-child(2) { opacity: 0; }
.menu-open .menu-button span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.hero { position: relative; min-height: 920px; overflow: hidden; color: var(--white); background: radial-gradient(circle at 78% 20%, rgba(217,173,99,.24), transparent 27%), radial-gradient(circle at 12% 15%, rgba(125,55,20,.42), transparent 32%), linear-gradient(135deg, #050505 0%, #120b07 52%, #050505 100%); }
.hero::before { position: absolute; inset: 0; opacity: .34; background: linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.1) 57%, rgba(0,0,0,.62)), url("/images/social/moises-social.jpg") center right / cover no-repeat; filter: saturate(.72) contrast(1.06); content: ""; }
.hero-grid { position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(217,173,99,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(217,173,99,.16) 1px, transparent 1px); background-size: 92px 92px; mask-image: linear-gradient(90deg, #000, transparent 85%); }
.hero-layout { position: relative; display: grid; min-height: 850px; padding-top: 175px; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 70px; }
.hero-copy h1 { max-width: 760px; margin: 18px 0 28px; font-family: Georgia, serif; font-size: clamp(4rem, 7vw, 8rem); font-weight: 500; letter-spacing: -.075em; line-height: .84; }
.hero-copy h1 em { color: var(--gold); font-weight: 500; text-shadow: 0 0 45px rgba(217,173,99,.38); }
.hero-copy > p { max-width: 620px; margin-bottom: 35px; color: rgba(255,255,255,.67); font-size: 1.12rem; }
.hero-proof { display: grid; max-width: 640px; margin-top: 32px; grid-template-columns: repeat(3, 1fr); overflow: hidden; border: 1px solid rgba(217,173,99,.2); border-radius: 22px; background: rgba(255,255,255,.045); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); backdrop-filter: blur(18px); }
.hero-proof > div { display: grid; padding: 18px 20px; border-right: 1px solid rgba(217,173,99,.16); gap: 2px; }
.hero-proof > div:last-child { border-right: 0; }
.hero-proof strong { color: var(--gold); font-family: Georgia, serif; font-size: 2.1rem; font-weight: 500; line-height: 1; }
.hero-proof span { color: rgba(255,255,255,.66); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero-signals { display: flex; margin-top: 30px; flex-wrap: wrap; gap: 8px; }
.hero-signals span { padding: 8px 13px; border: 1px solid rgba(217,173,99,.2); border-radius: 999px; color: rgba(255,255,255,.68); background: rgba(0,0,0,.24); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.hero-visual { position: relative; min-height: 610px; }
.hero-photo { position: absolute; top: 20px; right: 0; width: 82%; height: 560px; overflow: hidden; border: 1px solid rgba(217,173,99,.2); border-radius: 32px; box-shadow: 0 45px 120px rgba(0,0,0,.55); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; filter: saturate(.86) contrast(1.03); }
.hero-photo::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,24,32,.45), transparent 50%); content: ""; }
.hero-note { position: absolute; z-index: 2; bottom: 20px; left: 0; display: grid; width: 310px; padding: 26px; border: 1px solid rgba(217,173,99,.35); border-radius: 22px; color: #fff4df; background: rgba(10,8,6,.84); box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.hero-note b { font-family: Georgia, serif; font-size: 1.4rem; }
.hero-note span { margin-top: 7px; font-size: .78rem; line-height: 1.5; }
.hero-number { position: absolute; top: -35px; right: -30px; color: rgba(255,255,255,.05); font-size: 12rem; font-weight: 950; letter-spacing: -.1em; }

.manifesto { padding: 20px 0; color: var(--white); border-top: 1px solid rgba(217,173,99,.16); border-bottom: 1px solid rgba(217,173,99,.16); background: linear-gradient(90deg, #3a1d0e, #0a0806, #3a1d0e); }
.manifesto-grid { display: grid; grid-template-columns: .35fr 1fr; align-items: center; gap: 60px; }
.manifesto-grid > span { color: var(--lime); font-size: .72rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.manifesto blockquote { margin: 0; font-family: Georgia, serif; font-size: clamp(1.55rem, 3vw, 2.65rem); line-height: 1.25; }

.about { color: #f9f0e4; background: radial-gradient(circle at 85% 10%, rgba(217,173,99,.14), transparent 28%), #0b0907; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 95px; }
.about-copy > p:not(.lead) { color: rgba(249,240,228,.66); }
.audience-panel { display: grid; margin: 34px 0 4px; padding: 24px; border: 1px solid rgba(217,173,99,.22); border-radius: 20px; background: linear-gradient(135deg, rgba(217,173,99,.14), rgba(255,255,255,.035)); }
.audience-panel span { color: var(--gold); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.audience-panel b { max-width: 540px; margin-top: 9px; color: #fff6ea; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; line-height: 1.16; }
.principles { display: grid; margin-top: 38px; border-top: 1px solid var(--line); }
.principles > div { display: grid; padding: 20px 0; grid-template-columns: 48px 1fr; border-bottom: 1px solid var(--line); gap: 12px; }
.principles b { color: var(--gold); font-size: .72rem; }
.principles span { display: grid; color: rgba(249,240,228,.62); font-size: .85rem; }
.principles strong { margin-bottom: 4px; color: #fff6ea; font-size: 1rem; }
.about-art { position: relative; min-height: 650px; }
.about-art > img { width: 92%; height: 580px; margin-left: auto; border-radius: 24px; object-fit: cover; box-shadow: var(--shadow); }
.about-card { position: absolute; bottom: 0; left: 0; display: grid; width: 340px; padding: 32px; border-radius: 20px; color: var(--white); background: var(--ink); box-shadow: var(--shadow); }
.about-card span { margin-bottom: 12px; color: var(--lime); font-size: .68rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.about-card b { font-family: Georgia, serif; font-size: 1.7rem; line-height: 1.18; }

.social-impact { padding: 125px 0; color: var(--white); background: radial-gradient(circle at 10% 10%, rgba(217,173,99,.16), transparent 27%), linear-gradient(180deg, #0b0907, #050505); }
.section-heading { display: flex; margin-bottom: 55px; align-items: end; justify-content: space-between; gap: 55px; }
.section-heading h2 { max-width: 760px; margin: 15px 0 0; font-family: Georgia, serif; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 500; letter-spacing: -.055em; line-height: .98; }
.section-heading > p { max-width: 420px; margin-bottom: 5px; color: rgba(255,255,255,.58); }
.section-heading.dark > p { color: var(--muted); }
.community-system-showcase { display: grid; margin: 15px 0 28px; padding: 36px; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 34px; border: 1px solid rgba(255,255,255,.1); border-radius: 32px; background: radial-gradient(circle at 75% 20%, rgba(255,129,13,.22), transparent 30%), linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025)); box-shadow: 0 32px 95px rgba(0,0,0,.34); }
.community-system-showcase span { color: var(--lime); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.community-system-showcase h3 { max-width: 430px; margin: 14px 0 18px; font-family: Georgia, serif; font-size: clamp(2.45rem, 4vw, 4.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .94; }
.community-system-showcase p { max-width: 470px; color: rgba(255,255,255,.64); }
.community-system-showcase figure { margin: 0; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 26px; background: #050505; box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 70px rgba(0,0,0,.32); }
.community-system-showcase img { width: 100%; display: block; border-radius: 12px; object-fit: contain; box-shadow: 0 18px 55px rgba(0,0,0,.35); }
.community-agenda-preview { display: grid; margin: 0 0 28px; padding: 28px; grid-template-columns: .9fr 1.1fr; gap: 24px; align-items: center; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: linear-gradient(145deg, rgba(255,129,13,.14), rgba(255,255,255,.035)); }
.agenda-preview-copy span { color: var(--lime); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.agenda-preview-copy h3 { margin: 12px 0 14px; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3.35rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.agenda-preview-copy p { max-width: 520px; color: rgba(255,255,255,.64); }
.agenda-preview-screen { padding: 18px; border: 1px solid rgba(255,255,255,.14); border-radius: 22px; color: #213047; background: #f7f9fb; box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.agenda-topbar { display: flex; margin-bottom: 14px; padding-bottom: 12px; align-items: center; justify-content: space-between; border-bottom: 1px solid #dde5ec; }
.agenda-topbar strong { color: #192438; font-size: 1.1rem; }
.agenda-topbar small { padding: 7px 10px; border-radius: 999px; color: #0c8f45; background: #e3f8eb; font-weight: 800; }
.agenda-row { display: grid; margin-top: 10px; padding: 14px 16px; grid-template-columns: 80px 1fr auto; align-items: center; gap: 14px; border: 1px solid #dfe8ef; border-left: 4px solid #0fbf5a; border-radius: 14px; background: #fff; }
.agenda-row span { color: #0c8f45; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.agenda-row strong { color: #23324a; }
.agenda-row small { color: #65758c; }
.agenda-row.active { border-color: #ff8a18; border-left-color: #ff8a18; background: #fff8ef; }
.community-ods-showcase { display: grid; margin: 0 0 28px; padding: 28px; grid-template-columns: 1.22fr .78fr; align-items: center; gap: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: radial-gradient(circle at 20% 20%, rgba(15,191,90,.18), transparent 34%), linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); }
.community-ods-showcase figure { margin: 0; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: #f7f9fb; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.community-ods-showcase img { width: 100%; display: block; border-radius: 12px; object-fit: contain; }
.community-ods-showcase span { color: var(--lime); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.community-ods-showcase h3 { margin: 12px 0 14px; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3.35rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.community-ods-showcase p { max-width: 480px; color: rgba(255,255,255,.64); }
.community-research-showcase { display: grid; margin: 0 0 28px; padding: 28px; grid-template-columns: .78fr 1.22fr; align-items: center; gap: 28px; border: 1px solid rgba(255,255,255,.1); border-radius: 28px; background: radial-gradient(circle at 80% 20%, rgba(91,184,88,.18), transparent 36%), linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.03)); }
.community-research-showcase span { color: var(--lime); font-size: .7rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.community-research-showcase h3 { margin: 12px 0 14px; font-family: Georgia, serif; font-size: clamp(2rem, 3vw, 3.35rem); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.community-research-showcase p { max-width: 500px; color: rgba(255,255,255,.64); }
.community-research-showcase figure { margin: 0; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: #f7f9fb; box-shadow: 0 24px 70px rgba(0,0,0,.28); }
.community-research-showcase img { width: 100%; display: block; border-radius: 12px; object-fit: contain; }
.impact-grid { display: grid; grid-template-columns: 1.35fr repeat(2, 1fr); gap: 16px; }
.impact-grid article { position: relative; display: flex; min-height: 280px; padding: 30px; flex-direction: column; justify-content: end; border: 1px solid rgba(217,173,99,.22); border-radius: 24px; background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.impact-grid article > span { position: absolute; top: 25px; left: 28px; color: var(--lime); font-size: .7rem; font-weight: 900; }
.impact-grid h3 { margin: 0 0 12px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; line-height: 1.1; }
.impact-grid p { margin: 0; color: rgba(255,255,255,.55); font-size: .87rem; }
.impact-feature { grid-row: span 2; background: radial-gradient(circle at 70% 20%, rgba(217,173,99,.28), transparent 35%), linear-gradient(145deg, #3b1d0e, #0b0907) !important; }
.impact-feature h3 { max-width: 420px; font-size: 3.1rem; }

.trajectory { padding: 125px 0; color: #f9f0e4; background: linear-gradient(180deg, #120b07, #090806); }
.trajectory .reveal { opacity: 1; transform: none; }
.trajectory .section-heading > p { color: var(--muted); }
.trajectory-row { display: grid; min-height: 570px; margin-top: 24px; overflow: hidden; grid-template-columns: 1fr 1fr; border: 1px solid rgba(217,173,99,.2); border-radius: 28px; background: rgba(255,255,255,.045); box-shadow: 0 28px 80px rgba(0,0,0,.32); }
.trajectory-image { min-height: 570px; overflow: hidden; }
.trajectory-image img { width: 100%; height: 100%; object-fit: cover; }
.trajectory-copy { display: flex; padding: 55px; align-items: flex-start; justify-content: center; flex-direction: column; }
.trajectory-logo { max-width: 220px; max-height: 95px; margin-bottom: 28px; object-fit: contain; object-position: left center; }
.church-logo { width: 100px; max-height: 100px; border-radius: 50%; }
.corrente-logo { max-width: 270px; }
.medware-logo { max-width: 245px; }
.trajectory-type { color: #638200; font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.trajectory-copy h3 { margin: 12px 0 18px; font-family: Georgia, serif; font-size: clamp(2.6rem, 4.3vw, 4.6rem); font-weight: 500; letter-spacing: -.055em; line-height: .95; }
.trajectory-copy > p { margin: 0 0 16px; color: var(--muted); }
.trajectory-copy .trajectory-connection { color: #fff3df; font-weight: 650; }
.trajectory-link { display: inline-flex; margin-top: 10px; color: #587400; font-size: .82rem; font-weight: 900; }
.trajectory-social { color: var(--white); background: var(--ink); }
.trajectory-social .trajectory-copy > p { color: rgba(255,255,255,.62); }
.trajectory-social .trajectory-copy .trajectory-connection { color: var(--white); }
.trajectory-social .trajectory-link { color: var(--lime); }
.trajectory-social-art { display: flex; padding: 55px; justify-content: center; flex-direction: column; background: radial-gradient(circle at 75% 25%, rgba(199,255,50,.2), transparent 30%), #27342f; }
.trajectory-social-art > span { color: var(--lime); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.trajectory-social-art > strong { max-width: 520px; margin: 18px 0 42px; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5.3rem); font-weight: 500; letter-spacing: -.055em; line-height: .93; }
.trajectory-social-art > div { display: flex; flex-wrap: wrap; gap: 9px; }
.trajectory-social-art b { padding: 9px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: rgba(255,255,255,.7); font-size: .7rem; text-transform: uppercase; letter-spacing: .09em; }
.trajectory-product { display: flex; min-height: 570px; padding: 55px; align-items: flex-start; justify-content: center; flex-direction: column; color: var(--white); background: radial-gradient(circle at 80% 20%, rgba(73,160,235,.28), transparent 34%), linear-gradient(145deg, #091d42, #0d3c73); }
.trajectory-product > span { color: #8fd4ff; font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.trajectory-product > strong { max-width: 520px; margin: 18px 0 42px; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5.3rem); font-weight: 500; letter-spacing: -.055em; line-height: .93; }
.trajectory-product > div { display: flex; flex-wrap: wrap; gap: 9px; }
.trajectory-product b { padding: 9px 14px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: rgba(255,255,255,.76); font-size: .7rem; letter-spacing: .09em; text-transform: uppercase; }

.faith { color: #160c07; background: linear-gradient(180deg, #f5ead8, #fff8ef); }
.faith-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 100px; }
.faith-cover { display: grid; min-height: 650px; place-items: center; border: 1px solid var(--line); border-radius: 28px; background: var(--white); }
.faith-cover img { max-height: 570px; transform: none; }
.faith-copy > p:not(.lead) { color: var(--muted); }
.faith-copy blockquote { margin: 35px 0 0; padding: 25px 0 25px 28px; border-left: 3px solid var(--lime-deep); font-family: Georgia, serif; font-size: 1.55rem; line-height: 1.4; }

.books { padding: 125px 0; color: #160c07; background: var(--white); }
.books .eyebrow-light { color: #9a672d; }
.books .section-heading > p { color: #6d6257; }
.book-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.book-card { position: relative; min-height: 560px; padding: 25px; border: 1px solid rgba(22,12,7,.12); border-radius: 24px; background: var(--white); box-shadow: 0 18px 55px rgba(22,12,7,.08); }
.book-card img { width: 100%; height: 385px; object-fit: contain; transition: transform .35s ease; }
.book-card:hover img { transform: translateY(-7px) rotate(-1deg); }
.book-card span { display: block; margin: 25px 0 10px; color: var(--lime); font-size: .68rem; font-weight: 900; }
.book-card h3 { margin: 0; font-family: Georgia, serif; font-size: 1.25rem; font-weight: 500; line-height: 1.25; }

.latest { color: #fff6ea; background: linear-gradient(180deg, #090806, #120b07); }
.article-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.article-card { overflow: hidden; border: 1px solid rgba(217,173,99,.2); border-radius: 24px; background: rgba(255,255,255,.055); box-shadow: 0 24px 70px rgba(0,0,0,.26); }
.blog-card { overflow: hidden; border: 1px solid rgba(22,12,7,.1); border-radius: 24px; color: #160c07; background: var(--white); box-shadow: 0 18px 55px rgba(22,12,7,.08); }
.article-image, .blog-image { position: relative; display: block; height: 280px; overflow: hidden; background: #dfe3dd; }
.article-image img, .blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.article-card:hover img, .blog-card:hover img { transform: scale(1.035); }
.article-image span { position: absolute; right: 18px; bottom: 18px; display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--lime); font-size: .7rem; font-weight: 900; }
.article-card > div, .blog-card > div { padding: 27px; }
.article-card small, .blog-card > div > span { color: #9a672d; font-size: .68rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.article-card h3, .blog-card h2 { margin: 10px 0; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; letter-spacing: -.025em; line-height: 1.12; }
.blog-card h2, .blog-card h2 a { color: #1d120c; }
.article-card p { color: rgba(249,240,228,.62); font-size: .88rem; }
.blog-card p { color: #6d6257; font-size: .88rem; }
.blog-card a { color: inherit; }
.blog-page .blog-card > div > span, .related-posts .blog-card > div > span { color: #6b8400; }
.read-link { color: #577400; font-size: .8rem; font-weight: 850; }

.closing { padding: 0 0 110px; background: #120b07; }
.closing-card { padding: 85px; border: 1px solid rgba(217,173,99,.22); border-radius: 32px; color: var(--white); background: radial-gradient(circle at 85% 20%, rgba(217,173,99,.2), transparent 30%), linear-gradient(145deg, #2b160c, #050505); box-shadow: 0 40px 110px rgba(0,0,0,.36); }
.closing-card h2 { max-width: 850px; margin: 17px 0 22px; font-family: Georgia, serif; font-size: clamp(3rem, 5.8vw, 6rem); font-weight: 500; letter-spacing: -.06em; line-height: .92; }
.closing-card p { max-width: 700px; margin-bottom: 30px; color: rgba(255,255,255,.62); }

.blog-page { color: #160c07; background: #fffaf2; }
.blog-hero { padding: 150px 0 90px; color: var(--white); background: radial-gradient(circle at 80% 30%, rgba(217,173,99,.22), transparent 30%), linear-gradient(135deg, #050505, #241107); }
.blog-hero h1 { max-width: 850px; margin: 15px 0 20px; font-family: Georgia, serif; font-size: clamp(3.5rem, 7vw, 7rem); font-weight: 500; letter-spacing: -.065em; line-height: .9; }
.blog-hero p { max-width: 630px; color: rgba(255,255,255,.62); font-size: 1.08rem; }
.blog-page > .section { background: #fffaf2; }
.public-notice { margin-bottom: 30px; padding: 16px 18px; border: 1px solid #d6e6a2; border-radius: 12px; color: #526700; background: #f4f9df; }
.public-pagination { display: flex; margin-top: 35px; justify-content: center; gap: 8px; }
.public-pagination a { min-width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.public-pagination a.active { color: var(--ink); border-color: var(--lime-deep); background: var(--lime); }

.post-page { color: #160c07; background: #fffaf2; }
.post-hero { position: relative; min-height: 680px; display: flex; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); }
.post-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.post-hero-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16,24,32,.98), rgba(16,24,32,.3) 75%); }
.post-heading { position: relative; z-index: 2; padding-bottom: 75px; }
.post-heading > a { color: var(--lime); font-size: .8rem; font-weight: 850; }
.post-heading > span { display: block; margin-top: 35px; color: rgba(255,255,255,.58); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.post-heading h1 { max-width: 960px; margin: 12px 0 18px; font-family: Georgia, serif; font-size: clamp(3rem, 6.4vw, 6.4rem); font-weight: 500; letter-spacing: -.06em; line-height: .92; }
.post-heading p { max-width: 740px; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.post-content-wrap { width: min(900px, calc(100% - 40px)); margin: 75px auto; padding: 58px min(7vw, 78px); border: 1px solid rgba(22,12,7,.1); border-radius: 28px; background: var(--white); box-shadow: 0 18px 60px rgba(22,12,7,.08); }
.post-author { display: grid; margin-bottom: 38px; padding-bottom: 22px; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; border-bottom: 1px solid rgba(22,12,7,.12); }
.post-author span { color: #7e7064; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }
.post-author .post-view-count { color: #9a672d; font-weight: 850; }
.post-content { color: #20140e; font-family: Georgia, serif; font-size: 1.16rem; line-height: 1.95; }
.post-content h2, .post-content h3 { margin-top: 2em; line-height: 1.2; }
.post-content img { height: auto; margin: 35px auto; border-radius: 16px; }
.post-content a { color: #9a672d; text-decoration: underline; }
.post-share { display: flex; margin-top: 55px; padding: 25px; align-items: center; justify-content: space-between; gap: 20px; border-radius: 16px; background: var(--cream); }
.post-share a { font-weight: 850; color: #587400; }
.related-posts { color: #160c07; background: #fffaf2; }
.related-posts .section-title { color: #160c07; }
.related-posts .eyebrow { color: #8b6b15; }

.site-footer { padding: 75px 0 25px; color: rgba(255,255,255,.65); background: #0c1217; }
.footer-grid { display: grid; padding-bottom: 55px; grid-template-columns: 1.7fr 1fr 1fr; gap: 70px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-intro p { max-width: 470px; }
.footer-brand { display: flex; align-items: center; gap: 13px; color: var(--white); font-family: Georgia, serif; font-size: 1.35rem; }
.footer-brand img { width: 72px; height: auto; object-fit: contain; }
.footer-grid h3 { color: var(--lime); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-grid > div:not(.footer-intro) { display: grid; align-content: start; gap: 10px; font-size: .85rem; }
.footer-bottom { display: flex; padding-top: 24px; justify-content: space-between; gap: 20px; font-size: .72rem; }

@media (max-width: 980px) {
    .menu-button { display: block; }
    .main-menu { position: fixed; top: 0; right: 0; width: min(390px, 88vw); height: 100vh; display: flex; padding: 105px 35px 35px; align-items: stretch; flex-direction: column; background: var(--ink); box-shadow: -20px 0 70px rgba(0,0,0,.35); transform: translateX(105%); transition: transform .25s ease; }
    .menu-open .main-menu { transform: none; }
    .hero-layout, .about-grid, .faith-grid { grid-template-columns: 1fr; }
    .hero-layout { padding: 190px 0 80px; }
    .hero-visual { min-height: 590px; }
    .hero-photo { width: 88%; }
    .manifesto-grid { grid-template-columns: 1fr; gap: 20px; }
    .about-grid, .faith-grid { gap: 55px; }
    .impact-grid { grid-template-columns: repeat(2, 1fr); }
    .community-system-showcase, .community-agenda-preview, .community-ods-showcase, .community-research-showcase { grid-template-columns: 1fr; }
    .impact-feature { grid-row: auto; grid-column: 1 / -1; min-height: 400px !important; }
    .trajectory-row { grid-template-columns: 1fr; }
    .trajectory-social .trajectory-copy { order: 2; }
    .trajectory-social-art { min-height: 500px; }
    .trajectory-product, .trajectory-image { min-height: 480px; }
    .book-grid, .article-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .book-card:last-child { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-intro { grid-column: 1 / -1; }
}

@media (max-width: 650px) {
    :root { --container: min(100% - 28px, 1180px); }
    .section { padding: 82px 0; }
    .navbar { min-height: 102px; }
    .brand img { width: 124px; height: auto; }
    .hero, .hero-layout { min-height: auto; }
    .hero-layout { padding-top: 155px; gap: 45px; }
    .hero-copy h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
    .hero-signals { margin-top: 35px; }
    .hero-visual { min-height: 500px; }
    .hero-photo { width: 94%; height: 455px; }
    .hero-note { bottom: -5px; width: 245px; padding: 20px; }
    .manifesto { padding: 42px 0; }
    .about-art { min-height: 520px; }
    .about-art > img { width: 95%; height: 465px; }
    .about-card { width: 280px; padding: 24px; }
    .section-heading { align-items: stretch; flex-direction: column; gap: 20px; }
    .impact-grid, .book-grid, .article-grid, .blog-grid { grid-template-columns: 1fr; }
    .community-system-showcase { padding: 22px; border-radius: 24px; }
    .community-system-showcase figure { padding: 10px; border-radius: 18px; }
    .community-agenda-preview { padding: 20px; }
    .agenda-row { grid-template-columns: 1fr; gap: 5px; }
    .community-ods-showcase { padding: 20px; }
    .community-ods-showcase figure { padding: 8px; }
    .community-research-showcase { padding: 20px; }
    .community-research-showcase figure { padding: 8px; }
    .impact-feature { grid-column: auto; min-height: 360px !important; }
    .impact-feature h3 { font-size: 2.4rem; }
    .trajectory { padding: 82px 0; }
    .trajectory-row { min-height: 0; border-radius: 22px; }
    .trajectory-copy, .trajectory-social-art, .trajectory-product { padding: 35px 25px; }
    .trajectory-image, .trajectory-product { min-height: 390px; }
    .trajectory-social-art { min-height: 460px; }
    .trajectory-social-art > strong { font-size: 3.2rem; }
    .faith-cover { min-height: 500px; }
    .faith-cover img { max-height: 435px; }
    .book-card { min-height: 520px; }
    .book-card img { height: 355px; }
    .book-card:last-child { display: block; }
    .closing { padding-bottom: 0; }
    .closing > .container { width: 100%; }
    .closing-card { padding: 70px 24px; border-radius: 0; }
    .blog-hero { padding: 120px 0 70px; }
    .post-hero { min-height: 600px; }
    .post-heading { padding-bottom: 50px; }
    .post-share { align-items: stretch; flex-direction: column; }
    .post-author { grid-template-columns: auto 1fr; }
    .post-author .post-view-count { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-intro { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
}

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