
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root{--bg:#eef5ef;--surface:#fff;--text:#152d24;--muted:#66756c;--green:#b6ed43;--deep:#173d2f;--line:#dbe5dc;--shadow:0 18px 55px rgba(22,54,39,.09)}
:root[data-theme="dark"]{--bg:#101b16;--surface:#192820;--text:#edf5ef;--muted:#a8b8ad;--green:#b6ed43;--deep:#0d2118;--line:#304338;--shadow:0 18px 55px rgba(0,0,0,.22)}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;line-height:1.6;transition:background .25s,color .25s}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}

.site-header{height:auto;min-height:82px;padding:16px 5.5%;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--line);position:relative;z-index:20;background:var(--bg)}
.brand{display:flex;align-items:center;gap:10px;font:800 18px Manrope,sans-serif;letter-spacing:-.7px;line-height:1}
.brand small{display:block;font:600 8px 'DM Sans';letter-spacing:2px;margin-top:5px}
.brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--green);color:#173d2f;font-size:23px}
.main-nav{display:flex;align-items:center;gap:clamp(10px,1.55vw,24px)}
.main-nav>a,.nav-drop-btn{font-size:12px;font-weight:600;color:var(--muted);white-space:nowrap}
.main-nav>a:hover,.main-nav>a.active,.nav-drop-btn:hover{color:var(--text)}
.nav-drop{position:relative}
.nav-drop-btn{background:none;border:0;cursor:pointer;padding:10px 0}
.dropdown{display:none;position:absolute;top:100%;left:-18px;min-width:175px;padding:9px;background:var(--surface);border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}
.dropdown a{display:block;padding:10px 12px;font-size:12px;border-radius:8px}
.dropdown a:hover{background:var(--bg)}
.nav-drop:hover .dropdown,.nav-drop.show .dropdown{display:block}
.theme-toggle{width:36px;height:36px;border:1px solid var(--line);background:var(--surface);color:var(--text);border-radius:50%;cursor:pointer}
.menu-toggle{display:none;background:transparent;border:0;color:var(--text);font-size:25px}

.hero{max-width:1440px;margin:auto;padding:80px 8% 88px;display:grid;grid-template-columns:1fr 1.02fr;align-items:center;gap:6%}
.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#54856b}
.hero h1,.page-hero h1{font:700 clamp(48px,6.5vw,88px)/1.02 Manrope,sans-serif;letter-spacing:-5px;margin:20px 0}
.hero h1 em,.page-hero h1 em,h2 em{font-style:normal;color:#4c916c}
.hero-copy>p,.page-hero>p{max-width:490px;color:var(--muted);font-size:16px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:30px;padding:14px 22px;font-size:12px;font-weight:700;border:1px solid transparent;cursor:pointer;transition:transform .2s,background .2s}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:var(--deep);color:#fff}
.btn-primary span{color:var(--green)}
.btn-outline{border-color:var(--line);color:var(--text);background:transparent}
.btn-light{background:var(--green);color:#193629}
.btn-small{padding:9px 14px}
.hero-visual{height:480px;position:relative}
.hero-photo{position:absolute;border:8px solid var(--surface);border-radius:22px;background-size:cover;background-position:center;box-shadow:var(--shadow)}
.photo-one{inset:5px 22% 70px 0;background-image:url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=900&q=85')}
.photo-two{inset:155px 0 0 38%;background-image:url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=900&q=85')}
.photo-note{position:absolute;bottom:25px;left:8%;padding:17px 22px;background:var(--green);color:#193629;border-radius:14px;box-shadow:var(--shadow)}
.photo-note b,.photo-note span{display:block}
.photo-note span{font-size:11px}

.section{max-width:1280px;margin:auto;padding:78px 7%}
.intro{display:grid;grid-template-columns:1fr 1fr;gap:9%;align-items:end;border-top:1px solid var(--line)}
h2{font:700 clamp(32px,4vw,52px)/1.1 Manrope,sans-serif;letter-spacing:-2.5px;margin:14px 0}
.intro p,.feature-card p,.section-heading p,.split-section p,.form-aside p,.project-feature p{color:var(--muted);font-size:14px}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding-top:10px}
.feature-card{min-height:330px;border-radius:22px;padding:28px;position:relative;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;transition:transform .2s}
.feature-card:hover{transform:translateY(-5px)}
.feature-dark{background:#173d2f;color:#fff}
.feature-green{background:var(--green);color:#193629}
.feature-image{background:linear-gradient(0deg,rgba(10,29,19,.85),rgba(10,29,19,.08)),url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=900&q=85') center/cover;color:white}
.card-number{font-size:9px;letter-spacing:1.7px;font-weight:700;opacity:.7}
.feature-card h3{font:700 30px/1.12 Manrope,sans-serif;letter-spacing:-1px;margin:50px 0 8px}
.feature-card p{max-width:250px;color:inherit;opacity:.78;font-size:12px}
.round-arrow{position:absolute;right:25px;bottom:25px;border-radius:50%;background:var(--green);color:#173d2f;width:38px;height:38px;display:grid;place-items:center}
.feature-green .round-arrow{background:#fff}
.stats{display:grid;grid-template-columns:1.5fr repeat(3,1fr);align-items:center;gap:25px;border-top:1px solid var(--line)}
.stat{border-left:1px solid var(--line);padding-left:25px}
.stat strong{display:block;font:700 54px Manrope;color:#80a990;letter-spacing:-3px}
.stat span{font-size:12px;color:var(--muted)}
.cta{margin:35px auto 80px;background:#173d2f;color:white;border-radius:26px;padding:55px 6%;display:flex;align-items:center;justify-content:space-between;gap:30px}
.cta .eyebrow{color:var(--green)}
.cta h2{font-size:clamp(32px,4vw,48px)}
.cta h2 em{color:var(--green)}
.cta p{color:#c1d0c6;font-size:13px}
.site-footer{padding:45px 7% 30px;background:var(--deep);color:white;display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.site-footer p{font-size:11px;color:#b8c9be}
.site-footer>div{display:flex;gap:20px;font-size:11px}
.site-footer>small{width:100%;border-top:1px solid #456052;padding-top:18px;color:#a8b8ad;font-size:10px}

.page-hero{padding:90px 8% 75px;text-align:center;max-width:1100px;margin:auto}
.page-hero h1{font-size:clamp(48px,6vw,76px)}
.page-hero>p{margin:0 auto;max-width:600px}
.page-hero.compact{padding-top:70px;padding-bottom:50px}
.split-section{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
.split-image,.history-image,.project-photo{min-height:440px;border-radius:22px;background:url('https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1000&q=85') center/cover}
.values{display:grid;grid-template-columns:1fr 1.2fr;gap:8%;border-top:1px solid var(--line)}
.value-list article{display:grid;grid-template-columns:55px 1fr;border-bottom:1px solid var(--line);padding:20px 0}
.value-list article>b{color:#71a184}
.value-list h3{margin:0;font:700 21px Manrope}
.value-list p{margin:5px 0;color:var(--muted);font-size:13px}
.history-body{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:start}
.history-image{min-height:550px;background-image:url('https://images.unsplash.com/photo-1511632765486-a01980e01a18?auto=format&fit=crop&w=1000&q=85')}
.timeline article{padding:0 0 30px 25px;border-left:1px solid #83a991;position:relative}
.timeline article:before{content:"";position:absolute;left:-6px;top:4px;width:11px;height:11px;border-radius:50%;background:var(--green)}
.timeline article span{font-size:9px;letter-spacing:1.5px;color:#54856b;font-weight:700}
.timeline h3{font:700 24px Manrope;margin:8px 0}
.timeline p{font-size:13px;color:var(--muted)}

.form-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:9%;align-items:start}
.form-aside h2{font-size:42px}
.form-note{margin-top:28px;padding:17px;border-radius:12px;background:var(--surface);font-size:11px;color:var(--muted)}
.site-form{background:var(--surface);padding:30px;border-radius:20px;box-shadow:var(--shadow);border:1px solid var(--line)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}
.site-form label{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:700;color:var(--text)}
.site-form input,.site-form select,.site-form textarea{width:100%;border:1px solid var(--line);border-radius:9px;background:var(--bg);color:var(--text);padding:12px 13px;outline:none;font-size:12px}
.site-form input:focus,.site-form select:focus,.site-form textarea:focus{border-color:#75a887}
.site-form label small{font-size:10px;color:var(--muted);font-weight:400}
.site-form .full{grid-column:1/-1}
.check-label{display:flex!important;flex-direction:row!important;align-items:flex-start;font-weight:400!important;line-height:1.5}
.check-label input{width:auto;margin-top:2px}
.site-form>.btn{margin-top:22px}
.form-status{font-size:12px;color:#54856b;min-height:18px}
.contact-detail{display:flex;flex-direction:column;margin-top:20px;font-size:12px}
.contact-detail span{color:var(--muted)}

.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:25px}
.section-heading h2{margin-bottom:0}
.section-heading p{max-width:330px}
.project-feature{display:grid;grid-template-columns:1.1fr .9fr;gap:7%;align-items:center}
.project-photo{min-height:420px;background-image:url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1000&q=85')}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}
.gallery-tile,.gallery-placeholder{min-height:230px;border-radius:17px;display:flex;flex-direction:column;justify-content:end;padding:20px;color:white;background-size:cover;background-position:center}
.gallery-a{background-image:linear-gradient(0deg,#10291e99,transparent),url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=700&q=80')}
.gallery-b{background-image:linear-gradient(0deg,#10291e99,transparent),url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=700&q=80')}
.gallery-c{background-image:linear-gradient(0deg,#10291e99,transparent),url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=700&q=80')}
.gallery-tile span{font-weight:700}
.media-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;padding-top:10px;padding-bottom:25px}
.media-tab{display:flex;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);padding:18px;border-radius:14px}
.media-tab>b{font:700 24px Manrope;color:#76a389}
.media-tab span{flex:1}
.media-tab strong,.media-tab small{display:block}
.media-tab strong{font-size:12px}
.media-tab small{font-size:10px;color:var(--muted)}
.media-tab i{font-style:normal}
.media-tab:hover,.media-tab.active{border-color:#82a98f}
.media-section{padding-top:45px}
.gallery-placeholder{background:var(--surface);border:1px dashed #8da99a;color:var(--text);align-items:center;justify-content:center;text-align:center;min-height:220px}
.gallery-placeholder small{color:var(--muted);max-width:230px}
.gallery-item{position:relative;display:block;min-height:220px;border-radius:15px;overflow:hidden;background:var(--surface)}
.gallery-item img{width:100%;height:240px;object-fit:cover;display:block;transition:transform .3s}
.gallery-item:hover img{transform:scale(1.04)}
.gallery-item span{position:absolute;bottom:0;left:0;right:0;padding:12px;background:linear-gradient(transparent,#000a);color:white;font-size:11px}
.video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}
.video-card{background:var(--surface);padding:12px;border-radius:15px}
.video-card video{width:100%;max-height:330px;background:#111;border-radius:10px}
.video-card p{font-size:12px}

.admin-body{min-height:100vh}
.admin-login{max-width:460px;margin:9vh auto;padding:35px}
.admin-login .brand{margin-bottom:60px}
.admin-login h1{font:700 48px/1.05 Manrope;letter-spacing:-2px}
.admin-login h1 em{font-style:normal;color:#4c916c}
.admin-login .site-form{margin-top:25px;display:grid;gap:17px}
.back-link{display:inline-block;margin-top:20px;font-size:12px;color:var(--muted)}
.admin-header{padding-left:6%;padding-right:6%}
.admin-actions{display:flex;align-items:center;gap:15px;font-size:12px}
.admin-main{max-width:1200px;margin:auto;padding:0 5% 70px}
.admin-main .page-hero{text-align:left;padding-left:0;padding-top:50px}
.admin-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:15px;margin-bottom:25px}
.admin-stats>div,.admin-panel{background:var(--surface);border:1px solid var(--line);border-radius:17px;padding:25px}
.admin-stats b{display:block;font:700 36px Manrope}
.admin-stats span{font-size:11px;color:var(--muted)}
.admin-panel{margin:18px 0}
.admin-panel h2{font-size:30px}
.table-wrap{overflow:auto}
table{border-collapse:collapse;width:100%;font-size:11px;text-align:left}
th,td{padding:12px;border-bottom:1px solid var(--line);white-space:nowrap}
th{color:var(--muted)}
#media-upload,#project-upload{max-width:720px;box-shadow:none;border:0;padding:0;background:transparent}
.admin-panel .section-heading{margin-bottom:18px}

@media(max-width:1050px){
  .main-nav{gap:10px}
  .main-nav>a,.nav-drop-btn{font-size:10px}
  .hero{padding-left:6%;padding-right:6%}
  .hero-visual{height:410px}
  .section{padding-left:6%;padding-right:6%}
}

@media(max-width:820px){
  .site-header{padding:14px 5%}
  .menu-toggle{display:block}
  .main-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--surface);padding:18px 5%;border-bottom:1px solid var(--line);box-shadow:var(--shadow);align-items:stretch;flex-direction:column;gap:3px}
  .main-nav.open{display:flex}
  .main-nav>a,.nav-drop-btn{font-size:13px;padding:10px 0;text-align:left}
  .nav-drop .dropdown{position:static;box-shadow:none;margin:0 0 8px 12px}
  .theme-toggle{margin-top:8px}
  .hero{grid-template-columns:1fr;padding-top:60px}
  .hero-visual{height:400px}
  .intro,.split-section,.history-body,.form-section,.project-feature,.values{grid-template-columns:1fr;gap:30px}
  .feature-grid{grid-template-columns:1fr 1fr}
  .feature-card:last-child{grid-column:1/-1}
  .stats{grid-template-columns:1fr 1fr}
  .stats>div:first-child{grid-column:1/-1}
  .media-tabs{grid-template-columns:1fr}
  .cta{margin-left:5%;margin-right:5%}
  .site-footer{align-items:flex-start;flex-direction:column}
  .site-footer>small{width:100%}
}

@media(max-width:560px){
  .hero{padding:48px 6% 60px}
  .hero h1,.page-hero h1{letter-spacing:-3px;font-size:47px}
  .hero-visual{height:320px}
  .photo-note{bottom:10px}
  .section{padding:55px 6%}
  .intro{gap:10px}
  .feature-grid{grid-template-columns:1fr}
  .feature-card,.feature-card:last-child{grid-column:auto;min-height:280px}
  .stats{gap:18px}
  .stat{padding-left:15px}
  .stat strong{font-size:42px}
  .cta{padding:35px 25px;align-items:flex-start;flex-direction:column}
  .page-hero{padding:60px 6% 45px}
  .form-grid{grid-template-columns:1fr}
  .site-form{padding:20px}
  .form-section{padding-top:25px}
  .gallery-grid,.video-grid{grid-template-columns:1fr}
  .section-heading{align-items:flex-start;flex-direction:column}
  .admin-login{margin:4vh auto;padding:25px}
  .admin-stats{grid-template-columns:1fr}
  .admin-header{align-items:flex-start}
  .admin-actions{font-size:10px}
  .site-footer>div{flex-wrap:wrap}
}

 /* CACSF single-page alumni registration experience */
.register-header{min-height:82px;padding:12px clamp(18px,6vw,80px);display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--surface);border-bottom:1px solid var(--line)}
.register-brand{display:flex;align-items:center;gap:12px;font:800 17px Manrope,sans-serif;letter-spacing:-.5px}
.register-brand img{width:58px;height:58px;object-fit:contain;border-radius:50%}
.register-brand small{display:block;font:700 8px 'DM Sans',sans-serif;letter-spacing:1.7px;margin-top:4px;color:var(--muted)}
.header-note{font-size:10px;letter-spacing:1.5px;font-weight:700;color:var(--muted);text-align:right}
body:has(.logo-intro){min-height:100vh}
body:has(.logo-intro) .page-hero.compact{padding-top:54px;padding-bottom:34px}
body:has(.logo-intro) .page-hero h1{font-size:clamp(38px,5vw,64px);letter-spacing:-2.5px}
body:has(.logo-intro) .form-section{max-width:1080px;grid-template-columns:.72fr 1.28fr;gap:6%;padding-top:28px}
body:has(.logo-intro) .form-aside h2{font-size:clamp(30px,3.4vw,42px)}
body:has(.logo-intro) .site-form{padding:clamp(20px,3vw,32px)}
.logo-intro{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:radial-gradient(ellipse at center,#25172d 0%,#100d15 56%,#050407 100%);animation:intro-away .8s ease 2.45s forwards;pointer-events:none}
.logo-intro-inner{display:flex;flex-direction:column;align-items:center;gap:14px;perspective:1000px}
.logo-intro img{display:block;width:min(72vw,510px);max-height:48vh;object-fit:contain;filter:drop-shadow(0 18px 28px #0009);transform-style:preserve-3d;animation:logo-turn 2.35s cubic-bezier(.2,.7,.25,1) both}
.logo-intro-inner p{margin:0;color:#f2e6a5;font:800 clamp(12px,2vw,18px) Manrope,sans-serif;letter-spacing:2.5px;text-align:center;opacity:0;animation:intro-text .55s ease 1.1s forwards}
.intro-caption{color:#d9cbdc;font:600 9px 'DM Sans',sans-serif;letter-spacing:3px;opacity:0;animation:intro-text .5s ease 1.55s forwards}
@keyframes logo-turn{0%{transform:rotateY(-85deg) scale(.7);opacity:0}18%{opacity:1}48%{transform:rotateY(18deg) scale(1.03)}75%{transform:rotateY(-10deg) scale(1)}100%{transform:rotateY(0deg) scale(1)}}
@keyframes intro-text{to{opacity:1}}
@keyframes intro-away{to{opacity:0;visibility:hidden}}
@media(max-width:820px){
  .register-header{min-height:70px}
  .register-brand img{width:48px;height:48px}
  .header-note{max-width:130px;font-size:8px;line-height:1.5}
  .form-section{grid-template-columns:1fr!important;gap:24px!important}
  .form-aside h2{font-size:34px!important}
  .page-hero.compact{padding:42px 6% 24px!important}
  .page-hero h1{letter-spacing:-1.5px!important}
  .site-form{padding:20px!important}
  .form-grid{gap:13px}
}
@media(max-width:520px){
  .form-grid{grid-template-columns:1fr}
  .site-form .full{grid-column:auto}
  .register-brand{font-size:14px}
  .register-brand img{width:42px;height:42px}
}
@media(prefers-reduced-motion:reduce){
  .logo-intro img,.logo-intro-inner p,.intro-caption,.logo-intro{animation-duration:.01ms!important;animation-delay:0ms!important}
}

/* CACSF registration page: centered premium green experience */
:root{
  --reg-bg:#f2f8f1;--reg-surface:#ffffff;--reg-text:#102d20;--reg-muted:#65776b;
  --reg-line:#dce9dc;--reg-green:#35e45c;--reg-green-dark:#137c3b;
  --reg-shadow:0 22px 70px rgba(13,55,31,.11);
}
:root[data-theme="dark"]{
  --reg-bg:#07150e;--reg-surface:#10251a;--reg-text:#eff9f0;--reg-muted:#a8bbaa;
  --reg-line:#294332;--reg-green:#45ed69;--reg-green-dark:#1b9b4d;
  --reg-shadow:0 24px 75px rgba(0,0,0,.34);
}
body:has(.registration-main){
  min-height:100vh;background:
    radial-gradient(ellipse at 8% 8%,rgba(111,238,110,.18),transparent 32%),
    radial-gradient(ellipse at 95% 28%,rgba(35,180,92,.11),transparent 30%),
    var(--reg-bg);color:var(--reg-text);
}
body:has(.registration-main) .register-header{
  width:min(1240px,calc(100% - 48px));margin:18px auto 0;padding:12px 18px;
  min-height:74px;background:color-mix(in srgb,var(--reg-surface) 88%,transparent);
  border:1px solid var(--reg-line);border-radius:18px;box-shadow:0 8px 28px rgba(12,48,27,.05);
}
body:has(.registration-main) .register-brand{color:var(--reg-text);gap:11px}
body:has(.registration-main) .register-brand img{width:52px;height:52px}
body:has(.registration-main) .register-brand small{color:var(--reg-muted)}
body:has(.registration-main) .theme-toggle{
  display:grid;place-items:center;width:42px;height:42px;border-radius:50%;
  border:1px solid var(--reg-line);background:var(--reg-surface);color:var(--reg-text);
  font-size:19px;cursor:pointer;transition:transform .2s,border-color .2s;
}
body:has(.registration-main) .theme-toggle:hover{transform:rotate(-12deg);border-color:var(--reg-green-dark)}
.registration-main{width:min(940px,calc(100% - 40px));margin:0 auto;padding:clamp(48px,7vw,82px) 0 36px}
.registration-intro{text-align:center;max-width:850px;margin:0 auto}
.intro-kicker{display:inline-flex;align-items:center;gap:9px;padding:8px 14px;border:1px solid var(--reg-line);border-radius:99px;background:var(--reg-surface);color:var(--reg-green-dark);font-size:9px;font-weight:800;letter-spacing:2px}
.kicker-dot{width:7px;height:7px;border-radius:50%;background:var(--reg-green-dark);box-shadow:0 0 0 4px color-mix(in srgb,var(--reg-green) 20%,transparent)}
.registration-intro h1{margin:23px 0 9px;font:800 clamp(43px,7.2vw,78px)/1.02 Manrope,sans-serif;letter-spacing:-4.8px;color:var(--reg-text)}
.registration-intro h1 em{font-style:normal;color:var(--reg-green-dark)}
.registration-intro h2{margin:0;font:700 clamp(27px,4.4vw,43px)/1.15 Manrope,sans-serif;letter-spacing:-2px;color:var(--reg-text)}
.registration-intro h2 em{font-style:normal;color:var(--reg-green-dark)}
.intro-support{margin:15px auto 0;max-width:570px;color:var(--reg-muted);font-size:clamp(13px,1.7vw,16px);line-height:1.7}
.instruction-card{
  display:flex;align-items:center;gap:15px;text-align:left;max-width:790px;margin:30px auto 0;
  padding:17px 21px;border:1px solid color-mix(in srgb,var(--reg-green-dark) 22%,var(--reg-line));
  border-radius:13px;background:linear-gradient(110deg,color-mix(in srgb,var(--reg-green) 12%,var(--reg-surface)),var(--reg-surface));
  box-shadow:0 10px 30px rgba(17,75,38,.045);
}
.instruction-icon{flex:0 0 34px;width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--reg-green);color:#073719;font-size:18px}
.instruction-card p{margin:0;color:var(--reg-text);font-size:12px;line-height:1.65}
.registration-form-wrap{max-width:790px;margin:30px auto 0}
body:has(.registration-main) .registration-form{
  padding:clamp(22px,4vw,38px);border:1px solid var(--reg-line);border-radius:22px;
  background:var(--reg-surface);box-shadow:var(--reg-shadow);
}
.form-heading{margin-bottom:25px;padding-bottom:20px;border-bottom:1px solid var(--reg-line)}
.form-step{color:var(--reg-green-dark);font-size:9px;font-weight:800;letter-spacing:2px}
.form-heading h3{margin:7px 0 3px;font:750 25px Manrope,sans-serif;letter-spacing:-.8px;color:var(--reg-text)}
.form-heading p{margin:0;color:var(--reg-muted);font-size:11px}
.form-heading p b,.required-mark{color:#d65b48}
body:has(.registration-main) .form-grid{gap:19px}
body:has(.registration-main) .site-form label{gap:8px;color:var(--reg-text);font-size:11px;font-weight:700}
body:has(.registration-main) .site-form input,
body:has(.registration-main) .site-form select{
  min-height:47px;padding:12px 14px;border:1px solid var(--reg-line);border-radius:10px;
  background:var(--reg-bg);color:var(--reg-text);font-size:12px;transition:border-color .2s,box-shadow .2s;
}
body:has(.registration-main) .site-form input:focus,
body:has(.registration-main) .site-form select:focus{
  border-color:var(--reg-green-dark);box-shadow:0 0 0 3px color-mix(in srgb,var(--reg-green) 18%,transparent);outline:0;
}
body:has(.registration-main) .site-form input::placeholder{color:var(--reg-muted);opacity:.75}
body:has(.registration-main) .site-form input[type=file]{padding:9px;background:color-mix(in srgb,var(--reg-green) 7%,var(--reg-bg))}
body:has(.registration-main) .site-form label small{color:var(--reg-muted);font-size:10px;font-weight:400}
.optional-label{display:inline!important;margin-left:4px}
body:has(.registration-main) .site-form .check-label{font-size:11px;line-height:1.6;color:var(--reg-muted)}
body:has(.registration-main) .site-form .check-label input{min-height:0;accent-color:var(--reg-green-dark)}
.registration-submit{
  width:100%;min-height:51px;margin-top:24px!important;border-radius:11px!important;
  background:linear-gradient(105deg,#19b84e,#50e969)!important;color:#062d16!important;
  font-size:13px!important;font-weight:800!important;box-shadow:0 9px 22px rgba(35,190,81,.2);
}
.registration-submit span{font-size:18px}
.registration-submit:hover{filter:brightness(1.03);transform:translateY(-2px)}
body:has(.registration-main) .form-status{margin:13px 0 0;min-height:18px;color:var(--reg-green-dark);font-size:12px}
.registration-footnote{text-align:center;margin:25px 0 0;color:var(--reg-muted);font-size:10px;letter-spacing:1.2px}
:root[data-theme="dark"] .registration-intro h1 em,
:root[data-theme="dark"] .registration-intro h2 em{color:#59e77b}
:root[data-theme="dark"] .intro-kicker,
:root[data-theme="dark"] .form-step{color:#65eb83}
:root[data-theme="dark"] .instruction-card{background:linear-gradient(110deg,#153d25,#10251a);border-color:#315b3d}
:root[data-theme="dark"] .instruction-card p{color:#e5f4e7}

@media(max-width:700px){
  .registration-main{width:min(100% - 30px,560px);padding-top:48px}
  .registration-intro h1{letter-spacing:-2.8px}
  .registration-intro h2{letter-spacing:-1.2px}
  .instruction-card{margin-top:23px;padding:15px;align-items:flex-start}
  .registration-form-wrap{margin-top:22px}
  body:has(.registration-main) .register-header{width:calc(100% - 28px);margin-top:12px}
}
@media(max-width:520px){
  .registration-main{width:calc(100% - 24px);padding-top:38px}
  .registration-intro h1{font-size:clamp(39px,11vw,55px);letter-spacing:-2.5px}
  .registration-intro h2{font-size:clamp(25px,7.2vw,33px)}
  body:has(.registration-main) .form-grid{grid-template-columns:1fr}
  body:has(.registration-main) .site-form .full{grid-column:1/-1}
  body:has(.registration-main) .registration-form{padding:20px}
  .register-brand{font-size:14px}
  body:has(.registration-main) .register-brand img{width:44px;height:44px}
}
@media(prefers-reduced-motion:reduce){.registration-submit,.theme-toggle{transition:none}}

/* Required marker stays beside its field label (not on a separate line). */
body:has(.registration-main) .site-form label .field-label{
  display:inline-flex;flex-direction:row;align-items:baseline;gap:4px;min-height:0;
  width:max-content;max-width:100%;line-height:1.35;
}
body:has(.registration-main) .site-form label .required-mark{
  display:inline!important;flex:0 0 auto;color:#d65b48;font-weight:800;line-height:1;
}

/* Fellowship photograph background with a protective green veil for legibility. */
body:has(.registration-main){
  background-image:linear-gradient(135deg,rgba(3,27,15,.76),rgba(8,48,25,.60) 48%,rgba(3,20,13,.76)),
    url('../cacsf-fellowship-background.webp');
  background-position:center center;background-size:cover;background-repeat:no-repeat;background-attachment:fixed;
}
body:has(.registration-main) .register-header{
  background:color-mix(in srgb,var(--reg-surface) 90%,transparent);backdrop-filter:blur(14px);
}
body:has(.registration-main) .registration-intro .intro-kicker{
  box-shadow:0 8px 26px rgba(0,0,0,.10);
}
body:has(.registration-main) .registration-form{
  background:color-mix(in srgb,var(--reg-surface) 95%,transparent);
  backdrop-filter:blur(16px);
}
:root[data-theme="dark"] body:has(.registration-main){
  background-image:linear-gradient(135deg,rgba(0,10,5,.84),rgba(1,23,11,.77) 48%,rgba(0,9,5,.87)),
    url('../cacsf-fellowship-background.webp');
}
@media(max-width:700px){
  body:has(.registration-main){background-attachment:scroll;background-position:center top}
}

/* LIGHT MODE READABILITY FIX — registration introduction */
:root:not([data-theme="dark"]) .registration-intro h1 em,
:root:not([data-theme="dark"]) .registration-intro h2 em{
  color:#176b35;
}
:root:not([data-theme="dark"]) .registration-intro .intro-support{
  color:#344f3d;
}

/* DARK MODE INTRODUCTION READABILITY */
:root[data-theme="dark"] .registration-intro h1 em,
:root[data-theme="dark"] .registration-intro h2 em{
  color:#59e77b;
}
:root[data-theme="dark"] .registration-intro .intro-support{
  color:#d0dfd3;
}
/* =========================================
   REGISTRATION INTRO — LIGHT MODE READABILITY
   ========================================= */

:root[data-theme="light"] .registration-intro h1,
:root[data-theme="light"] .registration-intro h2 {
    color: #173522 !important;
}

:root[data-theme="light"] .registration-intro h1 em,
:root[data-theme="light"] .registration-intro h2 em {
    color: #176b35 !important;
}

:root[data-theme="light"] .registration-intro .intro-support {
    color: #344f3d !important;
}

/* Keep the introduction readable in dark mode too */

:root[data-theme="dark"] .registration-intro h1,
:root[data-theme="dark"] .registration-intro h2 {
    color: #f1f5f1 !important;
}

:root[data-theme="dark"] .registration-intro h1 em,
:root[data-theme="dark"] .registration-intro h2 em {
    color: #59e77b !important;
}

:root[data-theme="dark"] .registration-intro .intro-support {
    color: #d0dfd3 !important;
}
/* Registration introduction — light mode colors */
:root[data-theme="light"] .registration-intro h1,
:root[data-theme="light"] .registration-intro h2 {
    color: #ffffff !important;
}

:root[data-theme="light"] .registration-intro h1 em,
:root[data-theme="light"] .registration-intro h2 em {
    color: #ffdf00 !important;
}

:root[data-theme="light"] .registration-intro .intro-support {
    color: #90EE90 !important;
}
/* CACSF LIBERATION FAMILY FOOTER */
.registration-footnote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 30px auto 20px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: left;
    color: #ffffff;
}

.registration-footnote img {
    width: 55px;
    height: 55px;
    object-fit: contain;
    flex-shrink: 0;
}

.registration-footnote span {
    color: #ffffff;
    font-weight: 800;
}

@media (max-width: 480px) {
    .registration-footnote {
        font-size: 16px;
        gap: 8px;
    }

    .registration-footnote img {
        width: 45px;
        height: 45px;
    }
}