:root {
    --emerald: #103f32; --emerald-2: #0b3026; --gold: #c9a65b; --gold-light: #eadcb6;
    --ivory: #f8f7f1; --heading: "Playfair Display", Georgia, serif; --body: "DM Sans", Arial, sans-serif;
}
body { background: var(--ivory); }
.topline { background: var(--emerald-2); min-height: 34px; height: auto; padding-block: 6px; }
.topline a { transition: color .2s ease; } .topline a:hover { color: var(--gold-light); }
.site-header { position: sticky; top: 0; height: 82px; background: rgba(248,247,241,.96); backdrop-filter: blur(14px); box-shadow: 0 5px 22px #0b30260c; }
.brand strong { font-size: 21px; letter-spacing: .01em; } .brand-mark { font-size: 36px; }
.brand-wordmark { display: block; border-left: 2px solid var(--gold); padding-left: 13px; }
.brand-wordmark strong { color: var(--emerald); font: 500 25px var(--heading); letter-spacing: .01em; }
.brand-wordmark small { display: block; color: #788078; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.main-nav { font-size: 13px; gap: clamp(14px,2vw,29px); }
.main-nav a:not(.nav-contact) { position: relative; padding-block: 10px; }
.main-nav a:not(.nav-contact)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: var(--gold); transition: right .22s ease; }
.main-nav a:not(.nav-contact):hover::after { right: 0; }
.nav-contact { padding: 11px 17px; border-radius: 3px; background: var(--emerald); box-shadow: 0 6px 16px #103f3225; }

.heritage-hero { min-height: 660px; position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse at 80% 50%,#1b5140 0,transparent 43%),linear-gradient(115deg,#0b3026,#103f32 65%,#174836); }
.hero-pattern { inset: 0; opacity: .13; background-size: 64px 64px,64px 64px; mask-image: linear-gradient(90deg,black,transparent 88%); }
.heritage-hero::before { content: ""; position: absolute; inset: 0; opacity: .24; pointer-events: none; background: radial-gradient(circle at center,transparent 0 34px,#d2b56d22 35px 36px,transparent 37px) 0 0/74px 74px; mask-image: linear-gradient(90deg,black,transparent 78%); }
.heritage-hero-inner { position: relative; z-index: 1; width: min(1340px,88%); min-height: 610px; margin: auto; display: grid; grid-template-columns: minmax(0,1fr) minmax(380px,.88fr); align-items: center; gap: clamp(40px,7vw,110px); padding: 74px 0 82px; }
.heritage-hero-copy { max-width: 650px; }
.heritage-hero .eyebrow { color: var(--gold-light); }
.heritage-hero h1 { max-width: 720px; margin: 19px 0 20px; color: #f7f5e9; font: 500 clamp(46px,6.4vw,82px)/1.04 var(--heading); letter-spacing: -.035em; text-wrap: balance; }
.heritage-hero .hero-lede { max-width: 510px; color: #d9e4d9; font-size: clamp(16px,1.5vw,19px); }
.heritage-hero .hero-actions { flex-wrap: wrap; gap: 13px; }
.heritage-hero .button { min-height: 48px; border-radius: 3px; padding: 13px 20px; }
.heritage-hero .button-gold { background: var(--gold); color: #102f26; }
.heritage-hero .button-outline { border-color: #d6c38c99; color: #f8f7f1; }
.heritage-hero .button:hover { box-shadow: 0 9px 25px #031a143d; }
.hero-location { display: flex; align-items: center; gap: 12px; margin-top: 47px; color: #b9cbbd; font-size: 11px; letter-spacing: .08em; }
.hero-location span:first-child { color: var(--gold); font-size: 20px; }
.heritage-hero-visual { position: relative; min-width: 0; padding: 12px 16px 25px 0; }
.hero-image-frame { position: relative; z-index: 1; width: 100%; height: clamp(350px,42vw,500px); overflow: hidden; border: 1px solid #dbc77b99; border-radius: 190px 190px 5px 5px; background: linear-gradient(145deg,#1a5641,#092a22); box-shadow: 0 24px 70px #061c1680; }
.hero-image-frame::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg,#071e1810 50%,#071e1860); }
.hero-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.hero-image-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; color: #e8d49c; text-align: center; background: radial-gradient(ellipse at 50% 42%,#d0b05d1b,transparent 54%),repeating-linear-gradient(45deg,transparent 0 24px,#d8c89412 25px 26px,transparent 27px 50px),linear-gradient(145deg,#1a5641,#092a22); }
.hero-image-placeholder strong { padding-block: 24px; border-block: 1px solid #d7c48777; font: 500 clamp(28px,4vw,48px) var(--heading); }
.hero-image-placeholder small { max-width: 240px; color: #c5d2c7; font-size: 9px; letter-spacing: .18em; }
.hero-seal { position: absolute; z-index: 2; left: -39px; bottom: 56px; width: 88px; height: 88px; display: grid; place-items: center; border: 1px solid #e4d39b; border-radius: 50%; color: var(--gold-light); background: var(--emerald-2); box-shadow: 0 7px 24px #071e1850; font-size: 43px; }
.visual-caption { position: absolute; z-index: 3; right: 3px; bottom: 0; color: #e7ddb9; font-size: 9px; letter-spacing: .2em; }
.hero-bottom-rule { position: absolute; z-index: 2; right: 6%; bottom: 28px; left: 6%; display: flex; align-items: center; gap: 13px; color: #b9cbbd; }
.hero-bottom-rule span { height: 1px; flex: 1; background: #d9cc9c45; } .hero-bottom-rule small { font-size: 8px; letter-spacing: .22em; }

.section-shell { width: min(1180px,86%); margin-inline: auto; }
.heritage-intro { display: grid; grid-template-columns: 130px 1.3fr 1fr; gap: clamp(24px,5vw,70px); padding-block: 105px; }
.section-kicker { display: flex; flex-direction: column; gap: 9px; color: #9b8144; font-size: 9px; letter-spacing: .18em; }
.section-kicker span:first-child { font: 500 36px var(--heading); color: var(--gold); }
.intro-copy h2,.section-heading h2,.heritage-social h2,.heritage-contact h2 { margin: 9px 0 16px; color: var(--emerald-2); font: 500 clamp(32px,4vw,48px)/1.16 var(--heading); letter-spacing: -.02em; }
.intro-copy p { color: #667067; white-space: pre-line; }
.text-link { display: inline-flex; align-items: center; gap: 15px; padding-bottom: 5px; border-bottom: 1px solid var(--gold); color: var(--emerald); font-size: 12px; font-weight: 700; }
.text-link span { color: #a8863e; }
.intro-links { align-self: center; border-top: 1px solid #dedbcf; }
.intro-links a { position: relative; display: block; padding: 17px 30px 17px 0; border-bottom: 1px solid #dedbcf; }
.intro-links a span,.intro-links a strong { display: block; }
.intro-links a span { color: #9a844d; font-size: 8px; letter-spacing: .16em; }
.intro-links a strong { margin-top: 5px; color: #29473a; font: 500 17px var(--heading); }
.intro-links a b { position: absolute; right: 5px; top: 25px; color: var(--gold); }
.heritage-stories { padding-bottom: 84px; }
.heritage-story-card { display: grid; grid-template-columns: 1fr .9fr; gap: 55px; align-items: center; padding: 45px 0; border-top: 1px solid #dedbcf; }
.heritage-story-card:nth-child(even) > div { order: 2; }
.heritage-story-card h2 { color: var(--emerald-2); font: 500 34px var(--heading); }
.heritage-story-card p { color: #667067; white-space: pre-line; }
.heritage-story-card img { width: 100%; max-height: 370px; object-fit: cover; border-radius: 3px; }
.showcase-section { padding: 85px 0; background: #f0eee5; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.section-heading h2 { margin-bottom: 0; }
.heritage-gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.heritage-gallery-tile { position: relative; min-height: 230px; overflow: hidden; background: var(--emerald-2); }
.heritage-gallery-tile:first-child { grid-column: span 2; grid-row: span 2; min-height: 474px; }
.heritage-gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.heritage-gallery-tile:hover img { transform: scale(1.045); }
.heritage-gallery-tile::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent,#061d16b8); }
.heritage-gallery-tile span { position: absolute; z-index: 1; right: 16px; bottom: 13px; left: 16px; color: white; font: 500 17px var(--heading); }
.heritage-empty { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border: 1px solid #dedbcf; color: #737b71; text-align: center; }
.heritage-empty>span { color: var(--gold); font-size: 30px; } .heritage-empty p { margin: 0; } .heritage-empty a { color: var(--emerald); font-size: 12px; }
.heritage-programs { padding-block: 92px; }
.heritage-event-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.heritage-event-card { display: flex; gap: 16px; padding: 23px 18px; border: 1px solid #e3e0d5; background: #fff; }
.heritage-event-card time { width: 58px; height: 66px; flex: 0 0 58px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: #f2eedf; color: #8d7338; }
.heritage-event-card time strong { font: 500 25px var(--heading); line-height: 1; } .heritage-event-card time span { margin-top: 5px; font-size: 8px; }
.heritage-event-card h3,.heritage-video-grid h3 { margin: 0 0 7px; color: var(--emerald); font: 500 19px var(--heading); }
.heritage-event-card p,.heritage-video-grid p { margin: 0 0 8px; color: #69736a; font-size: 12px; } .heritage-event-card small { color: #95834f; font-size: 10px; }
.heritage-video-section { background: #fff; } .heritage-video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.heritage-video-grid article { min-width: 0; } .heritage-video-grid .video-frame { margin-bottom: 14px; } .heritage-video-grid .eyebrow { color: #9a844d; }
.announcement-ribbon { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 1px; background: #ded6bd; }
.announcement-ribbon article { display: flex; align-items: flex-start; gap: 13px; padding: 22px max(7vw,24px); background: #f3efe1; }
.announcement-mark { color: #ac8d49; } .announcement-ribbon strong { color: var(--emerald); font: 500 17px var(--heading); }
.announcement-ribbon p { margin: 4px 0 0; color: #6b746b; font-size: 11px; } .announcement-ribbon a { color: #8b6e30; font-size: 10px; white-space: nowrap; }
.heritage-social { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 80px; }
.heritage-social h2 { max-width: 600px; margin-bottom: 7px; } .heritage-social p { color: #6a746b; }
.heritage-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.heritage-social-links a { min-width: 145px; display: flex; justify-content: space-between; padding: 14px 16px; border: 1px solid #d9d2bd; color: var(--emerald); font-size: 12px; }
.heritage-social-links a span { color: #aa8b45; }
.heritage-contact { padding-block: 75px; color: #f4f3e9; background: var(--emerald-2); }
.heritage-contact-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 55px; }
.heritage-contact h2 { color: #f3efdf; } .heritage-contact p { color: #cbd8cc; } .heritage-contact .button-outline { border-color: #d6c38c99; color: white; }
.heritage-map { height: 300px; overflow: hidden; border: 1px solid #c9a65b77; } .heritage-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.08); }
.site-footer { background: #08271f; }

.page-heading { position: relative; overflow: hidden; padding: 88px max(7vw,28px) 62px; background: radial-gradient(ellipse at 90% 20%,#205742,transparent 40%),var(--emerald-2); }
.page-heading::after { content: "۞"; position: absolute; right: 8%; top: -80px; color: #d7c48714; font-size: 300px; }
.page-feature-image { width: min(1180px,86%); height: clamp(220px,34vw,430px); margin: 30px auto 0; overflow: hidden; border: 1px solid #d4c490; background: linear-gradient(135deg,#103f32,#0b3026); }
.page-feature-image img { width: 100%; height: 100%; display: block; object-fit: cover; }
.content-sections { width: min(1180px,86%); margin-inline: auto; padding: 58px 0; }
.content-card { border-color: #dedbcf; }
.gallery-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; }
.gallery-tile { min-height: 250px; position: relative; overflow: hidden; border: 0; background: var(--emerald-2); text-align: left; }
.gallery-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery-tile:hover img { transform: scale(1.045); }
.gallery-tile span { position: absolute; right: 14px; bottom: 13px; left: 14px; z-index: 1; color: white; text-shadow: 0 2px 8px #000; }
.gallery-tile::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,#071e17a8); }
.video-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.video-card { padding: 18px; border: 1px solid #e2dfd3; background: white; }
.video-frame { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #0b3026; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.schedule-page,.announcement-page { color: #354a3e; } .schedule-page h2,.announcement-page h2 { color: var(--emerald); font-family: var(--heading); }
.past-event { padding: 14px 0; border-bottom: 1px solid #dedbcf; } .past-event span,.past-event strong,.past-event small { display: block; } .past-event span { color: #9b8144; font-size: 10px; } .past-event strong { color: var(--emerald); }
.public-form { border-color: #e4e0d3; box-shadow: 0 18px 44px #1a33240b; } .public-form button,.public-form .button { border-radius: 3px; }
.hero-admin-settings { display: grid; gap: 12px; margin: 22px 0; padding: 22px; border: 1px solid #e3dfd1; background: #faf9f5; }
.hero-admin-settings h2 { margin: 3px 0; color: var(--emerald); font: 500 24px var(--heading); }
.hero-admin-settings p { margin: 0 0 8px; color: #69736a; font-size: 12px; }
.hero-admin-settings>a { color: var(--emerald); font-size: 12px; }
.hero-admin-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.page-editor-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.success-message { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #b8d4c0; border-radius: 7px; color: #194f33; background: #edf7ef; font-size: 13px; }

@media(max-width:900px) {
    .heritage-hero-inner { width: min(720px,88%); grid-template-columns: 1fr; gap: 28px; padding-block: 65px 78px; }
    .heritage-hero-copy { max-width: 720px; } .heritage-hero-visual { width: min(100%,560px); justify-self: center; }
    .hero-image-frame { height: 410px; } .heritage-intro { grid-template-columns: 85px 1fr; }
    .intro-links { grid-column: 2; } .heritage-event-grid { grid-template-columns: 1fr; }
}
@media(max-width:680px) {
    .site-header { height: 72px; } .brand strong { font-size: 18px; } .brand-mark { font-size: 29px; } .main-nav { top: 72px; }
    .heritage-hero-inner { width: calc(100% - 42px); min-height: 0; padding-block: 56px 74px; }
    .heritage-hero h1 { font-size: clamp(42px,12vw,60px); } .heritage-hero .hero-lede { font-size: 15px; }
    .hero-location { margin-top: 29px; font-size: 9px; } .heritage-hero-visual { padding-right: 7px; }
    .hero-image-frame { height: 340px; border-radius: 150px 150px 4px 4px; }
    .hero-seal { left: -9px; bottom: 44px; width: 67px; height: 67px; font-size: 32px; } .visual-caption { font-size: 7px; }
    .hero-bottom-rule { right: 21px; left: 21px; } .section-shell { width: calc(100% - 42px); }
    .heritage-intro { grid-template-columns: 1fr; gap: 18px; padding-block: 66px; }
    .section-kicker { flex-direction: row; align-items: center; } .section-kicker span:first-child { font-size: 25px; }
    .intro-links { grid-column: auto; } .heritage-story-card { grid-template-columns: 1fr; gap: 22px; padding-block: 32px; }
    .heritage-story-card:nth-child(even)>div { order: initial; } .heritage-story-card h2 { font-size: 29px; }
    .showcase-section,.heritage-programs { padding-block: 60px; } .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .heritage-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
    .heritage-gallery-tile,.heritage-gallery-tile:first-child { min-height: 180px; grid-column: auto; grid-row: auto; }
    .heritage-gallery-tile:first-child { grid-column: span 2; min-height: 255px; }
    .heritage-video-grid,.video-grid { grid-template-columns: 1fr; } .heritage-social { align-items: flex-start; flex-direction: column; padding-block: 60px; }
    .heritage-social-links { width: 100%; } .heritage-social-links a { flex: 1; }
    .heritage-contact { padding-block: 58px; } .heritage-contact-inner { grid-template-columns: 1fr; gap: 28px; } .heritage-map { height: 250px; }
    .page-heading { padding: 66px 24px 46px; } .content-sections { width: calc(100% - 42px); padding-block: 38px; }
    .page-feature-image { width: calc(100% - 42px); margin-top: 18px; }
    .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; } .gallery-tile { min-height: 180px; }
    .hero-admin-actions { grid-template-columns: 1fr; }
}
.brand img{display:block;width:min(300px,30vw);max-height:64px;object-fit:contain;object-position:left center}.footer-brand img{width:210px;max-height:54px;object-fit:contain;object-position:left center}.footer-brand{align-items:flex-start;flex-direction:column;gap:14px}.gallery-tile-placeholder{display:grid;place-items:center;align-content:center;gap:18px;min-height:220px;background:linear-gradient(135deg,#103f32,#0b3026);color:#c9a65b}.gallery-placeholder-mark{font-size:42px;color:#c9a65b}.media-placeholder{display:grid;place-items:center;min-width:120px;min-height:90px;background:#103f32;color:#c9a65b;border-radius:12px}.admin-brand img{width:158px;max-height:42px;object-fit:contain;object-position:left center}.admin-brand>span{display:flex;flex-direction:column;gap:5px}.login-brand img{width:220px;max-height:60px;object-fit:contain}.gallery-tile-placeholder>span:last-child{font-weight:600}@media(max-width:700px){.brand img{width:min(225px,58vw);max-height:54px}.footer-brand img{width:190px}.admin-brand img{width:140px}.login-brand img{width:195px}}
