/* Danae de Haan — portfolio. Black + honey-yellow, bee brand. */

:root{
  --bg:#0c0c0d;
  --bg-raised:#17181b;
  --bg-card:#1d1e22;
  --line:#2a2b30;
  --yellow:#f4bd3f;
  --yellow-dim:#caa23a;
  --yellow-soft:rgba(244,189,63,.12);
  --text:#f5f4f0;
  --text-dim:#a9a9a4;
  --radius:14px;
  --maxw:1180px;
  --nav-h:64px;
  --bottomnav-h:64px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

*,*::before,*::after{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  padding-bottom:calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{line-height:1.08;margin:0 0 .4em;font-weight:800;letter-spacing:-.02em;}
p{line-height:1.6;color:var(--text-dim);margin:0 0 1em;}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px;}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);}

/* -------- top header (desktop nav) -------- */
.site-header{
  position:sticky;top:0;z-index:40;
  height:var(--nav-h);
  display:flex;align-items:center;
  background:rgba(12,12,13,.86);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--line);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;width:100%;}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.05rem;letter-spacing:-.01em;}
.brand .dot{width:10px;height:10px;border-radius:50%;background:var(--yellow);box-shadow:0 0 12px var(--yellow);}
.brand small{display:block;font-weight:500;color:var(--text-dim);font-size:.68rem;letter-spacing:.02em;}
.top-nav{display:none;gap:4px;}
.top-nav a{
  padding:8px 14px;border-radius:999px;font-size:.88rem;font-weight:600;color:var(--text-dim);
  transition:.15s;
}
.top-nav a:hover{color:var(--text);background:var(--bg-raised);}
.top-nav a.active{color:#0c0c0d;background:var(--yellow);}
@media(min-width:900px){.top-nav{display:flex;}}

/* -------- hero banners -------- */
.hero{
  position:relative;overflow:hidden;
  background:linear-gradient(155deg,#151513 0%, #0c0c0d 55%);
  border-bottom:1px solid var(--line);
}
.hero::before{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(circle at 8px 8px, rgba(244,189,63,.18) 2px, transparent 2.6px);
  background-size:34px 34px;
  mask-image:linear-gradient(180deg, rgba(0,0,0,.9), transparent 85%);
  pointer-events:none;
}
.hero .container{position:relative;padding:64px 20px 44px;}
.page-hero{padding-top:clamp(124px,16vh,152px);}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;
  color:var(--yellow);font-weight:700;font-size:.78rem;letter-spacing:.09em;text-transform:uppercase;
  margin-bottom:14px;
}
.hero h1{font-size:clamp(2.1rem,6vw,3.4rem);}
.hero .lede{font-size:1.05rem;max-width:60ch;}

/* home hero */
.home-hero .container{
  padding-top:clamp(124px,16vh,152px);
  display:grid;gap:36px;align-items:center;
}
@media(min-width:820px){
  .home-hero .container{grid-template-columns:1.15fr .85fr;padding-top:clamp(100px,13vh,140px);}
}
.home-hero h1{font-size:clamp(2.3rem,6vw,3.6rem);}
.home-hero .tagline{color:var(--yellow);font-weight:700;font-size:1.05rem;margin-bottom:14px;}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;}
.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 22px;border-radius:999px;font-weight:700;font-size:.92rem;
  transition:.15s transform,.15s background,.15s box-shadow;border:1px solid transparent;
}
.btn:active{transform:scale(.97);}
.btn-primary{background:var(--yellow);color:#181305;}
.btn-primary:hover{box-shadow:0 6px 22px rgba(244,189,63,.35);}
.btn-ghost{border-color:var(--line);color:var(--text);}
.btn-ghost:hover{background:var(--bg-raised);}

.portrait-frame{
  position:relative;border-radius:20px;overflow:hidden;
  border:1px solid var(--line);background:var(--bg-card);
  box-shadow:var(--shadow);
  aspect-ratio:4/5;max-width:340px;margin:0 auto;
}
.portrait-frame img{width:100%;height:100%;object-fit:cover;}
.portrait-frame::after{
  content:"🐝";position:absolute;bottom:14px;right:14px;
  width:42px;height:42px;border-radius:50%;background:var(--yellow);
  display:flex;align-items:center;justify-content:center;font-size:1.2rem;
  box-shadow:0 6px 18px rgba(0,0,0,.4);
}

/* credit strip */
.credit-strip{border-bottom:1px solid var(--line);background:var(--bg-raised);}
.credit-strip .container{
  display:flex;flex-wrap:wrap;gap:10px;padding:18px 20px;justify-content:center;
}
.chip{
  padding:8px 16px;border-radius:999px;background:var(--bg-card);border:1px solid var(--line);
  font-size:.8rem;font-weight:700;color:var(--text-dim);white-space:nowrap;
}
.chip b{color:var(--yellow);}

/* -------- section grid (home) -------- */
.section-grid{
  display:grid;gap:16px;padding:52px 0;
  grid-template-columns:repeat(2,1fr);
}
@media(min-width:640px){.section-grid{grid-template-columns:repeat(3,1fr);}}
@media(min-width:980px){.section-grid{grid-template-columns:repeat(4,1fr);}}
.section-card{
  background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);
  padding:22px 18px;display:flex;flex-direction:column;gap:10px;
  transition:.18s transform,.18s border-color,.18s background;
}
.section-card:hover{transform:translateY(-3px);border-color:var(--yellow-dim);background:#212226;}
.section-card .ic{
  width:46px;height:46px;border-radius:12px;background:var(--yellow-soft);
  display:flex;align-items:center;justify-content:center;color:var(--yellow);
}
.section-card .ic svg{width:24px;height:24px;}
.section-card h3{font-size:1.02rem;margin:0;}
.section-card p{font-size:.85rem;margin:0;}
.section-card .go{margin-top:auto;font-size:.78rem;font-weight:700;color:var(--yellow);}

/* -------- galleries / lightbox -------- */
.gallery{
  display:grid;gap:14px;padding:40px 0 64px;
  grid-template-columns:repeat(2,1fr);
}
@media(min-width:640px){.gallery{grid-template-columns:repeat(3,1fr);}}
@media(min-width:980px){.gallery{grid-template-columns:repeat(4,1fr);}}
.gallery figure{
  margin:0;border-radius:12px;overflow:hidden;border:1px solid var(--line);
  background:var(--bg-card);cursor:zoom-in;position:relative;
}
.gallery figure img{width:100%;height:100%;object-fit:cover;aspect-ratio:1/1;transition:.25s transform;}
.gallery figure:hover img{transform:scale(1.05);}
.gallery figcaption{
  position:absolute;left:0;right:0;bottom:0;padding:8px 10px;font-size:.72rem;font-weight:600;
  background:linear-gradient(0deg,rgba(0,0,0,.75),transparent);color:#fff;opacity:0;transition:.2s;
}
.gallery figure:hover figcaption{opacity:1;}

.lightbox{
  position:fixed;inset:0;z-index:100;background:rgba(6,6,7,.94);
  display:none;align-items:center;justify-content:center;padding:24px;
  backdrop-filter:blur(6px);
}
.lightbox.open{display:flex;}
.lightbox img{max-width:min(92vw,1100px);max-height:82vh;border-radius:10px;box-shadow:0 20px 60px rgba(0,0,0,.6);}
.lightbox .lb-close,.lightbox .lb-prev,.lightbox .lb-next{
  position:absolute;background:var(--bg-card);border:1px solid var(--line);color:var(--text);
  width:44px;height:44px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:1.3rem;cursor:pointer;
}
.lightbox .lb-close{top:18px;right:18px;}
.lightbox .lb-prev{left:18px;top:50%;transform:translateY(-50%);}
.lightbox .lb-next{right:18px;top:50%;transform:translateY(-50%);}
.lightbox .lb-cap{position:absolute;bottom:18px;left:0;right:0;text-align:center;color:var(--text-dim);font-size:.85rem;}

/* art category tabs */
.tabbar{display:flex;gap:8px;flex-wrap:wrap;padding:36px 0 0;}
.tab-btn{
  padding:9px 18px;border-radius:999px;border:1px solid var(--line);background:var(--bg-card);
  color:var(--text-dim);font-weight:700;font-size:.85rem;cursor:pointer;
}
.tab-btn.active{background:var(--yellow);color:#181305;border-color:var(--yellow);}
.tab-panel{display:none;}
.tab-panel.active{display:block;}

/* card lists: games / stories */
.card-grid{display:grid;gap:16px;padding:40px 0 64px;grid-template-columns:repeat(2,1fr);}
@media(min-width:640px){.card-grid{grid-template-columns:repeat(4,1fr);}}
.play-card{
  background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 16px;display:flex;flex-direction:column;gap:10px;text-align:center;
  transition:.18s;
}
.play-card:hover{border-color:var(--yellow-dim);transform:translateY(-3px);}
.play-card .glyph{font-size:1.8rem;}
.play-card h3{font-size:.95rem;margin:0;}
.play-card .btn{align-self:center;margin-top:auto;padding:8px 16px;font-size:.78rem;}

.story-grid{display:grid;gap:18px;padding:40px 0 64px;grid-template-columns:1fr;}
@media(min-width:700px){.story-grid{grid-template-columns:repeat(3,1fr);}}
.story-card{
  background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);
  padding:26px 22px;display:flex;flex-direction:column;gap:12px;
}
.story-card h3{font-size:1.15rem;}

/* animations page */
.reel-card{
  background:var(--bg-card);border:1px solid var(--line);border-radius:var(--radius);
  padding:36px 28px;margin:40px 0;display:flex;flex-direction:column;gap:16px;align-items:flex-start;
}
.reel-card .glyph{font-size:2.2rem;}
.credit-list{display:grid;gap:10px;padding:0;margin:0;list-style:none;width:100%;}
.credit-list li{
  display:flex;align-items:center;gap:10px;padding:12px 14px;border:1px solid var(--line);
  border-radius:10px;background:var(--bg-raised);font-weight:600;font-size:.92rem;color:var(--text);
}
.credit-list li b{color:var(--yellow);}

/* wake page */
.video-frame{
  position:relative;width:100%;aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;
  border:1px solid var(--line);box-shadow:var(--shadow);background:#000;margin:36px 0;
}
.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;}
.ig-card{
  display:flex;align-items:center;gap:16px;padding:22px;border-radius:var(--radius);
  background:var(--bg-card);border:1px solid var(--line);margin:28px 0;
}
.ig-card .ig-ic{
  width:52px;height:52px;border-radius:16px;flex:none;
  background:linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  display:flex;align-items:center;justify-content:center;
}
.ig-card .ig-ic svg{width:26px;height:26px;color:#fff;}

/* contact / footer */
.contact-band{
  border-top:1px solid var(--line);background:var(--bg-raised);padding:56px 0;text-align:center;
}
.contact-band h2{font-size:1.7rem;}
.social-row{display:flex;justify-content:center;gap:14px;flex-wrap:wrap;margin-top:22px;}
.social-btn{
  display:flex;align-items:center;gap:9px;padding:11px 20px;border-radius:999px;
  background:var(--bg-card);border:1px solid var(--line);font-weight:700;font-size:.86rem;
  transition:.15s;
}
.social-btn:hover{border-color:var(--yellow-dim);color:var(--yellow);}
.social-btn svg{width:18px;height:18px;}

.site-footer{padding:30px 0 20px;text-align:center;color:var(--text-dim);font-size:.78rem;}
.site-footer a{color:var(--text-dim);text-decoration:underline;text-underline-offset:2px;}

/* -------- mobile bottom nav -------- */
.bottom-nav{
  position:fixed;left:0;right:0;bottom:0;z-index:50;
  height:var(--bottomnav-h);
  padding-bottom:env(safe-area-inset-bottom);
  background:rgba(15,15,17,.92);backdrop-filter:blur(14px);
  border-top:1px solid var(--line);
  display:flex;
}
@media(min-width:900px){.bottom-nav{display:none;}body{padding-bottom:0;}}
.bottom-nav a,.bottom-nav button{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  color:var(--text-dim);font-size:.62rem;font-weight:700;background:none;border:none;
  font-family:inherit;
}
.bottom-nav a svg,.bottom-nav button svg{width:22px;height:22px;}
.bottom-nav a.active,.bottom-nav button.active{color:var(--yellow);}

.more-sheet{
  position:fixed;inset:0;z-index:60;background:rgba(6,6,7,.7);display:none;align-items:flex-end;
}
.more-sheet.open{display:flex;}
.more-sheet .sheet{
  width:100%;background:var(--bg-raised);border-top:1px solid var(--line);
  border-radius:20px 20px 0 0;padding:10px 14px calc(20px + env(safe-area-inset-bottom));
  max-height:70vh;overflow:auto;
}
.more-sheet .sheet-handle{width:40px;height:4px;background:var(--line);border-radius:99px;margin:8px auto 14px;}
.more-sheet a{
  display:flex;align-items:center;gap:12px;padding:14px 10px;border-radius:10px;font-weight:700;
  color:var(--text);border-bottom:1px solid var(--line);
}
.more-sheet a:last-child{border-bottom:none;}
.more-sheet a svg{width:20px;height:20px;color:var(--yellow);}
