/*
VOICE: a real student club, warm and plain-spoken; short concrete copy, no slogans.
IDEA: a postcard from the hill at dusk, then the club's noticeboard: dates, photos, people.
PICTURE: layered painted scene (sky, clouds, hill with an old computer) that moves with scroll; the screen shows the next event.
COLOUR and TYPE: dusk violet ink, sky lavender field, one sun-orange accent; Schibsted Grotesk throughout.
LAYOUT: full-bleed scene, then bands that reach the edges; lists with hanging dates, photo strips, a portrait grid.
*/
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-display:swap;font-weight:400 900;src:url(/fonts/schibsted-grotesk-latin-wght-normal.woff2) format('woff2-variations');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Schibsted Grotesk';font-style:normal;font-display:swap;font-weight:400 900;src:url(/fonts/schibsted-grotesk-latin-ext-wght-normal.woff2) format('woff2-variations');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-mono-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Mono';font-style:normal;font-display:swap;font-weight:600;src:url(/fonts/ibm-plex-mono-latin-ext-600-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
:root{color-scheme:light;--ink:#221a36;--ink2:#4d4566;--mute:#6f6886;--paper:#ffffff;--sky:#ece8fb;--sky2:#d9d2f5;--dusk:#1d1630;--sun:#f2783a;--sun2:#d95f22;--olive:#5d6b2e;--line:#e6e1f2}
:root[data-theme=light],:root[data-theme=dark]{color-scheme:light}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:80px}
body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.6 'Schibsted Grotesk',system-ui,sans-serif;overflow-x:clip;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{margin:0;line-height:1.05;text-wrap:balance;letter-spacing:-.02em}
h2{font-size:clamp(32px,4.2vw,50px);font-weight:700}
h3{font-size:21px;font-weight:600;letter-spacing:-.01em;line-height:1.25}
p{margin:0}
.wrap{max-width:1240px;margin:0 auto;padding:0 max(4vw,18px)}
.band{padding:clamp(56px,7vw,112px) 0}
.btn{display:inline-flex;align-items:center;gap:10px;height:50px;padding:0 22px;border-radius:6px;font-weight:600;text-decoration:none;border:0;font:inherit;font-weight:600;cursor:pointer;transition:background .2s,transform .2s}
.btn:active{transform:translateY(1px)}
.btn-sun{background:var(--sun);color:#1d1206}.btn-sun:hover{background:#ff8a4d}
.btn-ink{background:var(--ink);color:#fff}.btn-ink:hover{background:#352a52}
.btn-line{border:1.5px solid currentColor;background:transparent}
:focus-visible{outline:3px solid var(--sun);outline-offset:3px}
.small{font-size:14px;color:var(--mute)}

/* nav */
.nav{position:fixed;inset:0 0 auto;z-index:50;transition:background .3s,box-shadow .3s,color .3s;color:#fff}
.nav.solid{background:rgba(255,255,255,.94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:0 1px 0 var(--line);color:var(--ink)}
.nav .wrap{display:flex;align-items:center;justify-content:space-between;gap:12px;height:72px}
.logo{display:flex;align-items:center;gap:10px;font-weight:700;text-decoration:none;font-size:17px;white-space:nowrap}
.logo svg{flex:none}
.links{display:flex;align-items:center;gap:4px}
.links a{padding:10px 12px;border-radius:6px;text-decoration:none;font-size:15px;font-weight:500}
.links a:hover{background:rgba(127,110,180,.16)}
.links a.on{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.links .btn{height:42px;margin-left:8px;padding:0 16px}
.menu-b{display:none;width:44px;height:44px;border:0;background:transparent;color:inherit;border-radius:6px;cursor:pointer}
@media(max-width:820px){
.menu-b{display:grid;place-items:center}
.links{position:absolute;top:72px;left:0;right:0;flex-direction:column;align-items:stretch;background:#fff;color:var(--ink);padding:8px max(4vw,18px) 18px;box-shadow:0 20px 30px -20px rgba(29,22,48,.4);display:none}
.nav.open .links{display:flex}.links a{padding:14px 8px;font-size:17px}.links .btn{margin:8px 0 0;justify-content:center;height:50px}
}

/* hero scene */
.hero{--h:clamp(640px,96svh,960px);position:relative;height:var(--h);overflow:hidden;background:#b7b0e3;color:#fff;isolation:isolate}
.scene{position:absolute;bottom:0;left:50%;width:max(100%,calc(var(--h) * 1.7778));aspect-ratio:16/9;transform:translateX(-50%);container-type:inline-size}
.layer{position:absolute;inset:0;will-change:transform}
.layer img{width:100%;height:100%;object-fit:cover}
.l-bg{inset:-22% 0 0}.l-bg img{object-position:center bottom}
.cloud{position:absolute;will-change:transform;animation:drift linear infinite alternate}
.cloud img{width:100%;height:auto}
@keyframes drift{from{translate:-3vw 0}to{translate:3vw 0}}
.birds{position:absolute;animation:fly 38s linear infinite}
@keyframes fly{from{translate:12vw 2vh}to{translate:-30vw -4vh}}
.screen{position:absolute;display:flex;flex-direction:column;justify-content:center;padding:1.2% 1.4%;font:600 clamp(8px,.82cqw,14px)/1.3 'IBM Plex Mono',ui-monospace,monospace;color:#5a2a05;text-shadow:0 0 6px rgba(255,190,90,.8);overflow:hidden;border-radius:6%/9%}
.screen b{display:block;font-weight:600;color:#3d1a00}
.cur{display:inline-block;width:.55em;height:1em;background:#5a2a05;vertical-align:-.15em;animation:blink 1s steps(1) infinite}
@keyframes blink{50%{opacity:0}}
.screen::after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(90,40,0,.08) 0 2px,transparent 2px 4px);pointer-events:none}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(29,22,48,.5),rgba(29,22,48,.12) 45%,rgba(29,22,48,0) 65%);pointer-events:none}
.hero-text{position:absolute;inset:0;display:flex;align-items:center}
.hero-text .wrap{width:100%}
.hero-text .box{max-width:560px;display:flex;flex-direction:column;gap:20px;padding-bottom:6vh}
.kicker{font-size:16px;font-weight:500;opacity:.92}
.hero h1{font-size:clamp(54px,8vw,108px);font-weight:800;letter-spacing:-.04em;line-height:.92}
.hero p.lead{font-size:clamp(17px,1.5vw,20px);max-width:30em;opacity:.95}
.hero .row{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.hero .btn-line{color:#fff}
.hero .btn-line:hover{background:rgba(255,255,255,.12)}
.in{opacity:0;transform:translateY(22px);animation:in .9s cubic-bezier(.2,.7,.2,1) forwards}
.in2{animation-delay:.12s}.in3{animation-delay:.24s}.in4{animation-delay:.36s}
@keyframes in{to{opacity:1;transform:none}}
@media(max-width:820px){
.hero{--h:clamp(700px,100svh,900px)}.scene{bottom:-15%;transform:translateX(-76%)}
.hero-shade{background:linear-gradient(180deg,rgba(29,22,48,.55),rgba(29,22,48,.2) 55%,rgba(29,22,48,0) 75%)}
.hero-text{align-items:flex-start;padding-top:104px}.hero-text .box{gap:16px}
}

/* next event strip */
.next{position:relative;z-index:2;margin-top:-56px}
.next a{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;background:#fff;border-radius:10px;padding:20px 24px;box-shadow:0 24px 50px -28px rgba(29,22,48,.5);text-decoration:none}
.next .when{font-weight:700;font-size:15px;color:var(--sun2)}
.next strong{font-size:20px;flex:1 1 260px}
.next .go{font-weight:600}

/* reveal */
.rv{opacity:0;transform:translateY(26px);transition:opacity .8s cubic-bezier(.2,.7,.2,1),transform .8s cubic-bezier(.2,.7,.2,1)}
.rv.shown{opacity:1;transform:none}

/* event list */
.head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:12px 24px;margin-bottom:32px}
.head a{font-weight:600;text-decoration:none;border-bottom:2px solid var(--sun)}
.ev{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:6px 28px;align-items:center;padding:24px 0;border-top:1px solid var(--line);text-decoration:none;transition:background .2s}
.ev:last-child{border-bottom:1px solid var(--line)}
.ev:hover h3{text-decoration:underline;text-underline-offset:4px}
.ev .d{font-size:44px;font-weight:700;line-height:1;letter-spacing:-.03em}
.ev .d span{display:block;font-size:14px;font-weight:500;color:var(--mute);letter-spacing:0;margin-top:6px}
.ev p{color:var(--ink2);font-size:16px;margin-top:4px}
.tag{display:inline-block;padding:5px 10px;border-radius:4px;font-size:13px;font-weight:600;white-space:nowrap}
.t-yz{background:#fde3d3;color:#8a3510}.t-linux{background:#e4ead2;color:#3d4a12}.t-proje{background:#e3defa;color:#43308f}.t-bulusma{background:#f6e6b8;color:#6b4b00}
@media(max-width:600px){.ev{grid-template-columns:72px minmax(0,1fr)}.ev .d{font-size:34px}.ev .meta{grid-column:2;flex-direction:row;align-items:center;justify-self:start}}

/* what we do */
.what{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:40px 72px;align-items:start}
.what .big{font-size:clamp(24px,2.6vw,34px);line-height:1.3;font-weight:500;letter-spacing:-.015em}
.what dl{margin:0}
.what dt{font-weight:700;font-size:20px;padding-top:22px;border-top:1px solid var(--line)}
.what dd{margin:6px 0 24px;color:var(--ink2)}
@media(max-width:860px){.what{grid-template-columns:1fr}}

/* photo strip */
.strip{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:12px;scrollbar-width:thin}
.strip>a{flex:0 0 min(420px,82%);scroll-snap-align:start;text-decoration:none}
.ph{position:relative;aspect-ratio:3/2;border-radius:8px;overflow:hidden;background:var(--sky2)}
.ph img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
a:hover .ph img,button:hover .ph img{transform:scale(1.04)}
.cap{display:flex;justify-content:space-between;gap:12px;margin-top:12px;font-size:15px}
.cap strong{font-size:17px}
.arrows{display:flex;gap:8px}
.arrows button{width:44px;height:44px;border-radius:6px;border:1.5px solid var(--ink);background:transparent;color:var(--ink);cursor:pointer;font-size:18px}
.arrows button:hover{background:var(--ink);color:#fff}

/* team */
.team-band{background:var(--sky)}
.team{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:28px 20px}
.team figure{margin:0}
.team .pf{aspect-ratio:4/5;border-radius:6px;overflow:hidden;background:var(--sky2)}
.team .pf img{width:100%;height:100%;object-fit:cover;filter:saturate(.95);transition:transform .5s}
.team figure:hover .pf img{transform:scale(1.05)}
.team figcaption{margin-top:12px}
.team figcaption strong{display:block;font-size:17px}
.team figcaption span{font-size:15px;color:var(--ink2)}

/* projects */
.pj{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) auto;gap:8px 32px;padding:22px 0;border-top:1px solid var(--line);align-items:baseline}
.pj:last-child{border-bottom:1px solid var(--line)}
.pj p{color:var(--ink2)}
.st{font-size:14px;font-weight:600;white-space:nowrap}
.st::before{content:"";display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:8px;background:currentColor}
@media(max-width:700px){.pj{grid-template-columns:1fr}}

/* join band */
.join{position:relative;background:var(--dusk);color:#fff;overflow:hidden}
.join .bgimg{position:absolute;inset:0;opacity:.55}
.join .bgimg img{width:100%;height:100%;object-fit:cover;object-position:center 60%}
.join::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(29,22,48,.85),rgba(29,22,48,.3));z-index:1}
.join .wrap{position:relative;z-index:2;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:28px}
.join p{max-width:30em;margin-top:14px;color:#ddd7f0}

footer{background:var(--dusk);color:#cfc8e6;font-size:15px;border-top:1px solid rgba(255,255,255,.08)}
footer .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;padding-top:32px;padding-bottom:32px}
footer nav{display:flex;flex-wrap:wrap;gap:6px 22px}
footer a{text-decoration:none}footer a:hover{text-decoration:underline}

/* inner pages */
.page-top{position:relative;height:300px;overflow:hidden;color:#fff;background:#b7b0e3}
.page-top img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.page-top::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(29,22,48,.6),rgba(29,22,48,.1))}
.page-top .wrap{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;padding-bottom:36px;gap:8px}
.page-top h1{font-size:clamp(40px,6vw,72px);font-weight:800;letter-spacing:-.035em}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.filters button{height:44px;padding:0 16px;border-radius:6px;border:1.5px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:500;cursor:pointer}
.filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:#fff}
.past{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:32px 20px}
.past a{text-decoration:none}
.empty{padding:28px;border:1.5px dashed var(--line);border-radius:8px;color:var(--mute)}

/* event detail */
.ed-cover{position:relative;height:clamp(360px,62svh,620px);overflow:hidden;color:#fff}
.ed-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ed-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(29,22,48,.8),rgba(29,22,48,0) 60%)}
.ed-cover .wrap{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;justify-content:flex-end;gap:14px;padding-bottom:40px}
.ed-cover h1{font-size:clamp(38px,5.6vw,72px);font-weight:800;letter-spacing:-.035em;max-width:14em}
.back{color:#fff;text-decoration:none;font-weight:600;font-size:15px;align-self:flex-start;padding:8px 0}
.ed{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:40px 64px}
.ed .txt{display:flex;flex-direction:column;gap:18px;font-size:18px;max-width:40em}
.facts{margin:0;padding:24px;background:var(--sky);border-radius:8px;display:grid;gap:14px;align-self:start}
.facts dt{font-size:14px;color:var(--mute)}.facts dd{margin:2px 0 0;font-weight:600}
@media(max-width:860px){.ed{grid-template-columns:1fr}}
.grid-ph{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:12px}
.grid-ph button{all:unset;cursor:pointer;display:block;border-radius:8px}
.grid-ph button:focus-visible{outline:3px solid var(--sun);outline-offset:3px}
.grid-ph .ph{aspect-ratio:4/3}
.crop{width:100%;height:100%;background-size:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
button:hover .crop{transform:scale(1.04)}

/* gallery */
.albums{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:28px 20px}
.albums a{text-decoration:none}
.lb{position:fixed;inset:0;z-index:100;background:rgba(18,13,30,.94);display:none;align-items:center;justify-content:center;padding:60px 16px}
.lb.open{display:flex}
.lb .frame{width:min(1100px,100%);aspect-ratio:3/2;border-radius:6px;overflow:hidden;background:#000}
.lb .crop{transition:none}
.lb button{position:absolute;width:48px;height:48px;border-radius:6px;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:22px;cursor:pointer}
.lb button:hover{background:rgba(255,255,255,.24)}
.lb .x{top:14px;right:14px}.lb .pv{left:14px;top:50%;translate:0 -50%}.lb .nx{right:14px;top:50%;translate:0 -50%}
.lb .lc{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:#ddd7f0;font-size:15px}

/* form */
.form{max-width:640px;display:flex;flex-direction:column;gap:20px}
.fld{display:flex;flex-direction:column;gap:6px}
.fld label,.fld legend{font-weight:600;font-size:15px}
.fld input,.fld select{height:50px;border:1.5px solid #cfc8e2;border-radius:6px;padding:0 14px;font:inherit;font-size:16px;background:#fff;color:var(--ink)}
.fld input:focus,.fld select:focus{outline:none;border-color:var(--ink);box-shadow:0 0 0 3px rgba(242,120,58,.35)}
.fld .hint{font-size:14px;color:var(--mute)}
.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
@media(max-width:560px){.two{grid-template-columns:1fr}}
fieldset{border:0;margin:0;padding:0}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.chips label{display:flex;align-items:center;gap:8px;height:44px;padding:0 14px;border:1.5px solid #cfc8e2;border-radius:6px;font-weight:500;cursor:pointer}
.chips input{width:18px;height:18px;accent-color:var(--ink)}
.chips label:has(input:checked){border-color:var(--ink);background:var(--sky)}
.check{display:flex;gap:12px;align-items:flex-start;font-size:15px;color:var(--ink2)}
.check input{width:20px;height:20px;margin-top:3px;accent-color:var(--ink);flex:none}
.err{color:#b3261e;font-size:14px;font-weight:600}
.done{padding:32px;background:var(--sky);border-radius:10px;display:flex;flex-direction:column;gap:12px;max-width:640px}

@media(prefers-reduced-motion:reduce){.cloud,.birds,.cur,.in{animation:none!important;opacity:1;transform:none}.rv{opacity:1;transform:none;transition:none}.layer{transform:none!important}}

/* static-site additions */
[hidden]{display:none!important}
.skip{position:absolute;left:12px;top:-60px;z-index:200;background:var(--ink);color:#fff;padding:10px 16px;border-radius:6px;font-weight:600;text-decoration:none}
.skip:focus{top:12px}
.logo-img{border-radius:50%;box-shadow:0 2px 8px rgba(29,22,48,.25)}
.foot-id{display:flex;align-items:center;gap:12px}.foot-id img{flex:none}.foot-id strong{color:#fff}
.foot-note{padding-top:0!important;font-size:13px;color:#9d95b8}
.pt0{padding-top:0}.sky{background:var(--sky)}.mt16{margin-top:16px}.mt56{margin-top:56px}.mt64{margin-top:64px}.mb24{margin-bottom:24px}
.h-sec{font-size:clamp(26px,3vw,32px);margin-bottom:16px}
.sub{margin-top:12px;color:var(--ink2);max-width:34em}
.join-id{display:flex;gap:28px;align-items:center;flex-wrap:wrap}.join-id img{flex:none}
.ev .meta{display:flex;flex-direction:column;align-items:flex-end;gap:8px}
.seats{font-size:13px;font-weight:600;color:var(--ink2);white-space:nowrap}
.seats.few{color:var(--sun2)}.seats.full{color:#8a3510}
.next .seats{flex:none}
.side{display:flex;flex-direction:column;gap:16px;align-self:start}
.reg-box{padding:24px;border:1.5px solid var(--line);border-radius:8px;display:flex;flex-direction:column;gap:12px}
.reg-box h2{font-size:22px;letter-spacing:-.01em}
.reg-box p{color:var(--ink2);font-size:15px}
.reg-box .btn{justify-content:center}
.cap-bar{height:10px;border-radius:5px;background:var(--sky2);overflow:hidden}
.cap-bar span{display:block;height:100%;background:var(--sun);border-radius:5px}
.cap-txt{font-size:15px}.cap-txt strong{color:var(--ink)}
.reg-note{display:flex;flex-direction:column;gap:12px;align-items:flex-start;font-size:16px}
.prose{max-width:40em;display:flex;flex-direction:column;gap:16px}
.nf{display:flex;flex-wrap:wrap;gap:12px}.nf .btn-line{color:var(--ink)}
.done h2{font-size:32px}
.ed-cover .tag{align-self:flex-start}
.side .facts{align-self:stretch}
@media(max-width:600px){.ev .meta{grid-column:2;flex-direction:row;align-items:center;justify-self:start;gap:12px}}
