/*
Theme Name: ALIGN AI
Description: Coastline College’s ALIGN AI website and event editor.
Version: 1.0.5
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: align-ai
*/
:root{--navy:#0b2343;--navy-deep:#081d38;--blue:#155ac3;--blue-dark:#10489e;--sky:#9bc9ff;--tint:#edf5ff;--ink:#102742;--muted:#405572;--line:#d6e3f2;--white:#fff;--radius:18px}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font:1rem/1.6 "Aptos","Segoe UI",system-ui,sans-serif;color:var(--ink);background:#fff}
img{display:block;width:100%;height:auto}
a{color:var(--blue-dark);text-underline-offset:.2em}
a:focus-visible,summary:focus-visible{outline:3px solid #3586e4;outline-offset:5px}
h1,h2,h3,p{margin:0 0 .85rem}
h1,h2,h3{line-height:1.1;letter-spacing:-.035em}
h1{font-size:clamp(2.7rem,6.1vw,5.45rem)}
h2{font-size:clamp(2rem,3.35vw,3.2rem)}
h3{font-size:1.38rem}
p{color:var(--muted)}
.wrap{width:min(100% - 3rem,1190px);margin-inline:auto}
.skip{position:absolute;top:.5rem;left:.5rem;z-index:8;background:#fff;padding:.7rem;transform:translateY(-150%)}
.skip:focus{transform:translateY(0)}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:2}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1.6rem;min-height:80px}
.brand{display:inline-flex;align-items:center;gap:.65rem;text-decoration:none;color:var(--navy);font-size:1.45rem;font-weight:800;line-height:1.1;letter-spacing:-.05em;white-space:nowrap}
.brand b{color:var(--blue)}
.site-header .brand-wordmark{font-style:italic}
.site-header .brand small{font-style:normal}
.brand small{display:block;margin-top:.32rem;font-size:.68rem;letter-spacing:.12em;font-weight:740}
.brand-mark{display:grid;place-items:center;flex:none;width:60px;height:46px}
.brand-mark img{width:100%;height:auto}
.desktop-nav{display:flex;gap:clamp(.8rem,2vw,1.65rem);align-items:center}
.desktop-nav a,.mobile-nav a{font-size:.925rem;font-weight:650;text-decoration:none;color:var(--ink)}
.desktop-nav a[aria-current],.mobile-nav a[aria-current]{color:var(--blue-dark);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.45rem}
.desktop-nav a:hover,.mobile-nav a:hover,.text-link:hover{color:var(--blue)}
.mobile-nav{display:none}
.hero{color:#fff;background:radial-gradient(ellipse at 75% 15%,#1b467b,var(--navy-deep) 65%);padding-block:clamp(2.8rem,6vw,6rem)}
.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(2rem,5vw,5rem);align-items:center}
.hero h1{margin:.3rem 0 1.3rem;max-width:10ch}
.hero h1 span{color:var(--sky)}
.hero-copy>p:not(.kicker){max-width:39ch;font-size:clamp(1.05rem,1.8vw,1.25rem);color:#d8e9ff}
.kicker{font-size:.875rem;line-height:1.35;text-transform:uppercase;letter-spacing:.125em;color:var(--blue-dark);font-weight:750;margin-bottom:.7rem}
.hero .kicker,.callout .kicker{color:var(--sky)}
.hero-photo,.section-image{overflow:hidden;border-radius:var(--radius);background:#d9eaff}
.hero-photo{border:1px solid #6895c6;box-shadow:0 20px 60px #020d244d}
.hero-photo img,.section-image img{aspect-ratio:3 / 2;object-fit:cover}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.65rem}
.button{font-size:.95rem;font-weight:700;line-height:1.2;display:inline-flex;align-items:center;justify-content:center;min-height:46px;border-radius:9px;padding:.75rem 1rem;border:1px solid transparent;text-decoration:none}
.button.primary{color:#fff;background:var(--blue)}
.button.primary:hover{background:var(--blue-dark)}
.hero .button.primary{background:var(--sky);color:#08284e}
.hero .button.primary:hover{background:#c4e0ff}
.button.outline{color:inherit;border-color:currentColor}
.button.outline:hover{background:#ffffff1a}
.project-strip{background:var(--tint);border-bottom:1px solid var(--line);color:var(--navy);font-size:.95rem;font-weight:650}
.project-strip .wrap{display:flex;justify-content:space-between;gap:.65rem 1.5rem;padding-block:1rem;flex-wrap:wrap}
.section{padding-block:clamp(2.8rem,6vw,5.2rem)}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem 2rem;margin-bottom:1.65rem}
.section-head p:last-child,.card p:last-child,.callout .section-head{margin-bottom:0}
.section-head>.text-link{white-space:nowrap;padding-block:.2rem}
.text-link{font-weight:700}
.grid{display:grid;gap:1.25rem;margin-top:1.4rem}
.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.three{grid-template-columns:repeat(3,minmax(0,1fr))}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(1.15rem,2.5vw,1.85rem)}
.icon{display:inline-grid;place-items:center;width:44px;height:44px;background:#e5f0ff;color:var(--blue-dark);border-radius:11px;margin-bottom:1.1rem}
.icon svg{width:24px;height:24px}
.tint{background:var(--tint)}
.event-card{display:grid;grid-template-columns:auto 1fr;gap:1rem}
.event-kind{font-size:.875rem;font-weight:700;color:var(--blue-dark);margin-bottom:.35rem}
.event-card h3 a{color:var(--navy);text-decoration:none}
.event-card h3 a:hover{text-decoration:underline}
.event-meta{font-weight:700;color:var(--navy)}
.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.6rem,5vw,4.5rem);align-items:center}
.split .button,.tint>.wrap>.button{margin-top:.4rem}
.callout{background:var(--navy);color:#fff}
.callout p{color:#d8e9ff}
.page-hero{background:var(--tint);border-bottom:1px solid var(--line);padding-block:clamp(3rem,7vw,6rem)}
.page-hero h1{font-size:clamp(2.7rem,5.4vw,4.5rem);max-width:19ch}
.intro{max-width:65ch;font-size:clamp(1.05rem,2vw,1.3rem);margin-bottom:0}
.measure{max-width:69ch}
.lead{display:flex;align-items:center;gap:1rem}
.lead h3{margin-bottom:.35rem}
.initials{display:grid;place-items:center;background:var(--navy);border-radius:100%;width:3rem;height:3rem;flex:none;color:#fff;font-weight:750}
.initiative{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(1rem,6vw,5rem)}
.detail-list{margin:0}
.detail-list>div{padding:.85rem 0;border-top:1px solid var(--line)}
.detail-list dt{font-size:1.08rem;font-weight:750}
.detail-list dd{margin:.25rem 0 0;color:var(--muted)}
.event-detail{align-items:start}
.event-detail h2{margin-top:1rem}
.event-detail .detail-list>div:first-child{border-top:0;padding-top:0}
.event-detail .detail-list>div:last-child{padding-bottom:0}
.resource-list{display:grid;gap:.85rem;max-width:820px;margin-top:1.5rem}
.resource{border:1px solid var(--line);border-radius:12px;background:#fff}
.resource summary{cursor:pointer;padding:.75rem 1rem;font-weight:700}
.resource summary span{vertical-align:middle}
.resource summary .icon{width:34px;height:34px;margin:0 .6rem 0 .4rem}
.resource summary svg{width:19px;height:19px}
.resource ul{margin:.2rem 1.25rem 1.1rem 1.75rem}
.resource li+li{margin-top:.45rem}
.partners ul{padding-left:1.2rem;margin-bottom:0}
.partners li+li{margin-top:.55rem}
.lead-label{display:inline-block;background:var(--tint);color:var(--blue-dark);border-radius:6px;padding:.1rem .45rem;font-size:.875rem;font-weight:700;margin-left:.35rem}
.site-footer{background:var(--navy-deep);color:#e6f1ff;padding:2.4rem 0}
.site-footer .brand,.site-footer a,.site-footer p{color:#e6f1ff}
.site-footer .brand b{color:var(--sky)}
.footer-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:2rem}
.footer-grid .brand{margin-bottom:.85rem}
.site-footer .brand-mark{background:var(--white);border-radius:9px;padding:5px}
.footer-lockup{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:1.25rem;align-items:center}
.footer-lead{min-width:0;border-inline-start:1px solid var(--sky);padding-inline-start:1.25rem}
.footer-lead-label{font-size:.75rem;text-transform:uppercase;letter-spacing:.14em;font-weight:700;margin-bottom:.45rem}
@media(max-width:420px){.footer-lockup{grid-template-columns:1fr}.footer-lead{border-inline-start:0;padding-inline-start:0;border-top:1px solid var(--sky);padding-top:1rem}}
.coastline-brand{display:inline-block;width:min(100%,190px)}
.footer-grid p{max-width:33ch}
.footer-grid nav{display:flex;flex-wrap:wrap;align-content:flex-start;gap:.45rem 1rem}
.empty{padding:1.15rem;border:1px solid var(--line);border-radius:10px;background:#fff}
@media(max-width:1000px){.desktop-nav{display:none}.mobile-nav{display:block}.mobile-nav summary{cursor:pointer;border:1px solid var(--line);border-radius:9px;padding:.45rem .75rem;font-weight:700}.mobile-nav nav{display:grid;gap:.4rem;position:absolute;right:1.5rem;top:calc(100% - .25rem);width:min(18rem,calc(100vw - 3rem));border:1px solid var(--line);border-radius:12px;background:#fff;padding:.65rem;box-shadow:0 10px 25px #081d3826}.mobile-nav a{padding:.45rem .65rem}.three{gap:.85rem}}
@media(max-width:650px){.wrap{width:calc(100% - 2rem)}.header-inner{min-height:68px}.hero-grid,.split,.initiative,.two,.three,.footer-grid{grid-template-columns:1fr}.hero h1{max-width:12ch}.project-strip .wrap{display:grid}.section-head{align-items:flex-start;flex-direction:column}.event-card{gap:.7rem}.mobile-nav nav{right:1rem}}
.past-events{margin-top:3.25rem}

.desktop-nav .nav-project{border-inline-start:1px solid var(--line);padding-inline-start:1rem;white-space:nowrap}
.mobile-nav .nav-project{border-top:1px solid var(--line);margin-top:.3rem;padding-top:.7rem}
.pep-target h3{color:var(--blue-dark);font-size:2rem}
.pep-partner-list{margin-top:0}
.lead-contact-list{margin:0;padding-inline-start:1.2rem}
.lead-contact-list li+li{margin-top:.5rem}
