
:root{
  --bg:#0b0b0d; --panel:#141418; --text:#f4f4f5; --muted:#b8b8c0;
  --line:#2a2a31; --accent:#ff4fb3; --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#fff;color:#17171a;font-family:Arial,Helvetica,sans-serif;line-height:1.65}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
.site-header{background:#fbfaf7;color:#171519;position:sticky;top:0;z-index:50;border-bottom:1px solid #dcd8d5}
.header-inner{max-width:var(--max);margin:auto;display:flex;align-items:center;gap:28px;padding:14px 20px}
.brand{display:block;position:relative;width:220px;height:82px;overflow:hidden;flex:none}
.brand img{position:absolute;max-width:none;width:317px;height:auto;left:-51px;top:-10px}
.nav{margin-left:auto;display:flex;gap:18px;flex-wrap:wrap}
.nav a{text-decoration:none;font-size:15px;padding:8px 0;border-bottom:2px solid transparent}
.nav a:hover,.nav a.active{border-color:var(--accent)}
.hero{background:linear-gradient(135deg,#0b0b0d,#1b1b22);color:white}
.hero-inner{max-width:var(--max);margin:auto;padding:72px 20px;display:grid;grid-template-columns:1.15fr .85fr;gap:48px;align-items:center}
.hero h1{font-size:clamp(34px,6vw,68px);line-height:1.04;margin:0 0 22px}
.hero .lead{font-size:clamp(18px,2.3vw,27px);max-width:760px}
.hero img{border-radius:18px;background:white}
.container{max-width:var(--max);margin:auto;padding:54px 20px}
.page-title{font-size:clamp(34px,5vw,58px);margin:0 0 28px;line-height:1.08}
.section{padding:40px 0;border-top:1px solid #e5e5e8}
.section:first-child{border-top:0}
.section h2{font-size:clamp(27px,4vw,42px);line-height:1.14;margin:0 0 15px}
.section h3{font-size:23px;margin:30px 0 10px}
.date{font-weight:700;color:#666;margin-bottom:8px}
.muted{color:#666}
.button,.text-link{display:inline-block;text-decoration:none;font-weight:700}
.button{background:#111;color:#fff;padding:12px 18px;border-radius:9px}
.button.pink{background:var(--accent);color:#111}
.text-link{text-decoration:underline;text-underline-offset:3px}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.card{border:1px solid #e2e2e7;border-radius:14px;overflow:hidden;background:#fff}
.card img{width:100%;aspect-ratio:4/3;object-fit:cover;background:#f0f0f2}
.card-body{padding:17px}
.card h3{margin:0 0 5px;font-size:20px}
.card p{margin:4px 0}
.challenge{padding:42px 0;border-top:2px solid #e7e7eb}
.challenge:first-child{border-top:0}
.challenge > h2{margin-bottom:8px}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:24px 0 30px}
.gallery figure{margin:0;border:1px solid #dddfe5;border-radius:12px;overflow:hidden;background:white}
.gallery img{width:100%;height:360px;object-fit:contain;background:#f4f4f6}
.gallery figcaption{padding:12px 14px;font-size:15px}
.winner-list{padding-left:22px}
.winner-list li{margin:6px 0}
.profile-hero{display:grid;grid-template-columns:minmax(280px,.8fr) 1.2fr;gap:34px;align-items:start}
.profile-hero > img{border-radius:14px;max-height:650px;width:100%;object-fit:contain;background:#f1f1f3}
.profile-copy h1{font-size:clamp(34px,5vw,56px);line-height:1.05;margin-top:0}
.profile-copy p{margin:0 0 15px}
.profile-work{margin-top:34px}
.profile-work img{max-height:760px;margin:auto;object-fit:contain}
.quote{border-left:4px solid var(--accent);padding-left:18px;font-style:italic}
.event-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:28px 0}
.event-gallery img{width:100%;height:430px;object-fit:cover;border-radius:12px}
.form{display:grid;gap:13px;max-width:700px}
.form label{font-weight:700}
.form input,.form textarea{width:100%;padding:12px;border:1px solid #cfd0d4;border-radius:8px;font:inherit}
.form textarea{min-height:160px}
.footer{background:#fbfaf7;color:#171519;margin-top:60px;border-top:1px solid #dcd8d5}
.footer-inner{max-width:var(--max);margin:auto;padding:36px 20px;display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px}
.footer img{width:300px;max-width:none;margin:-10px 0 -12px -48px}
.footer a{color:#171519}
.small{font-size:14px;color:#716b6e}
.notice{background:#fff6cf;border:1px solid #eadc9c;padding:14px 16px;border-radius:9px}
@media (max-width:850px){
  .header-inner{align-items:flex-start;flex-direction:column;gap:8px}
  .brand{width:190px;height:71px}
  .brand img{width:274px;left:-44px;top:-9px}
  .nav{margin-left:0;gap:12px}
  .hero-inner,.profile-hero{grid-template-columns:1fr}
  .grid,.grid.two,.gallery,.event-gallery{grid-template-columns:1fr}
  .gallery img{height:auto;max-height:620px}
  .event-gallery img{height:auto}
  .footer-inner{grid-template-columns:1fr}
}


/* Unified homepage footer for static subpages */
.shell{width:min(1180px,calc(100% - 80px));margin-inline:auto}
.footer{background:#fbfaf7;color:#171519;margin-top:60px;border-top:1px solid #dcd8d5;padding:50px 0 22px}
.footer-layout{display:flex;align-items:center;justify-content:space-between;gap:45px}
.footer-brand{width:188px;height:72px;position:relative;display:block;overflow:hidden;flex:none}
.footer-brand img{position:absolute;width:270px;max-width:none;height:auto;left:-43px;top:-9px;margin:0}
.footer nav{display:flex;align-items:center;gap:22px;flex-wrap:wrap;font-size:12px;font-weight:700}
.footer nav a{text-decoration:none;color:#171519}
.footer nav a:hover{text-decoration:underline}
.footer-end{margin-top:36px;padding-top:20px;border-top:1px solid #dcd8d5;color:#777175;font-size:12px}
@media(max-width:1080px){.shell{width:calc(100% - 52px)}}
@media(max-width:800px){.footer-layout{align-items:flex-start;flex-direction:column;gap:22px}}
@media(max-width:560px){.shell{width:calc(100% - 36px)}.footer nav{gap:12px 17px}}
