/*
Theme Name:        Design Monkeys
Theme URI:         https://thedesignmonkeys.nl
Author:            The Design Monkeys
Author URI:        https://thedesignmonkeys.nl
Description:       A loud, playful one-page theme for a code & games studio - bold display type, a hand-illustrated hero, and scattered code-snippet "stickers". Built as a single-page site: every URL on the site renders the same landing page.
Version:           1.0.0
Requires at least: 5.9
Tested up to:       6.7
Requires PHP:       7.0
License:           GPL v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       design-monkeys
*/


@import url('https://fonts.googleapis.com/css2?family=Anton&family=Space+Mono:ital,wght@0,400;0,700;1,400&display=swap');

:root{
  --bg:#070708;
  --bg2:#101013;
  --bg3:#16161a;
  --pink:#ff2f8e;
  --yellow:#ffe000;
  --cyan:#5cc8ea;
  --paper:#f4f0e6;
  --ink:#cfcbc1;
  --muted:#7c776e;
}

*{ margin:0; padding:0; box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--paper);
  font-family:'Space Mono', monospace;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }

/* ============ NAV ============ */
.nav{
  position:fixed;
  top:0; left:0; right:0;
  z-index:50;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:1.4rem clamp(1.2rem, 4vw, 3rem);
  mix-blend-mode:difference;
}
.nav__logo{
  font-family:'Anton', sans-serif;
  font-size:1.2rem;
  letter-spacing:0.12em;
  display:flex;
  align-items:center;
  gap:0.5rem;
}
.nav__logo::before{
  content:"●";
  color:var(--pink);
  font-size:0.6rem;
}
.nav__links{
  display:flex;
  gap:clamp(1rem, 3vw, 2.4rem);
  font-size:0.78rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
}
.nav__links a{
  position:relative;
  padding-bottom:4px;
}
.nav__links a::after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--yellow);
  transition:width .25s ease;
}
.nav__links a:hover::after{ width:100%; }
.nav__links a:nth-child(1):hover::after{ background:var(--pink); }
.nav__links a:nth-child(2):hover::after{ background:var(--yellow); }
.nav__links a:nth-child(3):hover::after{ background:var(--cyan); }

/* ============ HERO ============ */
.hero{
  position:relative;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:7rem 1.2rem 4rem;
  text-align:center;
  overflow:hidden;
}

.hero__bgword{
  position:absolute;
  font-family:'Anton', sans-serif;
  font-size:clamp(4.5rem, 18vw, 13rem);
  line-height:0.85;
  letter-spacing:0.01em;
  color:transparent;
  -webkit-text-stroke:2px rgba(244,240,230,0.28);
  user-select:none;
  z-index:1;
  white-space:nowrap;
}
.hero__bgword--top{ top:6vh; left:-2vw; }
.hero__bgword--bottom{ bottom:2vh; right:-2vw; -webkit-text-stroke:2px rgba(255,47,142,0.45); }

.hero__stage{
  position:relative;
  width:min(420px, 78vw);
  aspect-ratio:1/1;
  z-index:5;
}

.hero__img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:10px;
  display:block;
  transform:rotate(-1.4deg);
  box-shadow:
    0 0 0 4px var(--bg),
    0 0 0 7px rgba(255,47,142,0.55),
    0 25px 70px -15px rgba(255,47,142,0.45),
    0 0 90px -10px rgba(95,200,234,0.25);
  animation:floatIn 1.1s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes floatIn{
  from{ opacity:0; transform:rotate(-1.4deg) translateY(28px) scale(0.97); }
  to{ opacity:1; transform:rotate(-1.4deg) translateY(0) scale(1); }
}

/* ---- scattered stickers ---- */
.sticker{
  position:absolute;
  background:var(--bg2);
  border:1px solid rgba(244,240,230,0.08);
  border-radius:6px;
  padding:0.65rem 0.85rem;
  font-size:0.72rem;
  line-height:1.55;
  text-align:left;
  width:max-content;
  max-width:230px;
  box-shadow:0 12px 30px -10px rgba(0,0,0,0.7);
  z-index:8;
  animation:bob 7s ease-in-out infinite;
  transition:transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.sticker:hover{
  transform:rotate(0deg) scale(1.06) translateY(-4px) !important;
  box-shadow:0 18px 40px -12px rgba(0,0,0,0.85);
  z-index:20;
}
.sticker .tag{
  display:block;
  font-size:0.62rem;
  letter-spacing:0.12em;
  text-transform:uppercase;
  margin-bottom:0.35rem;
  font-weight:700;
}
.sticker pre{
  font-family:'Space Mono', monospace;
  white-space:pre;
  color:var(--ink);
  font-size:0.7rem;
}
.sticker--pink{ border-left:4px solid var(--pink); }
.sticker--pink .tag{ color:var(--pink); }
.sticker--yellow{ border-left:4px solid var(--yellow); }
.sticker--yellow .tag{ color:var(--yellow); }
.sticker--cyan{ border-left:4px solid var(--cyan); }
.sticker--cyan .tag{ color:var(--cyan); }

.sticker-1{ top:-7%; left:-26%; transform:rotate(-7deg); animation-delay:0s; }
.sticker-2{ top:6%; right:-30%; transform:rotate(5deg); animation-delay:1.1s; }
.sticker-3{ bottom:18%; left:-32%; transform:rotate(4deg); animation-delay:2.3s; }
.sticker-4{ bottom:-8%; right:-22%; transform:rotate(-4deg); animation-delay:0.6s; }
.sticker-5{ top:42%; left:-15%; transform:rotate(-10deg); animation-delay:1.8s; }
.sticker-6{ top:36%; right:-12%; transform:rotate(8deg); animation-delay:0.3s; }

@keyframes bob{
  0%, 100%{ translate:0 0; }
  50%{ translate:0 -8px; }
}

/* Hide stickers on narrow screens, except HUD + terminal — handled in 860px block below */



.hero__tagline{
  position:relative;
  z-index:6;
  margin-top:3.5rem;
  max-width:640px;
  font-size:clamp(0.95rem, 1.6vw, 1.15rem);
  line-height:1.75;
  color:var(--ink);
}
.hero__tagline strong{ color:var(--paper); }

.hero__eyebrow{
  position:relative; z-index:6;
  font-size:0.75rem;
  letter-spacing:0.3em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:1.4rem;
}
.hero__eyebrow span{ color:var(--yellow); }

.hero__ctas{
  position:relative; z-index:6;
  display:flex;
  gap:1rem;
  margin-top:2.2rem;
  flex-wrap:wrap;
  justify-content:center;
}
.btn{
  font-family:'Space Mono', monospace;
  font-size:0.8rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  padding:0.95rem 1.8rem;
  border-radius:4px;
  border:1px solid var(--paper);
  cursor:pointer;
  transition:transform .2s ease, background .2s ease, color .2s ease;
}
.btn--solid{
  background:var(--pink);
  border-color:var(--pink);
  color:#070708;
  font-weight:700;
}
.btn--solid:hover{ background:var(--yellow); border-color:var(--yellow); transform:translateY(-2px) rotate(-1deg); }
.btn--ghost{ background:transparent; color:var(--paper); }
.btn--ghost:hover{ background:var(--paper); color:var(--bg); transform:translateY(-2px) rotate(1deg); }

/* ============ SECTION SHELL ============ */
.section{
  position:relative;
  padding:5.5rem clamp(1.2rem, 6vw, 5rem);
  border-top:1px solid rgba(244,240,230,0.07);
}
.section__head{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  flex-wrap:wrap;
  gap:1rem;
  margin-bottom:3rem;
}
.section__title{
  font-family:'Anton', sans-serif;
  font-size:clamp(2rem, 5vw, 3.4rem);
  letter-spacing:0.02em;
  text-transform:uppercase;
}
.section__num{
  font-size:0.78rem;
  color:var(--muted);
  letter-spacing:0.15em;
}

/* ============ SERVICES ============ */
.services{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:1px;
  background:rgba(244,240,230,0.07);
  border:1px solid rgba(244,240,230,0.07);
}
.service{
  background:var(--bg);
  padding:2.2rem 1.6rem;
  display:flex;
  flex-direction:column;
  gap:0.9rem;
  transition:background .25s ease;
}
.service:hover{ background:var(--bg2); }
.service__bar{
  width:2.4rem; height:0.35rem; border-radius:2px;
}
.service:nth-child(1) .service__bar{ background:var(--pink); }
.service:nth-child(2) .service__bar{ background:var(--yellow); }
.service:nth-child(3) .service__bar{ background:var(--cyan); }
.service:nth-child(4) .service__bar{ background:linear-gradient(90deg,var(--pink),var(--yellow)); }
.service__title{
  font-family:'Anton', sans-serif;
  font-size:1.15rem;
  text-transform:uppercase;
  letter-spacing:0.03em;
}
.service__desc{
  font-size:0.85rem;
  line-height:1.7;
  color:var(--ink);
}

/* ============ WORK ============ */
.work-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
  gap:1.6rem;
}
.work-card{
  background:var(--bg2);
  border:1px solid rgba(244,240,230,0.08);
  border-radius:8px;
  overflow:hidden;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease;
}
.work-card:hover{
  transform:translateY(-6px);
  border-color:rgba(244,240,230,0.2);
}
.work-card__bar{
  display:flex;
  align-items:center;
  gap:0.4rem;
  padding:0.7rem 0.9rem;
  background:var(--bg3);
  border-bottom:1px solid rgba(244,240,230,0.06);
}
.work-card__bar i{
  width:9px; height:9px; border-radius:50%;
  display:block;
}
.work-card__bar i:nth-child(1){ background:var(--pink); }
.work-card__bar i:nth-child(2){ background:var(--yellow); }
.work-card__bar i:nth-child(3){ background:var(--cyan); }
.work-card__bar span{
  margin-left:auto;
  font-size:0.68rem;
  color:var(--muted);
  letter-spacing:0.08em;
}
.work-card__body{
  padding:1.2rem 1.1rem;
  font-size:0.75rem;
  line-height:1.7;
  color:var(--ink);
  white-space:pre;
  overflow-x:auto;
}
.work-card__foot{
  padding:1rem 1.1rem 1.4rem;
  border-top:1px solid rgba(244,240,230,0.06);
}
.work-card__foot h3{
  font-family:'Anton', sans-serif;
  font-size:1.05rem;
  text-transform:uppercase;
  letter-spacing:0.02em;
  margin-bottom:0.35rem;
}
.work-card__foot p{
  font-size:0.78rem;
  color:var(--muted);
  line-height:1.6;
}
.kw{ color:var(--cyan); }
.fn{ color:var(--yellow); }
.str{ color:var(--pink); }
.cm{ color:var(--muted); }

/* ============ FOOTER ============ */
.footer{
  text-align:center;
  padding:5rem clamp(1.2rem, 6vw, 5rem) 3rem;
}
.footer__drip{
  display:block;
  margin:0 auto 2.5rem;
  width:min(700px, 90%);
}
.footer__title{
  font-family:'Anton', sans-serif;
  font-size:clamp(1.76rem, 5.6vw, 3.6rem);
  text-transform:uppercase;
  line-height:1.05;
  margin-bottom:1.5rem;
}
.footer__title span{ color:var(--pink); }
.footer__email{
  display:inline-block;
  font-size:clamp(1rem, 2.5vw, 1.4rem);
  border-bottom:2px solid var(--yellow);
  padding-bottom:0.2rem;
  margin-bottom:2.5rem;
  transition:color .2s ease, border-color .2s ease;
}
.footer__email:hover{ color:var(--yellow); border-color:var(--pink); }
.footer__social{
  display:flex;
  justify-content:center;
  gap:2rem;
  font-size:0.78rem;
  letter-spacing:0.1em;
  text-transform:uppercase;
  margin-bottom:3rem;
}
.footer__social a{ color:var(--muted); transition:color .2s ease; }
.footer__social a:hover{ color:var(--paper); }
.footer__legal{
  font-size:clamp(1.1rem, 3vw, 1.8rem);
  color:var(--paper);
  letter-spacing:0.04em;
  line-height:1.4;
  max-width:700px;
  margin:0 auto;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px){
  .hero{ padding-top:6rem; }
  .hero__stage{ width:min(340px, 82vw); }
  .sticker{ position:static; transform:none !important; max-width:100%; margin:0; animation:none; }
  .stickers{
    z-index:6;
    margin-top:2.2rem;
    display:flex;
    flex-direction:row;
    justify-content:center;
    gap:0.6rem;
    width:100%;
    max-width:520px;
  }
  .sticker-2, .sticker-4 {
    display:block !important;
    position:static !important;
    transform:none !important;
    font-size:0.6rem;
    padding:0.45rem 0.6rem;
    max-width:160px;
    flex:0 1 160px;
  }
  .sticker-2 pre, .sticker-4 pre { font-size:0.58rem; }
  .sticker-2, .sticker-4 { background: rgba(16,16,19,0.3); }
  .hide-mobile{ display:none; }
  .hero{ overflow:visible; }
  .sticker:hover{ transform:translateY(-3px) !important; }
  .hero__bgword{ -webkit-text-stroke:1.5px rgba(244,240,230,0.22); }
}
@media (max-width: 600px){
  .stickers{ flex-direction:row !important; grid-template-columns:unset; }
  .nav__links{ gap:1rem; }
}
@media (prefers-reduced-motion: reduce){
  .sticker, .hero__img{ animation:none !important; }
}


/* ============ WP-ADMIN BAR COMPATIBILITY ============ */
/* Keeps the fixed nav clear of the WordPress admin bar for logged-in users */
body.admin-bar .nav{ top:32px; }
@media screen and (max-width:782px){
  body.admin-bar .nav{ top:46px; }
}
