:root {
    --ink: #242321;
    --paper: #f7f4ef;
    --accent: #8a5938;
    --muted: #6d6964;
}

body { background: #fff; color: var(--ink); font-family: Inter, Arial, sans-serif; }
h1, h2, h3, .site-brand { font-family: "Libre Bodoni", Georgia, serif; }
.announcement-bar { background: #242321; color: #fff; padding: .55rem 1rem; text-align: center; font-size: .82rem; letter-spacing: .04em; }
.announcement-bar a { color: inherit; text-decoration: none; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; max-width: 72rem; margin-inline: auto; }
.top-bar-message { flex: 1; text-align: left; }
.top-bar-contact { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .35rem 1rem; white-space: nowrap; }
.site-header { border-bottom: 1px solid rgba(36, 35, 33, .15); padding-block: .5rem !important; }
.site-brand { color: var(--ink); font-size: 1.3rem; letter-spacing: .04em; text-decoration: none; }
.site-brand { display: inline-flex; flex-direction: column; align-items: center; width: min(20rem, 62vw); }
.site-brand-mark { display: block; width: 100%; height: 6.5rem; overflow: hidden; }
.site-brand-mark img { display: block; width: 100%; height: auto; }
.site-brand-tagline { margin-top: -.05rem; color: var(--ink); font-family: Inter, Arial, sans-serif; font-size: clamp(.5rem, 1vw, .65rem); font-weight: 600; letter-spacing: .2em; line-height: 1; text-transform: uppercase; }
.hub-links { padding: 1.25rem 0; border-bottom: 1px solid rgba(36, 35, 33, .12); }
.hub-links-list { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.hub-link-button { min-width: 8rem; padding: .65rem 1.2rem; border: 1px solid var(--ink); color: var(--ink); text-align: center; text-decoration: none; font-weight: 500; letter-spacing: .02em; transition: background .15s ease, color .15s ease; }
.hub-link-button:hover, .hub-link-button:focus-visible { background: var(--ink); color: #fff; }
.identity-section { padding: clamp(2rem, 4vw, 3rem) 0; text-align: center; background: linear-gradient(145deg, #f7f4ef, #fff 72%); }
.identity-section h1 { margin-bottom: .45rem; font-size: clamp(2.8rem, 5.2vw, 4.8rem); line-height: .95; }
.identity-tagline { margin-bottom: 0; font-family: "Libre Bodoni", Georgia, serif; font-size: clamp(1.35rem, 2.4vw, 2rem); }
.identity-copy { max-width: 47rem; margin-inline: auto; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.identity-copy p { margin-bottom: 0; }
.foundation-hero { min-height: 55vh; display: grid; place-items: center; text-align: center; }
.foundation-hero p { color: var(--muted); max-width: 42rem; margin-inline: auto; }
.admin-shell { min-height: 100vh; background: #f3f5f7; }
.admin-card { max-width: 30rem; margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; z-index: 9999; }
.content-section:nth-child(even) { background: #f7f7f5; }
.section-body { max-width: 52rem; font-size: 1.08rem; line-height: 1.7; }
.admin-shell .card { color: inherit; }
.rich-editor { min-height: 14rem; overflow-y: auto; background: #fff; }
.rich-editor:focus { border-color: #86b7fe; box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25); }
.media-thumbnail { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #e7e7e7; }
.media-card { transition: transform .15s ease, box-shadow .15s ease; }
.media-card:hover { transform: translateY(-2px); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .12); }
.hero-image { height: clamp(24rem, 68vh, 52rem); object-fit: cover; }
.carousel-caption { background: rgba(0, 0, 0, .5); padding: 1rem; border-radius: .25rem; }
.gallery-image { aspect-ratio: 4 / 3; object-fit: cover; }
.content-section { padding-block: clamp(3rem, 7vw, 6rem) !important; }
.content-section h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.25rem; }
.content-section .card { border: 0; border-radius: 0; background: transparent; }
.content-section .card-img-top { border-radius: 0; }
.page-home .content-section:has(.card) h2 { text-align: center; }
.page-home .content-section:has(.card) { padding-block: clamp(1.75rem, 3vw, 2.5rem) !important; background: #fff; }
.page-home .content-section:has(.card) .container { max-width: 62rem; }
.page-home .content-section:has(.card) .row { --bs-gutter-x: 1.25rem; --bs-gutter-y: 1.25rem; }
.page-home .content-section:has(.card) .card { background: #fff; box-shadow: 0 .5rem 1.5rem rgba(36,35,33,.08); }
.page-home .content-section:has(.card) .card-body { padding: 1rem 1.1rem; }
.card-learn-more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .55rem; color: var(--ink); text-decoration: none; text-underline-offset: .2em; }
.card-learn-more:hover, .card-learn-more:focus-visible { text-decoration: underline; }
.card-learn-more span { transition: transform .15s ease; }
.card-learn-more:hover span, .card-learn-more:focus-visible span { transform: translateX(.2rem); }
.page-home .content-section:has(.card) .gallery-image { aspect-ratio: 1 / 1; }
.page-home .content-section:has(.card) .row > div:last-child .gallery-image { object-fit: contain; }
.page-home .identity-section + .content-section { padding-top: 1rem !important; }
.page-the-why .content-section { padding-block: clamp(1.75rem, 3.5vw, 3rem) !important; }
.page-the-why .content-section + .content-section { padding-top: clamp(1.25rem, 2.5vw, 2rem) !important; }
.page-the-why .content-section h2 { margin-bottom: .75rem; }
.page-the-why .section-body { line-height: 1.6; }
.page-the-why .section-body p:last-child { margin-bottom: 0; }
.page-artist { overflow-x: clip; }
.page-artist .content-section { padding-block: clamp(1.5rem, 3vw, 2.5rem) !important; }
.page-artist .content-section .container { max-width: 72rem; }
.page-artist .content-section .row { --bs-gutter-x: 2rem; }
.page-artist .content-section h2 { margin-bottom: .75rem; }
.page-artist .section-body { line-height: 1.6; }
.page-artist .content-section + .content-section { padding-top: clamp(1.25rem, 2.5vw, 2rem) !important; }
.page-artist .content-section:has(.card-learn-more) .row > div { width: 50%; }
.page-artist .content-section:not(:has(.card-learn-more)):has(.gallery-image) .row > div { width: 100%; }
.page-artist .content-section:not(:has(.card-learn-more)):has(.gallery-image) .card { width: 100%; max-width: none; }
.page-artist .content-section:not(:has(.card-learn-more)):has(.gallery-image) .gallery-image { display: block; width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }
.section-body a { color: var(--ink); text-underline-offset: .22em; }
@media (max-width: 420px) { .hub-link-button { min-width: 0; flex: 1 1 28%; padding-inline: .55rem; } }
@media (max-width: 767px) {
    .top-bar-inner { flex-direction: column; gap: .3rem; }
    .top-bar-message, .top-bar-contact { justify-content: center; text-align: center; white-space: normal; }
    .page-artist .content-section:has(.card-learn-more) .row > div { width: 100%; }
    .hero-image { height: 58vh; min-height: 24rem; }
    .carousel-caption { left: 1rem; right: 1rem; bottom: 1rem; padding: .75rem; }
    .carousel-caption h2 { font-size: 1.35rem; margin: 0; }
    .carousel-caption p { font-size: .9rem; margin: .35rem 0 0; }
    .content-section .row { --bs-gutter-y: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
.page-developer-professional .content-section { padding-block: clamp(1.5rem, 3vw, 2.5rem) !important; background: linear-gradient(145deg, #f7f4ef 0%, #fff 68%); }
.page-developer-professional .content-section .row { align-items: flex-start !important; }
.page-developer-professional .content-section img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .8rem !important; box-shadow: 0 1rem 2.5rem rgba(36, 35, 33, .16); }
.page-developer-professional .content-section h2 { font-size: clamp(2.5rem, 4.5vw, 4.25rem); line-height: .98; margin-bottom: .55rem; }
.page-developer-professional .content-section .lead { color: var(--accent) !important; font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.page-developer-professional .section-body { max-width: 46rem; }
.page-developer-professional .image-text-stacked { text-align: center; }
.page-developer-professional .image-text-stacked .lead { margin-bottom: 1.25rem; }
.page-developer-professional .image-text-stacked .stacked-feature-image { display: block; width: min(100%, 48rem); height: auto; aspect-ratio: auto; margin: 0 auto 1.75rem; }
.page-developer-professional .image-text-stacked .stacked-copy { margin-inline: auto; text-align: left; }
.page-developer-professional .section-body a { display: inline-block; margin: .35rem .4rem .2rem 0; padding: .75rem 1.15rem; border: 1px solid var(--accent); border-radius: .25rem; background: var(--accent); color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 .35rem .8rem rgba(36,35,33,.14); transition: transform .15s ease, background .15s ease; }
.page-developer-professional .section-body a:hover, .page-developer-professional .section-body a:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; transform: translateY(-1px); }
@media (min-width: 992px) { .page-developer-professional .content-section .row { --bs-gutter-x: 4rem; } }
.page-developer-professional .content-section:not(.image-text-stacked) .container { max-width: 74rem; }
.page-developer-professional .image-text-split-heading .split-heading { margin-bottom: 1.15rem; text-align: center; }
.page-developer-professional .image-text-split-heading .split-heading h2 { margin-bottom: .45rem; }
.page-developer-professional .image-text-split-heading .split-heading .lead { margin-bottom: 0; }
.page-developer-professional .image-text-split-feature h2 { margin-bottom: .45rem; }
.page-developer-professional .image-text-split-feature .lead { margin-bottom: 1rem; }
.page-developer-professional .content-section:not(.image-text-stacked) h2 { font-size: clamp(2.6rem, 4vw, 3.75rem); }
.page-developer-professional .content-section:not(.image-text-stacked) .section-body { font-size: 1rem; line-height: 1.48; }
.page-developer-professional .content-section:not(.image-text-stacked) .section-body p { margin-bottom: .7rem; }
.page-developer-professional .content-section:not(.image-text-stacked) .section-body h3 { margin: .8rem 0 .35rem; font-size: 1.2rem; }
.page-developer-professional .content-section:not(.image-text-stacked) .section-body ul { columns: 2; column-gap: 1.75rem; margin-bottom: .7rem; padding-left: 1.2rem; }
.page-developer-professional .content-section:not(.image-text-stacked) .section-body li { break-inside: avoid; margin-bottom: .2rem; }
@media (max-width: 767px) { .page-developer-professional .content-section:not(.image-text-stacked) .section-body ul { columns: 1; } }

/* Explicit section columns override page-specific gallery widths. */
.page .content-section .row.configurable-image-grid > div { width: 100% !important; }
@media (min-width: 768px) {
    .page .content-section .row.configurable-image-grid > div { width: 50% !important; }
}
@media (min-width: 992px) {
    .page .content-section .row.configurable-image-grid > div { width: calc(100% / var(--image-columns)) !important; }
}

.image-enlarge-trigger { cursor: zoom-in; display: block; }
.image-enlarge-trigger:focus-visible { outline: 3px solid #976f36; outline-offset: 4px; }
.image-viewer { width: 96vw; max-width: 96vw; max-height: 96dvh; padding: 3.5rem 1rem 1rem; border: 0; border-radius: .4rem; background: #151515; color: white; text-align: center; }
.image-viewer::backdrop { background: rgba(0,0,0,.85); }
.image-viewer .viewer-image { display: block; width: auto; max-width: 100%; height: auto; max-height: 70dvh; object-fit: contain; margin: auto; }
.image-viewer button { min-width: 44px; min-height: 44px; border: 1px solid #aaa; border-radius: .3rem; background: #222; color: white; padding: .5rem .8rem; }
.image-viewer button:focus-visible { outline: 3px solid white; outline-offset: 2px; }
.viewer-close { position: absolute; right: .5rem; top: .5rem; font-size: 1.5rem; }
.viewer-caption { margin: .7rem 0; }
.viewer-controls { display: flex; gap: 1rem; justify-content: center; }

.content-section[id] { scroll-margin-top: 1.5rem; }
.landing_summary { background: #f7f4ef; }
.landing_summary .container, .landing_contact .container { max-width: 52rem; }
.landing_summary .section-body, .landing_contact .section-body { font-size: 1.08rem; line-height: 1.75; }
.landing_contact { text-align: center; }
.landing_contact a { display: inline-block; padding-block: .35rem; overflow-wrap: anywhere; }
.landing_summary:has(img) .container { max-width: 68rem; }
.landing_summary img { display: block; width: 100%; height: auto; }
.landing-story-stacked h2 { text-align: center; }
.landing-story-stacked .section-body { max-width: 42rem; margin-inline: auto; }
.landing-story-stacked .landing-story-photo { width: min(100%, 42rem); height: auto; margin: 2rem auto 0; }

.reflection-quote { padding: 2rem 1rem 1.5rem; }
.reflection-quote .container { max-width: 60rem; }
.reflection-quote-panel { position: relative; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; background: #f7f4ef; border-top: 1px solid #d7c5a8; border-bottom: 1px solid #d7c5a8; border-radius: .35rem; }
.reflection-quote-mark { display: block; color: #976f36; font-family: Georgia, serif; font-size: 4.5rem; line-height: .6; margin-bottom: 1rem; }
.reflection-quote .section-body > p:first-child { font-size: .95rem; line-height: 1.65; color: #60574c; max-width: 42rem; margin: 0 auto 1.3rem; }
.reflection-quote .section-body > p:last-child { font-family: Georgia, serif; font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.6; color: #302b25; max-width: 45rem; margin: 0 auto; }

