:root {
  --bg: #fff7ef;
  --ink: #1d1832;
  --muted: #6c6377;
  --a: #ffcf33;
  --b: #3b82f6;
  --c: #ff4d8d;
  --d: #38d996;
  --e: #ff8a3d;
  --f: #8b5cf6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Trebuchet MS", Arial, sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5vw;
  background: var(--bg);
  border-bottom: 4px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand { color: var(--ink); text-decoration: none; font-weight: 1000; }
nav { display: flex; gap: 16px; }
nav a { color: var(--ink); text-decoration: none; font-weight: 800; }

.hero {
  min-height: 86vh;
  padding: 60px 5vw;
  display: grid;
  grid-template-columns: 520px 1fr;
  gap: 54px;
  align-items: center;
}
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  transform: rotate(-4deg);
}
.mosaic span { aspect-ratio: 1; border: 4px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); }
.mosaic span:nth-child(6n+1) { background: var(--a); }
.mosaic span:nth-child(6n+2) { background: var(--b); }
.mosaic span:nth-child(6n+3) { background: var(--c); }
.mosaic span:nth-child(6n+4) { background: var(--d); }
.mosaic span:nth-child(6n+5) { background: var(--e); }
.mosaic span:nth-child(6n+6) { background: var(--f); }

.label {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 1000;
  color: var(--c);
}
h1, h2 { margin: 0 0 20px; line-height: .92; letter-spacing: -0.06em; }
h1 { font-size: clamp(4rem, 9vw, 9rem); }
h2 { font-size: clamp(2.6rem, 5.6vw, 6rem); }
h3 { font-size: 1.55rem; margin-top: 0; }
p { color: var(--muted); line-height: 1.7; font-size: 1.02rem; }
.copy p:last-child { font-size: 1.25rem; max-width: 760px; }

section { padding: 88px 5vw; }
.section-title { max-width: 980px; margin-bottom: 34px; }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tile-grid article {
  min-height: 280px;
  padding: 28px;
  border: 4px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.tile-grid p { color: rgba(29,24,50,.76); }
.yellow { background: var(--a); }
.blue { background: var(--b); }
.pink { background: var(--c); }
.green { background: var(--d); }
.orange { background: var(--e); }
.purple { background: var(--f); }

.studio {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  background: var(--ink);
}
.studio h2, .studio p { color: white; }
.studio-card {
  background: white;
  border: 4px solid var(--a);
  padding: 30px;
  align-self: start;
}
.studio-card p { color: var(--muted); }
.color-swap {
  border: 0;
  background: var(--c);
  color: white;
  font-weight: 1000;
  padding: 16px 20px;
  font-size: 1rem;
  cursor: pointer;
}

.programme-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.programme-grid article {
  padding: 26px;
  border: 3px dashed var(--ink);
  background: white;
}
.programme-grid span { font-size: 2rem; color: var(--f); font-weight: 1000; }
.longform { background: linear-gradient(90deg, var(--a), var(--d)); }
.longform p { max-width: 980px; color: rgba(29,24,50,.8); font-size: 1.15rem; }

.contact {
  background: var(--c);
  color: white;
}
.contact h2, .contact p, .contact a { color: white; }
.contact a { font-size: 1.6rem; font-weight: 1000; }

@media (max-width: 900px) {
  header { align-items: flex-start; flex-direction: column; gap: 12px; }
  nav { flex-wrap: wrap; }
  .hero, .studio { grid-template-columns: 1fr; }
  .tile-grid, .programme-grid { grid-template-columns: 1fr; }
}
