:root{color-scheme:dark;--ink:#081b23;--white:#fcfcf7;--muted:#d5dedc;--accent:#dfc393;--edge:clamp(1.5rem,4.5vw,5rem)}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--ink);color:var(--white)}body{font-family:Arial,Helvetica,sans-serif;-webkit-font-smoothing:antialiased}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:6px}[hidden]{display:none!important}
.experience{isolation:isolate;position:relative;display:grid;grid-template-rows:auto 1fr auto;min-height:100svh;overflow:hidden;padding:0 var(--edge)}
.photographs,.veil,.frame,.frame img{position:absolute;inset:0;width:100%;height:100%}.photographs{z-index:-3;background:var(--ink)}.frame{margin:0;opacity:0;transition:opacity 1.8s ease;overflow:hidden}.frame.is-active{opacity:1}.frame img{object-fit:cover;object-position:56% 55%;filter:saturate(.85);transform:scale(1.015)}
.frame:nth-child(2) img{object-position:57% 55%}.frame:nth-child(3) img{object-position:55% 49%}.frame:nth-child(4) img{object-position:52% 51%}
.veil{z-index:-1;pointer-events:none;background:linear-gradient(90deg,rgba(3,16,24,.72) 0%,rgba(3,16,24,.36) 37%,rgba(3,16,24,.04) 68%),linear-gradient(180deg,rgba(3,16,24,.38),transparent 24%,transparent 60%,rgba(3,16,24,.84))}
.masthead{display:flex;justify-content:space-between;align-items:center;padding-top:clamp(1.5rem,4vh,3rem);gap:1.5rem}.identity{display:flex;align-items:center;gap:1.3rem}.badge{width:68px;height:68px;object-fit:contain}.identity span,.instagram{text-transform:uppercase;font-size:.75rem;font-weight:500;letter-spacing:.24em}.identity span{color:var(--muted)}.instagram{display:flex;align-items:center;gap:.75rem;min-height:44px;transition:color .2s}.instagram:hover{color:var(--accent)}
.invitation{align-self:center;justify-self:start;margin-top:2vh;padding:3.25rem 0 5.5rem}.invitation h1{margin:0;font-family:Didot,'Bodoni MT','Times New Roman',serif;font-size:clamp(4.5rem,8.15vw,9rem);line-height:.87;font-weight:400;letter-spacing:-.045em;text-shadow:0 2px 30px rgba(0,0,0,.1)}.invitation h1>span{display:block}.invitation h1 i{font-weight:400;font-size:.43em;padding-left:.12em;letter-spacing:-.035em}.invitation h1>span+span{margin-top:.08em}
.foot{display:flex;justify-content:flex-end;align-items:end;gap:2rem;padding:1.5rem 0 max(2rem,env(safe-area-inset-bottom));border-top:1px solid rgba(255,255,255,.23)}.controls{display:flex;align-items:center;gap:1.7rem}.scene-navigation{display:flex;gap:.5rem}.scene-button,.playback{background:none;border:0;cursor:pointer;min-height:44px}.scene-button{position:relative;min-width:44px;padding:.75rem .25rem;color:var(--muted);font-size:.75rem}.scene-button::after{content:'';position:absolute;bottom:1px;left:7px;right:7px;height:1px;background:rgba(255,255,255,.28);transition:background .25s}.scene-button:hover,.scene-button.is-current{color:var(--white)}.scene-button.is-current::after{background:var(--accent);height:2px}.playback{font-size:.75rem;min-width:48px;text-align:right;color:var(--muted)}.playback:hover{color:var(--white)}.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}
@media(min-width:1600px){.invitation{padding-left:2vw}}
@media(max-width:700px){.experience{min-height:100svh}.masthead{padding-top:1.35rem}.badge{width:52px;height:52px}.identity{gap:.8rem}.identity span{font-size:.75rem;letter-spacing:.16em}.instagram{font-size:.75rem;letter-spacing:.12em;gap:.35rem}.instagram svg{width:14px}.invitation{align-self:start;margin:0;padding:10svh 0 40svh}.invitation h1{font-size:clamp(4.3rem,16.5vw,7rem)}.veil{background:linear-gradient(180deg,rgba(3,16,24,.55),rgba(3,16,24,.3) 38%,rgba(3,16,24,.04) 61%,rgba(3,16,24,.84)),linear-gradient(90deg,rgba(3,16,24,.17),transparent)}.frame img{object-position:57% 58%}.frame:nth-child(3) img{object-position:52% 60%}.frame:nth-child(4) img{object-position:48% 55%}.foot{flex-direction:column;align-items:stretch;gap:.35rem;padding-top:.5rem;padding-bottom:max(1.25rem,env(safe-area-inset-bottom))}.controls{justify-content:space-between}.scene-navigation{gap:.7rem}.playback{text-align:right}}
@media(max-width:370px){.identity span{display:none}.invitation h1{font-size:17vw}.controls{gap:1rem}}
@media(max-height:560px) and (min-width:701px){.badge{width:48px;height:48px}.masthead{padding-top:1rem}.invitation{padding:1.8rem 0 2rem;margin:0}.invitation h1{font-size:4.7rem}.foot{padding:.5rem 0 1rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}.frame img{transform:none}}

.frame:first-child img{object-position:56% 54%}.frame:nth-child(3) img{object-position:56% 48%}
@media(max-width:700px){.frame:first-child img{object-position:58% 54%}.frame:nth-child(3) img{object-position:55% 50%}.foot{align-items:flex-end}.controls{width:100%}}

.site-links{display:flex;align-items:center;gap:clamp(1rem,2.5vw,2.5rem)}
@media(max-width:700px){.site-links{gap:.9rem}.identity span{display:none}}

.frame:nth-child(2) img{object-position:50% 55%}

.frame:nth-child(5) img{object-position:60% 55%}
@media(max-width:700px){.scene-navigation{gap:.35rem}.controls{gap:.75rem}.frame:nth-child(5) img{object-position:62% 55%}}

.frame:nth-child(6) img{object-position:65% 60%}
@media(max-width:700px){.controls{flex-wrap:wrap;justify-content:flex-end}.scene-navigation{flex:1;justify-content:space-between;gap:0}.frame:nth-child(6) img{object-position:68% 60%}}

/* Bursary concept; kept outside production dist. */
.site-links{gap:clamp(1rem,2vw,2rem)}
.donate-button,.yoco-button{border:1px solid #dfc393;background:#dfc393;color:#081b23;cursor:pointer;font-size:14px;letter-spacing:.08em;padding:14px 23px;min-height:46px}
.donate-button:hover,.yoco-button:hover{background:#f0d9b4}
.invitation{padding-bottom:3rem}
.fund-teaser{display:block;text-align:left;background:none;border:0;border-left:1px solid #dfc393;padding:0 0 0 20px;margin-top:44px;cursor:pointer;color:#fcfcf7;max-width:390px}
.fund-label{text-transform:uppercase;letter-spacing:.15em;font-size:12px;line-height:1.6;display:block;color:#dfc393;margin:0 0 10px}
.fund-line{font-size:16px;line-height:1.5;display:block}.fund-line>span{margin-left:8px;color:#dfc393}
#fund-dialog{padding:0;border:1px solid #405057;color:#fcfcf7;background:#081b23;width:min(1020px,calc(100vw - 40px));max-height:90svh;overflow:auto}
#fund-dialog[open]{display:grid;grid-template-columns:.87fr 1.13fr}
#fund-dialog::backdrop{background:rgba(2,12,18,.76);backdrop-filter:blur(6px)}
.fund-photo{min-height:520px;background:linear-gradient(0deg,rgba(8,27,35,.3),transparent),url('assets/fund-lineup.webp') 50% 65%/cover}
.fund-content{padding:60px 45px 42px}
.fund-content h2{font-family:Didot,'Bodoni MT','Times New Roman',serif;font-size:clamp(36px,4vw,51px);line-height:1.06;letter-spacing:-.025em;font-weight:400;margin:22px 0 28px}.fund-content h2 em{color:#dfc393;font-weight:400}
.fund-body{font-size:16px;line-height:1.7;color:#d5dedc;margin:0 0 17px}
.yoco-button{margin-top:15px;display:flex;width:100%;align-items:center;justify-content:space-between;text-align:left;letter-spacing:.03em}
.close-fund{position:absolute;top:10px;right:12px;background:none;border:0;color:white;font-size:30px;width:44px;height:44px;cursor:pointer}
.payment-note{font-size:12px;color:#aebcbd;line-height:1.5;margin:12px 0 0}
.preview-badge{position:fixed;left:18px;bottom:10px;font-size:11px;color:#cbd7d5;background:#081b23e6;padding:6px 10px;border:1px solid #526168;z-index:5;pointer-events:none}
@media(max-width:700px){.masthead{gap:12px}.site-links{gap:14px}.instagram{letter-spacing:.06em;font-size:12px}.instagram svg{display:none}.donate-button{padding:11px 14px;font-size:13px}.invitation{padding:10svh 0 22svh}.fund-teaser{margin-top:32px;padding-left:14px;max-width:300px}.fund-line{font-size:16px}.fund-label{font-size:11px}.foot{padding-bottom:42px}#fund-dialog[open]{grid-template-columns:1fr}.fund-photo{min-height:150px;background-position:60% 65%}.fund-content{padding:27px 26px 30px}.fund-content h2{font-size:36px;margin:15px 0 22px}.close-fund{background:#081b23a6;border-radius:50%}.fund-body{font-size:16px}.preview-badge{font-size:10px}}
@media(max-width:370px){.site-links{gap:9px}.badge{width:44px;height:44px}.donate-button{padding:10px}.experience{padding:0 18px}}

/* Fundraiser revision: clean hero and longer navigation label. */
.invitation{padding-bottom:5.5rem}
.donate-button{white-space:nowrap}
@media(max-width:700px){.masthead{align-items:flex-start}.site-links{flex-wrap:wrap-reverse;justify-content:flex-end;gap:8px 14px;max-width:calc(100% - 64px)}.donate-button{font-size:13px}.invitation{padding:10svh 0 40svh}}

#donation-form{margin-top:24px}#donation-form label{display:block;font-size:14px;line-height:1.5;color:#d5dedc;margin-bottom:14px}#donation-form input{display:block;width:100%;margin-top:6px;background:#102a35;border:1px solid #577079;color:#fcfcf7;border-radius:0;padding:12px;font:inherit;font-size:16px;min-width:0}#donation-form input:focus{outline:2px solid #dfc393;outline-offset:2px}.donor-names{display:grid;grid-template-columns:1fr 1fr;gap:14px}.donor-note{font-size:12px;line-height:1.5;color:#aebcbd}.fund-content{padding-top:44px}.fund-photo{min-height:100%}@media(max-width:700px){.fund-photo{min-height:150px}.fund-content{padding-top:27px}}

/* South African flag preview */
.identity .country-label{display:inline-flex;align-items:center;gap:10px;white-space:nowrap}.sa-flag{display:block;flex:none;width:24px;height:16px;box-shadow:0 0 0 1px #ffffff20}@media(max-width:700px){.identity .country-label{display:none}}

/* Instagram moved out of the main navigation. */
.footer-instagram{display:flex;align-items:center;justify-content:center;width:44px;min-height:44px;flex:none;color:var(--muted);transition:color .2s}.footer-instagram:hover{color:var(--accent)}@media(max-width:700px){.footer-instagram{align-self:flex-end;margin-top:6px}}

/* Compact, single-row mobile slideshow controls. */
@media(max-width:700px){
 .foot{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
 .foot .controls{width:auto;flex:1;min-width:0;justify-content:flex-start;gap:12px}
 .scene-navigation{gap:0}
 .scene-button{min-width:26px;width:26px;min-height:44px;padding:0}
 .scene-button span{display:none}
 .scene-button::after{width:5px;height:5px;border-radius:50%;left:50%;right:auto;bottom:19px;transform:translateX(-50%);background:rgba(255,255,255,.4)}
 .scene-button.is-current::after{height:5px;background:var(--accent)}
 .playback{min-width:44px;text-align:center}
 .footer-instagram{align-self:auto;margin-top:0}
}
@media(max-width:370px){.foot{gap:6px}.foot .controls{gap:6px}.scene-button{min-width:24px;width:24px}}

/* Social link on the left, carousel navigation on the right. */
.foot{justify-content:space-between}
.footer-instagram{order:-1}
@media(max-width:700px){.foot .controls{flex:0 1 auto;justify-content:flex-end}}

/* Keep the national flag visible beside the roundel on mobile. */
@media(max-width:700px){.identity .country-label{display:inline-flex;gap:0}.identity .country-name{display:none}.identity{gap:10px;flex-shrink:0}.sa-flag{width:21px;height:14px}.masthead{gap:10px}}
@media(max-width:370px){.identity{gap:7px}.sa-flag{width:18px;height:12px}.masthead{gap:8px}.site-links{gap:8px}.donate-button{font-size:12px}}

.recipient-note{border-left:2px solid #dfc393;padding:0 0 0 15px;margin:26px 0}.recipient-note>span{color:#dfc393;font-size:11px;letter-spacing:.12em;text-transform:uppercase}.recipient-note p{font-size:14px;line-height:1.6;color:#d5dedc;margin:8px 0}#snap-review h3{font:28px Didot,serif;margin-top:26px}#review-details{font-size:14px;line-height:1.5}#review-details dt{color:#aebcbd;margin-top:12px}#review-details dd{margin:4px 0;overflow-wrap:anywhere}#edit-donation{display:block;margin:16px auto 0;background:none;border:0;color:#d5dedc;text-decoration:underline;cursor:pointer;padding:10px}#snap-link{display:flex;justify-content:center}.fund-content a{overflow-wrap:anywhere}

.fund-contact{margin:20px 0 0;text-align:center;font-size:12px;line-height:1.6;color:#aebcbd}.fund-contact a{text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.fund-contact a:hover{color:#dfc393}
#donation-form .payment-note{margin:16px 0 12px;text-align:left}

.recipient-note a{text-decoration:none}.recipient-note a:hover{color:#dfc393}

@media(min-width:701px) and (max-width:1000px){#fund-dialog[open]{grid-template-columns:.78fr 1.22fr}}
@media(max-width:700px){.fund-photo{min-height:clamp(175px,53vw,240px);background-position:50% 56%}}

.payment-arrow{display:block;flex:none;width:22px;height:22px}
