:root {
    --ink: #17312a;
    --muted: #60736c;
    --green-950: #0c2c22;
    --green-900: #12372a;
    --green-800: #19523c;
    --green-700: #247451;
    --green-100: #dfeee7;
    --cream: #f8f4e9;
    --sand: #e7c779;
    --white: #fff;
    --line: #dce5df;
    --shadow: 0 22px 55px rgba(18, 55, 42, .1);
    --radius: 26px;
    --container: 1180px;
    --footer-background: #09251d;
    --heading-font: Georgia, "Times New Roman", serif;
    --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: #fdfdf9;
    font-family: var(--body-font);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--green-950);
    font-family: var(--heading-font);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.85rem);
}

h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2.2rem, 4.2vw, 3.65rem);
}

h3 {
    margin-bottom: .7rem;
    font-size: 1.55rem;
}

.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

.narrow {
    max-width: 800px;
}

.skip-link {
    position: fixed;
    z-index: 100;
    top: 10px;
    left: 10px;
    padding: 10px 16px;
    color: var(--white);
    background: var(--green-950);
    border-radius: 8px;
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: relative;
    z-index: 20;
    border-bottom: 1px solid rgba(23, 49, 42, .08);
    background: rgba(253, 253, 249, .95);
}

.header-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    gap: 28px;
}

.brand {
    display: inline-flex;
    min-width: 250px;
    align-items: center;
    gap: 12px;
}

.brand-mark,
.brand-logo {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    overflow: hidden;
    color: var(--cream);
    background: var(--green-900);
    border-radius: 50% 50% 46% 46%;
}

.brand-mark span {
    font-family: var(--heading-font);
    font-size: 1.65rem;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-copy strong {
    max-width: 250px;
    color: var(--green-950);
    font-family: var(--heading-font);
    font-size: 1rem;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: .7rem;
    letter-spacing: .06em;
}

.desktop-navigation {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 28px;
}

.desktop-navigation a {
    position: relative;
    padding: 31px 0 29px;
    color: #41564f;
    font-size: .9rem;
    font-weight: 650;
}

.desktop-navigation a::after {
    position: absolute;
    right: 0;
    bottom: 21px;
    left: 0;
    height: 2px;
    background: var(--green-700);
    content: "";
    transform: scaleX(0);
    transition: transform .2s ease;
}

.desktop-navigation a:hover,
.desktop-navigation a.active {
    color: var(--green-800);
}

.desktop-navigation a:hover::after,
.desktop-navigation a.active::after {
    transform: scaleX(1);
}

.header-action {
    padding: 11px 18px;
    color: var(--white);
    background: var(--green-800);
    border-radius: 99px;
    font-size: .82rem;
    font-weight: 750;
    transition: background .2s ease, transform .2s ease;
}

.header-action:hover {
    background: var(--green-950);
    transform: translateY(-2px);
}

.mobile-navigation {
    display: none;
    margin-left: auto;
}

.mobile-navigation summary {
    display: grid;
    width: 44px;
    height: 44px;
    cursor: pointer;
    list-style: none;
    place-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 50%;
}

.mobile-navigation summary::-webkit-details-marker {
    display: none;
}

.mobile-navigation summary span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--green-900);
}

.mobile-navigation nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: flex;
    padding: 20px;
    flex-direction: column;
    gap: 4px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.mobile-navigation nav a {
    padding: 10px 12px;
    border-radius: 9px;
    font-weight: 700;
}

.mobile-navigation nav a:hover {
    background: var(--cream);
}

.hero,
.page-hero {
    position: relative;
    overflow: hidden;
    color: #f7f6ed;
    background: var(--green-950);
}

.hero {
    min-height: 730px;
}

.hero-pattern,
.page-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .12;
    background-image: linear-gradient(30deg, transparent 48%, rgba(255, 255, 255, .22) 49%, rgba(255, 255, 255, .22) 51%, transparent 52%);
    background-size: 44px 76px;
    mask-image: linear-gradient(90deg, transparent, #000);
}

.hero::before {
    position: absolute;
    width: 600px;
    height: 600px;
    right: -180px;
    bottom: -330px;
    background: rgba(231, 199, 121, .1);
    border-radius: 50%;
    content: "";
}

.hero-grid {
    position: relative;
    display: grid;
    min-height: 730px;
    padding-block: 95px;
    align-items: center;
    grid-template-columns: 1.15fr .85fr;
    gap: 70px;
}

.hero-copy {
    max-width: 700px;
}

.hero h1,
.page-hero h1,
.cta h2 {
    color: var(--white);
}

.hero h1 {
    max-width: 720px;
    margin: 0 0 25px;
}

.hero-description {
    max-width: 650px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, .75);
    font-size: 1.1rem;
}

.eyebrow {
    display: flex;
    margin-bottom: 18px;
    align-items: center;
    gap: 10px;
    color: var(--green-700);
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow::before {
    width: 32px;
    height: 1px;
    background: currentColor;
    content: "";
}

.eyebrow.light {
    color: var(--sand);
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 99px;
    font-size: .9rem;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--green-950);
    background: var(--sand);
}

.button-primary:hover {
    background: #f0d995;
}

.button-ghost {
    color: var(--white);
    border-color: rgba(255, 255, 255, .28);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .5);
}

.button-light {
    color: var(--green-950);
    background: var(--white);
}

.hero-highlights {
    display: flex;
    padding: 0;
    margin: 42px 0 0;
    flex-wrap: wrap;
    gap: 24px;
    list-style: none;
    color: rgba(255, 255, 255, .72);
    font-size: .84rem;
}

.hero-highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-highlights span {
    display: grid;
    width: 20px;
    height: 20px;
    place-items: center;
    color: var(--sand);
    border: 1px solid rgba(231, 199, 121, .4);
    border-radius: 50%;
    font-size: .65rem;
}

.hero-visual {
    position: relative;
    min-height: 510px;
}

.arch {
    position: absolute;
    bottom: 0;
    width: 300px;
    height: 470px;
    border-radius: 160px 160px 25px 25px;
}

.arch-back {
    right: -10px;
    bottom: 25px;
    border: 1px solid rgba(231, 199, 121, .28);
    transform: rotate(6deg);
}

.arch-front {
    right: 34px;
    overflow: hidden;
    background: linear-gradient(180deg, #d5ad5e, #8ab493 55%, #49775e);
    box-shadow: 0 35px 70px rgba(0, 0, 0, .28);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.arch-sun {
    position: absolute;
    width: 110px;
    height: 110px;
    top: 115px;
    left: 50%;
    background: rgba(255, 241, 190, .72);
    border-radius: 50%;
    transform: translateX(-50%);
}

.mosque {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 230px;
    color: #12372a;
}

.mosque .building {
    position: absolute;
    right: 45px;
    bottom: 0;
    left: 45px;
    height: 118px;
    background: currentColor;
    border-radius: 5px 5px 0 0;
}

.mosque .dome {
    position: absolute;
    width: 170px;
    height: 115px;
    right: 65px;
    bottom: 100px;
    background: currentColor;
    border-radius: 90px 90px 12px 12px;
}

.mosque .dome::before {
    position: absolute;
    top: -36px;
    left: 82px;
    width: 4px;
    height: 38px;
    background: currentColor;
    content: "";
}

.mosque .dome::after {
    position: absolute;
    top: -45px;
    left: 77px;
    width: 14px;
    height: 14px;
    border: 3px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    content: "";
}

.mosque .minaret {
    position: absolute;
    bottom: 0;
    z-index: 2;
    width: 27px;
    height: 185px;
    background: currentColor;
}

.mosque .minaret::before {
    position: absolute;
    top: -22px;
    left: -6px;
    width: 39px;
    height: 28px;
    background: currentColor;
    border-radius: 50% 50% 4px 4px;
    content: "";
}

.mosque .minaret.left {
    left: 30px;
}

.mosque .minaret.right {
    right: 30px;
}

.hero-note {
    position: absolute;
    right: 0;
    bottom: 45px;
    display: flex;
    max-width: 225px;
    padding: 15px;
    align-items: center;
    gap: 11px;
    color: var(--green-950);
    background: var(--cream);
    border-radius: 14px;
    box-shadow: var(--shadow);
    font-size: .75rem;
}

.hero-note strong {
    display: block;
    font-size: .95rem;
}

.note-icon {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    color: var(--sand);
    background: var(--green-900);
    border-radius: 50%;
}

.page-hero {
    padding-block: 110px;
    text-align: center;
}

.page-hero .container {
    position: relative;
}

.page-hero .eyebrow {
    justify-content: center;
}

.page-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(2.8rem, 6vw, 5rem);
}

.page-hero p:last-child {
    margin: 0 auto;
    color: rgba(255, 255, 255, .72);
    font-size: 1.08rem;
}

.section {
    padding-block: 110px;
}

.section-soft {
    background: var(--cream);
}

.split-layout,
.story-grid,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
}

.section-heading h2 {
    margin-bottom: 0;
}

.lead {
    color: #4f655d;
    font-size: 1.1rem;
}

.check-list {
    display: grid;
    padding: 0;
    margin: 30px 0 0;
    gap: 15px;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-weight: 650;
}

.check-list span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    margin-top: 1px;
    place-items: center;
    color: var(--white);
    background: var(--green-700);
    border-radius: 50%;
    font-size: .7rem;
}

.center-heading {
    max-width: 720px;
    margin: 0 auto 55px;
    text-align: center;
}

.center-heading .eyebrow {
    justify-content: center;
}

.center-heading > p:last-child {
    color: var(--muted);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.program-card {
    position: relative;
    min-height: 270px;
    padding: 35px 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(18, 55, 42, .08);
    border-radius: 20px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.program-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.program-card::after {
    position: absolute;
    width: 100px;
    height: 100px;
    right: -45px;
    bottom: -45px;
    background: var(--green-100);
    border-radius: 50%;
    content: "";
}

.program-number {
    display: block;
    margin-bottom: 55px;
    color: var(--green-700);
    font-family: var(--heading-font);
    font-size: 1rem;
    font-weight: 700;
}

.program-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: .93rem;
}

.statistics {
    padding-block: 50px;
    color: var(--white);
    background: var(--green-800);
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.statistic {
    display: flex;
    padding: 15px 32px;
    flex-direction: column;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, .18);
}

.statistic:last-child {
    border-right: 0;
}

.statistic strong {
    color: var(--sand);
    font-family: var(--heading-font);
    font-size: 2.6rem;
    line-height: 1.2;
}

.statistic span {
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.story-grid {
    align-items: center;
}

.story-decoration {
    display: flex;
    min-height: 430px;
    padding: 55px;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: var(--white);
    background: var(--green-800);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.story-decoration::before {
    width: 250px;
    height: 250px;
    margin: -170px auto 50px;
    border: 42px solid rgba(231, 199, 121, .24);
    border-radius: 50%;
    content: "";
}

.story-year {
    color: var(--sand);
    font-family: var(--heading-font);
    font-size: 4.5rem;
    line-height: 1;
}

.story-caption {
    margin-top: 10px;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .1em;
    text-transform: uppercase;
}

.body-copy {
    color: var(--muted);
    font-size: 1.02rem;
}

.vision-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 24px;
}

.vision-card,
.mission-card {
    padding: 45px;
    border-radius: var(--radius);
}

.vision-card {
    color: var(--white);
    background: var(--green-900);
}

.mission-card {
    background: var(--white);
    border: 1px solid var(--line);
}

.card-label {
    color: var(--sand);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.vision-card blockquote {
    margin: 70px 0 0;
    color: var(--white);
    font-family: var(--heading-font);
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.35;
}

.mission-card ol {
    display: grid;
    padding: 0;
    margin: 28px 0 0;
    gap: 20px;
    list-style: none;
}

.mission-card li {
    display: grid;
    align-items: start;
    color: var(--muted);
    grid-template-columns: 42px 1fr;
    gap: 12px;
}

.mission-card li span {
    color: var(--green-700);
    font-family: var(--heading-font);
    font-weight: 700;
}

.cta {
    display: flex;
    padding: 62px;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    overflow: hidden;
    color: rgba(255, 255, 255, .75);
    background: var(--green-900);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.cta > div {
    max-width: 720px;
}

.cta h2 {
    margin-bottom: 14px;
}

.cta p:last-child {
    margin-bottom: 0;
}

.cta .button {
    flex: 0 0 auto;
}

.contact-grid {
    align-items: center;
}

.contact-grid .button {
    margin-top: 15px;
}

.contact-list {
    overflow: hidden;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-list div {
    display: grid;
    padding: 25px 30px;
    grid-template-columns: 100px 1fr;
    border-bottom: 1px solid var(--line);
    gap: 18px;
}

.contact-list div:last-child {
    border-bottom: 0;
}

.contact-list span {
    color: var(--green-700);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.contact-list a,
.contact-list strong {
    font-size: .95rem;
    font-style: normal;
}

.contact-map {
    margin-top: 45px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-map .button {
    margin-top: 20px;
}

.prose {
    font-size: 1.08rem;
}

.site-footer {
    padding-top: 75px;
    color: rgba(255, 255, 255, .68);
    background: var(--footer-background);
}

.footer-grid {
    display: grid;
    padding-bottom: 65px;
    grid-template-columns: 1.7fr .7fr 1fr;
    gap: 75px;
}

.footer-brand {
    margin-bottom: 23px;
}

.footer-brand .brand-mark {
    color: var(--green-950);
    background: var(--sand);
}

.footer-brand .brand-copy strong {
    color: var(--white);
}

.footer-brand .brand-copy small {
    color: rgba(255, 255, 255, .55);
}

.footer-about p {
    max-width: 470px;
}

.social-links {
    display: flex;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links a {
    padding: 6px 11px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 99px;
    font-size: .76rem;
}

.social-links a:hover {
    border-color: var(--sand);
}

.footer-title {
    margin: 5px 0 22px;
    color: var(--white);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.footer-links,
.site-footer address {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-style: normal;
}

.footer-links a:hover,
.site-footer address a:hover {
    color: var(--sand);
}

.footer-bottom {
    display: flex;
    padding-block: 22px;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .76rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.website-posts-home {
    background: #fff;
}

.website-posts-heading {
    display: flex;
    margin-bottom: 46px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 35px;
}

.website-posts-heading > div {
    max-width: 720px;
}

.website-posts-heading h2 {
    margin-bottom: 12px;
}

.website-posts-heading p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.website-posts-more {
    flex: 0 0 auto;
    color: var(--white);
    background: var(--green-800);
}

.website-posts-more:hover {
    color: var(--white);
    background: var(--green-950);
}

.website-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.website-post-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(18, 55, 42, .06);
    transition: box-shadow .25s ease, transform .25s ease;
}

.website-post-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-6px);
}

.website-post-image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--cream);
}

.website-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.website-post-card:hover .website-post-image img {
    transform: scale(1.035);
}

.website-post-placeholder {
    display: grid;
    height: 100%;
    place-items: center;
    color: var(--sand);
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--green-950) 96%, transparent), color-mix(in srgb, var(--green-800) 88%, transparent)),
        var(--green-900);
    font-size: 2.35rem;
}

.website-post-placeholder::after {
    position: absolute;
    width: 120px;
    height: 120px;
    right: -48px;
    bottom: -58px;
    border: 20px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    content: "";
}

.website-post-featured {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 6px 10px;
    color: var(--green-950);
    background: var(--sand);
    border-radius: 99px;
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.website-post-card-body {
    padding: 25px;
}

.website-post-meta {
    display: flex;
    margin-bottom: 14px;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: var(--muted);
    font-size: .7rem;
    font-weight: 650;
}

.website-post-meta > *:not(:last-child)::after {
    margin-left: 7px;
    color: #b5c0bb;
    content: "•";
}

.website-post-meta .website-post-type {
    color: var(--green-700);
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.website-post-card h3 {
    margin-bottom: 11px;
    font-size: 1.35rem;
}

.website-post-card h3 a:hover {
    color: var(--green-700);
}

.website-post-card-body > p {
    min-height: 72px;
    margin-bottom: 20px;
    color: var(--muted);
    font-size: .88rem;
    line-height: 1.7;
}

.website-post-read {
    color: var(--green-800);
    font-size: .79rem;
    font-weight: 800;
}

.website-post-read span {
    display: inline-block;
    margin-left: 5px;
    transition: transform .2s ease;
}

.website-post-read:hover span {
    transform: translateX(4px);
}

.website-posts-page {
    background: #fdfdf9;
}

.website-post-filters {
    display: grid;
    padding: 18px;
    margin-bottom: 42px;
    align-items: center;
    grid-template-columns: minmax(220px, 1fr) 180px 180px auto auto;
    gap: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(18, 55, 42, .05);
}

.website-post-filters input,
.website-post-filters select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    color: var(--ink);
    background: #fbfcfb;
    border: 1px solid var(--line);
    border-radius: 10px;
    font: inherit;
    font-size: .83rem;
}

.website-post-filters input:focus,
.website-post-filters select:focus {
    background: var(--white);
    border-color: var(--green-700);
    outline: 3px solid color-mix(in srgb, var(--green-700) 12%, transparent);
}

.website-post-filters button,
.website-post-filters > a {
    display: inline-flex;
    height: 46px;
    padding: 0 18px;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--green-800);
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-size: .8rem;
    font-weight: 800;
}

.website-post-filters > a {
    color: var(--muted);
    background: var(--cream);
}

.website-pagination {
    display: flex;
    margin-top: 40px;
    align-items: center;
    justify-content: center;
    gap: 20px;
    color: var(--muted);
    font-size: .8rem;
}

.website-pagination a,
.website-pagination span {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
}

.website-pagination a {
    color: var(--green-800);
    background: var(--white);
    font-weight: 750;
}

.website-pagination span {
    opacity: .55;
}

.website-post-empty {
    padding: 75px 25px;
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.website-post-empty > span {
    display: grid;
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    place-items: center;
    color: var(--sand);
    background: var(--green-900);
    border-radius: 50%;
    font-size: 1.5rem;
}

.website-post-empty h2 {
    margin-bottom: 10px;
    font-size: 2rem;
}

.website-post-empty p {
    color: var(--muted);
}

.website-post-detail-header {
    padding-block: 85px 105px;
    color: rgba(255, 255, 255, .72);
    background: var(--green-950);
}

.website-post-breadcrumb,
.website-post-detail-tags,
.website-post-byline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.website-post-breadcrumb {
    margin-bottom: 42px;
    color: rgba(255, 255, 255, .6);
    font-size: .78rem;
}

.website-post-breadcrumb a:hover {
    color: var(--sand);
}

.website-post-detail-tags span {
    padding: 6px 10px;
    color: var(--sand);
    border: 1px solid rgba(231, 199, 121, .3);
    border-radius: 99px;
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.website-post-detail-header h1 {
    margin: 24px 0 22px;
    color: var(--white);
    font-size: clamp(2.55rem, 6vw, 4.8rem);
}

.website-post-lead {
    color: rgba(255, 255, 255, .72);
    font-size: 1.08rem;
}

.website-post-byline {
    margin-top: 30px;
    gap: 20px;
    font-size: .76rem;
}

.website-post-byline span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.website-post-detail-body {
    max-width: 920px;
    padding-bottom: 95px;
}

.website-post-cover {
    margin: -58px 0 55px;
    overflow: hidden;
    background: var(--cream);
    border: 8px solid #fdfdf9;
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.website-post-cover img {
    display: block;
    width: 100%;
    max-height: 570px;
    object-fit: cover;
}

.website-post-content {
    max-width: 760px;
    margin-inline: auto;
    color: #42574f;
    font-size: 1.07rem;
    line-height: 1.9;
}

.website-post-content p {
    margin-bottom: 1.6em;
}

.website-post-content h2,
.website-post-content h3,
.website-post-content h4,
.website-post-content h5,
.website-post-content h6 {
    margin: 1.8em 0 .65em;
    color: var(--green-950);
    line-height: 1.25;
}

.website-post-content h2 {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
}

.website-post-content h3 {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.website-post-content ul,
.website-post-content ol {
    padding-left: 1.5em;
    margin: 0 0 1.6em;
}

.website-post-content li + li {
    margin-top: .55em;
}

.website-post-content blockquote {
    padding: 4px 0 4px 24px;
    margin: 2em 0;
    color: var(--green-900);
    border-left: 4px solid var(--sand);
    font-family: var(--heading-font);
    font-size: 1.25em;
    font-style: italic;
}

.website-post-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 2em auto;
    border-radius: 16px;
}

.website-post-content figure {
    margin: 2em 0;
}

.website-post-content figure img {
    margin-bottom: .7em;
}

.website-post-content figcaption {
    color: #718078;
    font-size: .82rem;
    text-align: center;
}

.website-post-content a {
    color: var(--green-800);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.website-post-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
}

.website-post-content th,
.website-post-content td {
    padding: 12px 14px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.website-post-content th {
    color: var(--green-950);
    background: var(--cream);
}

.website-post-content hr {
    margin: 2.5em 0;
    border: 0;
    border-top: 1px solid var(--line);
}

.website-post-content p:first-child::first-letter {
    float: left;
    margin: 8px 9px 0 0;
    color: var(--green-800);
    font-family: var(--heading-font);
    font-size: 4rem;
    font-weight: 700;
    line-height: .7;
}

.website-post-back {
    max-width: 760px;
    padding-top: 28px;
    margin: 25px auto 0;
    border-top: 1px solid var(--line);
}

.website-post-back a {
    color: var(--green-800);
    font-size: .82rem;
    font-weight: 800;
}

.website-related-posts .center-heading {
    margin-bottom: 42px;
}

/* Theme presets ---------------------------------------------------------- */

body[data-theme="clay"] {
    --radius: 34px;
    --shadow: 12px 12px 26px rgba(30, 25, 70, .14), -7px -7px 20px rgba(255, 255, 255, .82);
    background: color-mix(in srgb, var(--cream) 76%, white);
}

body[data-theme="clay"] .site-header {
    background: color-mix(in srgb, var(--cream) 90%, white);
    border-bottom: 0;
    box-shadow: 0 8px 26px rgba(30, 25, 70, .08);
}

body[data-theme="clay"] .brand-mark,
body[data-theme="clay"] .brand-logo,
body[data-theme="clay"] .button,
body[data-theme="clay"] .header-action {
    border-radius: 18px;
}

body[data-theme="clay"] .program-card,
body[data-theme="clay"] .mission-card,
body[data-theme="clay"] .contact-list {
    background: color-mix(in srgb, var(--cream) 82%, white);
    border: 0;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

body[data-theme="clay"] .program-card:nth-child(even) {
    transform: translateY(12px) rotate(1deg);
}

body[data-theme="clay"] .program-card:nth-child(even):hover {
    transform: translateY(4px) rotate(0);
}

body[data-theme="clay"] .hero::before {
    box-shadow: -230px -260px 0 rgba(255, 255, 255, .06);
}

body[data-theme="clay"] .arch,
body[data-theme="clay"] .story-decoration,
body[data-theme="clay"] .cta {
    border-radius: 48px;
}

body[data-theme="clay"] .hero-note {
    border-radius: 22px;
    box-shadow: 9px 9px 22px rgba(0, 0, 0, .18);
}

body[data-theme="glass"] {
    background:
        radial-gradient(circle at 15% 18%, color-mix(in srgb, var(--sand) 24%, transparent), transparent 28rem),
        radial-gradient(circle at 88% 55%, color-mix(in srgb, var(--green-700) 20%, transparent), transparent 30rem),
        #f7fbfc;
    background-attachment: fixed;
}

body[data-theme="glass"] .site-header {
    position: sticky;
    top: 0;
    background: rgba(248, 252, 252, .86);
    box-shadow: 0 10px 34px rgba(7, 31, 51, .08);
}

@supports (backdrop-filter: blur(18px)) {
    body[data-theme="glass"] .site-header,
    body[data-theme="glass"] .program-card,
    body[data-theme="glass"] .mission-card,
    body[data-theme="glass"] .contact-list {
        backdrop-filter: blur(18px) saturate(135%);
    }

    body[data-theme="glass"] .program-card,
    body[data-theme="glass"] .mission-card,
    body[data-theme="glass"] .contact-list {
        background: rgba(255, 255, 255, .68);
    }
}

body[data-theme="glass"] .hero,
body[data-theme="glass"] .page-hero {
    background: linear-gradient(135deg, var(--green-950), var(--green-900) 48%, var(--green-800));
}

body[data-theme="glass"] .section-soft {
    background: rgba(255, 255, 255, .44);
}

body[data-theme="glass"] .program-card,
body[data-theme="glass"] .mission-card,
body[data-theme="glass"] .contact-list {
    border: 1px solid rgba(255, 255, 255, .72);
    box-shadow: 0 22px 55px rgba(7, 31, 51, .12);
}

body[data-theme="glass"] .button,
body[data-theme="glass"] .header-action,
body[data-theme="glass"] .hero-note {
    box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 12px 28px rgba(7, 31, 51, .14);
}

body[data-theme="glass"] .arch-front {
    border: 1px solid rgba(255, 255, 255, .4);
    box-shadow: 0 35px 70px rgba(0, 0, 0, .22), inset 0 1px rgba(255, 255, 255, .35);
}

body[data-theme="editorial"] {
    --radius: 2px;
    --shadow: 0 16px 34px rgba(17, 24, 39, .08);
}

body[data-theme="editorial"] .site-header {
    border-bottom: 2px solid var(--green-950);
    background: #fff;
}

body[data-theme="editorial"] .brand-mark,
body[data-theme="editorial"] .brand-logo,
body[data-theme="editorial"] .button,
body[data-theme="editorial"] .header-action,
body[data-theme="editorial"] .mobile-navigation summary {
    border-radius: 0;
}

body[data-theme="editorial"] .hero-pattern,
body[data-theme="editorial"] .page-hero-pattern {
    opacity: .2;
    background-image: repeating-linear-gradient(90deg, transparent 0 79px, rgba(255, 255, 255, .18) 80px);
    background-size: auto;
}

body[data-theme="editorial"] .hero h1,
body[data-theme="editorial"] .page-hero h1 {
    max-width: 850px;
    font-size: clamp(3.5rem, 8vw, 7rem);
    letter-spacing: -.055em;
}

body[data-theme="editorial"] .program-card {
    min-height: 250px;
    background: transparent;
    border: 0;
    border-top: 4px solid var(--green-950);
    border-radius: 0;
    box-shadow: none;
}

body[data-theme="editorial"] .program-card::after {
    width: 56px;
    height: 4px;
    right: auto;
    bottom: 28px;
    left: 30px;
    background: var(--sand);
    border-radius: 0;
}

body[data-theme="editorial"] .story-decoration,
body[data-theme="editorial"] .vision-card,
body[data-theme="editorial"] .mission-card,
body[data-theme="editorial"] .cta,
body[data-theme="editorial"] .contact-list {
    border-radius: 0;
}

body[data-theme="editorial"] .eyebrow {
    letter-spacing: .22em;
}

body[data-theme="tech"] {
    --radius: 10px;
    --shadow: 0 18px 42px rgba(7, 17, 31, .16);
    background-color: #f8fbfd;
    background-image:
        linear-gradient(rgba(16, 42, 67, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 42, 67, .035) 1px, transparent 1px);
    background-size: 32px 32px;
}

body[data-theme="tech"] .site-header {
    border-bottom: 3px solid var(--sand);
    background: rgba(248, 251, 253, .97);
}

body[data-theme="tech"] .brand-mark,
body[data-theme="tech"] .brand-logo {
    border-radius: 10px;
}

body[data-theme="tech"] .hero,
body[data-theme="tech"] .page-hero {
    background: linear-gradient(118deg, var(--green-950) 0 62%, var(--green-900) 62%);
}

body[data-theme="tech"] .hero-pattern,
body[data-theme="tech"] .page-hero-pattern {
    opacity: .18;
    background-image:
        linear-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .16) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(90deg, transparent 5%, #000);
}

body[data-theme="tech"] .button,
body[data-theme="tech"] .header-action {
    border-radius: 4px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

body[data-theme="tech"] .program-card {
    background: #fff;
    border: 1px solid rgba(16, 42, 67, .12);
    border-left: 5px solid var(--green-700);
    border-radius: 6px;
}

body[data-theme="tech"] .program-card::after {
    width: 72px;
    height: 72px;
    right: -36px;
    bottom: -36px;
    background: var(--sand);
    border-radius: 8px;
    transform: rotate(45deg);
}

body[data-theme="tech"] .arch {
    border-radius: 18px 18px 4px 4px;
}

body[data-theme="tech"] .cta {
    border-radius: 6px;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 28px 100%, 0 calc(100% - 28px));
}

body[data-theme="tech"] .eyebrow,
body[data-theme="tech"] .footer-title {
    letter-spacing: .2em;
}

body[data-theme="clay"] .website-post-card,
body[data-theme="clay"] .website-post-filters,
body[data-theme="clay"] .website-post-empty {
    background: color-mix(in srgb, var(--cream) 82%, white);
    border: 0;
    border-radius: 30px;
    box-shadow: var(--shadow);
}

body[data-theme="glass"] .website-post-card,
body[data-theme="glass"] .website-post-filters,
body[data-theme="glass"] .website-post-empty {
    background: rgba(255, 255, 255, .7);
    border-color: rgba(255, 255, 255, .78);
    box-shadow: 0 22px 55px rgba(7, 31, 51, .11);
    backdrop-filter: blur(18px) saturate(135%);
}

body[data-theme="editorial"] .website-post-card,
body[data-theme="editorial"] .website-post-filters,
body[data-theme="editorial"] .website-post-empty,
body[data-theme="editorial"] .website-post-cover {
    border-radius: 0;
}

body[data-theme="editorial"] .website-post-card {
    border: 0;
    border-top: 4px solid var(--green-950);
    box-shadow: none;
}

body[data-theme="tech"] .website-post-card {
    border-left: 5px solid var(--green-700);
    border-radius: 6px;
}

body[data-theme="tech"] .website-post-filters,
body[data-theme="tech"] .website-post-empty,
body[data-theme="tech"] .website-post-cover {
    border-radius: 6px;
}

@media (max-width: 1050px) {
    .desktop-navigation,
    .header-action {
        display: none;
    }

    .mobile-navigation {
        display: block;
    }

    .hero-grid {
        gap: 30px;
        grid-template-columns: 1fr .65fr;
    }

    .arch {
        width: 255px;
    }

    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .website-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .website-post-filters {
        grid-template-columns: minmax(220px, 1fr) 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .header-inner {
        min-height: 76px;
    }

    .brand {
        min-width: 0;
    }

    .brand-copy strong {
        font-size: .9rem;
    }

    .brand-copy small {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        display: block;
        min-height: auto;
        padding-block: 75px 65px;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 14vw, 4.2rem);
    }

    .hero-visual {
        display: none;
    }

    .hero-highlights {
        display: grid;
        gap: 10px;
    }

    .page-hero {
        padding-block: 80px;
    }

    .section {
        padding-block: 75px;
    }

    .split-layout,
    .story-grid,
    .contact-grid,
    .vision-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .website-posts-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .website-post-grid,
    .website-post-filters {
        grid-template-columns: 1fr;
    }

    .website-post-card-body > p {
        min-height: auto;
    }

    .website-pagination {
        align-items: stretch;
        flex-direction: column;
        text-align: center;
    }

    .website-post-detail-header {
        padding-block: 60px 85px;
    }

    .website-post-breadcrumb {
        margin-bottom: 30px;
    }

    .website-post-cover {
        margin-top: -42px;
        border-width: 5px;
        border-radius: 15px;
    }

    .website-post-content {
        font-size: 1rem;
    }

    .program-card {
        min-height: 220px;
    }

    .program-number {
        margin-bottom: 35px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .statistic {
        padding: 25px 10px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .15);
    }

    .statistic:nth-last-child(-n+2) {
        border-bottom: 0;
    }

    .story-decoration {
        min-height: 320px;
        padding: 35px;
    }

    .vision-card,
    .mission-card {
        padding: 32px 26px;
    }

    .vision-card blockquote {
        margin-top: 45px;
    }

    .cta {
        padding: 42px 28px;
        align-items: flex-start;
        flex-direction: column;
        gap: 25px;
    }

    .contact-list div {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
    }
}
