/* Vezzel Labs — quiet gallery. Light and dark, one accent, the game art carries the colour. */
:root{
  color-scheme:light;
  --bg:#fafaf8; --surface:#f1f0ec; --text:#121212; --mute:#5c5c57; --line:#e4e2dc;
  --accent:#00708f; --accent-ink:#ffffff; --dev:#a35200; --sel:#cfeaf2;
  --sans:"Instrument Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ease:cubic-bezier(.16,1,.3,1);
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){color-scheme:dark;--bg:#0c0d10;--surface:#16181d;--text:#f1f1ee;--mute:#a2a4ab;--line:#24262c;--accent:#58d9f7;--accent-ink:#06222b;--dev:#f2a93b;--sel:#164a58}
}
:root[data-theme="dark"]{color-scheme:dark;--bg:#0c0d10;--surface:#16181d;--text:#f1f1ee;--mute:#a2a4ab;--line:#24262c;--accent:#58d9f7;--accent-ink:#06222b;--dev:#f2a93b;--sel:#164a58}

*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;scrollbar-color:var(--line) transparent}
body{background:var(--bg);color:var(--text);font:400 1.0625rem/1.65 var(--sans);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:var(--sel);color:var(--text)}
img{display:block;max-width:100%}
a{color:inherit;text-underline-offset:.25em;text-decoration-thickness:1px}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px;border-radius:4px}
.wrap{width:min(1120px,100% - 48px);margin-inline:auto}
h1,h2,h3{font-weight:500;letter-spacing:-.03em;line-height:1.05;text-wrap:balance}
p{text-wrap:pretty}
.skip{position:absolute;left:-999px}.skip:focus{left:16px;top:12px;background:var(--text);color:var(--bg);padding:8px 14px;z-index:99;border-radius:8px}

/* header */
header.top{position:sticky;top:0;z-index:30;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
header.top .wrap{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:600;letter-spacing:-.02em;font-size:1.0625rem}
.brand svg{width:22px;height:22px}
.nav{display:flex;align-items:center;gap:6px}
.nav a.l{padding:8px 14px;border-radius:999px;text-decoration:none;color:var(--mute);font-size:.9375rem;transition:color .2s,background .2s}
.nav a.l:hover{color:var(--text);background:var(--surface)}
.nav a.l[aria-current]{color:var(--text)}
.icon-btn{width:40px;height:40px;display:grid;place-items:center;border:0;background:none;color:var(--text);border-radius:999px;cursor:pointer;transition:background .2s}
.icon-btn:hover{background:var(--surface)}
.icon-btn svg{width:20px;height:20px}
.sun{display:none}
:root[data-theme="dark"] .moon{display:none}:root[data-theme="dark"] .sun{display:block}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .moon{display:none}:root:not([data-theme="light"]) .sun{display:block}}
.menu-btn{display:none}
@media(max-width:760px){
  .menu-btn{display:grid}
  .nav .links{position:absolute;left:0;right:0;top:68px;background:var(--bg);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:8px 24px 18px;display:none}
  .nav .links.open{display:flex}
  .nav a.l{padding:14px 0;border-radius:0;font-size:1.125rem;color:var(--text);border-bottom:1px solid var(--line)}
}
.links{display:flex;gap:2px}

/* buttons + links */
.btn{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;border:1px solid var(--text);background:var(--text);color:var(--bg);font:500 .9375rem/1 var(--sans);text-decoration:none;cursor:pointer;transition:transform .25s var(--ease),background .2s,color .2s,border-color .2s}
.btn:hover{transform:translateY(-1px);background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}
.btn.ghost:hover{border-color:var(--text);background:transparent;color:var(--text)}
.link{display:inline-flex;align-items:center;gap:6px;color:var(--text);text-decoration:none;font-weight:500;font-size:.9375rem}
.link:hover{color:var(--accent)}
.link svg,.btn svg{width:16px;height:16px;transition:transform .25s var(--ease)}
.link:hover svg{transform:translateX(3px)}
.actions{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center}

/* hero */
.hero{padding:clamp(56px,9vw,120px) 0 40px}
.hero h1{font-size:clamp(2.6rem,7.2vw,5.5rem);max-width:14ch;margin-bottom:24px;letter-spacing:-.04em}
.hero p.lead{font-size:clamp(1.0625rem,1.6vw,1.25rem);color:var(--mute);max-width:46ch;margin-bottom:32px}
.reel{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:40px}
.reel img{width:100%;aspect-ratio:9/16;object-fit:cover;border-radius:16px;background:var(--surface)}
.reel-cap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:18px;color:var(--mute);font-size:.9375rem}
@media(max-width:700px){.reel{grid-template-columns:repeat(2,1fr);gap:10px}.reel img:nth-child(n+3){display:none}}

/* sections */
section{padding:clamp(56px,8vw,104px) 0}
.sec-top{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:12px}
.sec-top h2{font-size:clamp(1.75rem,3.4vw,2.5rem)}
.sec-top.big h2{font-size:clamp(2.2rem,5vw,3.75rem)}
.intro{color:var(--mute);max-width:52ch;margin-top:12px}

/* index rows */
.rows{border-top:1px solid var(--line);margin-top:28px}
.row{display:grid;grid-template-columns:104px 1fr auto 24px;gap:24px;align-items:center;padding:20px 0;border-bottom:1px solid var(--line);text-decoration:none;transition:padding .35s var(--ease)}
.row:hover{padding-left:10px}
.row .th{width:104px;height:64px;border-radius:10px;object-fit:cover;object-position:top;background:var(--surface);display:grid;place-items:center;font-weight:500;font-size:1.5rem;color:var(--mute)}
.row h3{font-size:1.375rem;letter-spacing:-.02em;margin-bottom:2px}
.row p{color:var(--mute);font-size:.9375rem;line-height:1.5}
.row .arrow{width:20px;height:20px;color:var(--mute);transition:transform .3s var(--ease),color .2s}
.row:hover .arrow{transform:translateX(4px);color:var(--accent)}
.status{display:inline-flex;align-items:center;gap:8px;font-size:.875rem;color:var(--mute);white-space:nowrap}
.status::before{content:"";width:7px;height:7px;border-radius:50%;background:var(--accent)}
.status.dev::before{background:var(--dev)}
@media(max-width:700px){.row{grid-template-columns:72px 1fr 20px;gap:16px}.row .th{width:72px;height:56px}.row .status{display:none}}

/* tiles (games / apps pages) */
.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:56px 32px;margin-top:40px}
.tile{text-decoration:none;display:block}
.tile .art{aspect-ratio:16/9;border-radius:16px;overflow:hidden;background:var(--surface);display:grid;place-items:center}
.tile .art img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.tile:hover .art img{transform:scale(1.03)}
.tile .art.type{font-size:clamp(2.2rem,5vw,3.5rem);font-weight:500;letter-spacing:-.04em;color:var(--mute)}
.tile .meta{display:flex;justify-content:space-between;gap:16px;align-items:baseline;margin-top:18px}
.tile h3{font-size:1.625rem}
.tile p{color:var(--mute);margin-top:6px;max-width:44ch}
@media(max-width:760px){.tiles{grid-template-columns:1fr;gap:44px}}

/* band */
.band{border-top:1px solid var(--line)}
.band h2{font-size:clamp(2.2rem,5.5vw,4.25rem);max-width:12ch;margin-bottom:18px;letter-spacing:-.04em}
.band p{color:var(--mute);max-width:50ch;margin-bottom:30px}

/* page heads */
.page-head{padding:clamp(56px,8vw,104px) 0 0}
.page-head h1{font-size:clamp(2.6rem,7vw,5rem);letter-spacing:-.04em;margin-bottom:18px}
.page-head p{color:var(--mute);max-width:52ch;font-size:1.125rem}
.crumb{display:inline-block;color:var(--mute);text-decoration:none;font-size:.9375rem;margin-bottom:28px}
.crumb:hover{color:var(--accent)}
.d-head .tag{font-size:clamp(1.125rem,2vw,1.375rem);color:var(--mute);max-width:44ch;margin:0 0 22px}
.d-head .status{margin-bottom:26px;display:flex}
.d-head{padding:clamp(48px,7vw,88px) 0 40px}
.d-head .id{display:flex;align-items:center;gap:20px;margin-bottom:22px}
.d-head .id img{width:72px;height:72px;border-radius:18px}
.d-head h1{font-size:clamp(2.8rem,8vw,5.5rem);letter-spacing:-.045em;margin-bottom:16px}

/* gallery */
.gwrap{position:relative}
.gallery{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;cursor:grab;user-select:none;-webkit-user-select:none}
.gallery::-webkit-scrollbar{display:none}
.gallery.drag{cursor:grabbing;scroll-snap-type:none}
.gallery img{height:min(560px,72vh);width:auto;border-radius:16px;scroll-snap-align:start;flex:none;-webkit-user-drag:none;pointer-events:none;background:var(--surface)}
.gnav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;border:1px solid var(--line);background:var(--bg);color:var(--text);cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.12);transition:opacity .2s,border-color .2s}
.gnav:hover{border-color:var(--text)}
.gnav svg{width:18px;height:18px}
.gnav.prev{left:12px}.gnav.next{right:12px}
.no-prev .prev,.no-next .next,.no-scroll .gnav{opacity:0;pointer-events:none}
@media(hover:none){.gnav{display:none}}

/* detail body */
.d-sec{padding:clamp(40px,6vw,72px) 0 0}
.d-sec h2{font-size:1.75rem;margin-bottom:20px}
.prose{max-width:62ch}
.prose p{margin-bottom:1.1em;color:color-mix(in srgb,var(--text) 82%,var(--mute))}
dl.list{border-top:1px solid var(--line)}
dl.list div{display:grid;grid-template-columns:minmax(150px,1fr) 2.2fr;gap:24px;padding:18px 0;border-bottom:1px solid var(--line)}
dl.list dt{font-weight:500}
dl.list dd{color:var(--mute)}
@media(max-width:620px){dl.list div{grid-template-columns:1fr;gap:4px}}
.notify{margin-top:clamp(56px,8vw,96px);padding:clamp(28px,5vw,48px);background:var(--surface);border-radius:20px;display:flex;flex-wrap:wrap;gap:20px 32px;justify-content:space-between;align-items:center}
.notify h2{font-size:1.75rem;margin-bottom:4px}.notify p{color:var(--mute)}
.more-list{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:16px}
.more-list a{color:var(--mute);text-decoration:none}.more-list a:hover{color:var(--accent)}

/* support */
.ways{margin-top:40px}
.way{display:grid;grid-template-columns:1fr 1.4fr auto;gap:24px 40px;align-items:center;padding:36px 0;border-bottom:1px solid var(--line)}
.ways{border-top:1px solid var(--line)}
.way h2{font-size:1.75rem}
.way p{color:var(--mute)}
@media(max-width:760px){.way{grid-template-columns:1fr;gap:14px}}

/* footer */
footer{border-top:1px solid var(--line);padding:56px 0 40px;color:var(--mute);font-size:.9375rem}
.f-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:40px}
.f-grid h4{color:var(--text);font-weight:500;margin-bottom:14px;font-size:.9375rem}
.f-grid ul{list-style:none;padding:0;display:grid;gap:8px}
.f-grid a{text-decoration:none}.f-grid a:hover{color:var(--accent)}
.f-base{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:48px;padding-top:24px;border-top:1px solid var(--line)}
@media(max-width:760px){.f-grid{grid-template-columns:1fr 1fr}.f-grid>div:first-child{grid-column:1/-1}}

/* one authored moment: the hero settles in on load */
@media(prefers-reduced-motion:no-preference){
  .hero h1,.hero .lead,.hero .actions,.reel img{animation:rise .9s var(--ease) both}
  .hero .lead{animation-delay:.08s}.hero .actions{animation-delay:.16s}
  .reel img:nth-child(1){animation-delay:.2s}.reel img:nth-child(2){animation-delay:.28s}.reel img:nth-child(3){animation-delay:.36s}.reel img:nth-child(4){animation-delay:.44s}
  @keyframes rise{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* video */
.vid{max-width:420px;margin:0 0 clamp(32px,5vw,56px)}
.vid video{width:100%;aspect-ratio:9/16;display:block;border-radius:16px;background:#000;object-fit:cover}
.vid .cap{color:var(--mute);font-size:.875rem;margin-top:12px}
.vid.land{max-width:760px}.vid.land video{aspect-ratio:16/9}
