:root {
  --ink: #111;
  --paper: #fff8e7;
  --yellow: #ffd23f;
  --pink: #ff6b9d;
  --blue: #5bc0eb;
  --green: #3bceac;
  --purple: #b28dff;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --radius: 10px;
}

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

body {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: clip;
  background-image: radial-gradient(var(--ink) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  background-color: var(--paper);
}
body::before { content: ""; position: fixed; inset: 0; background: var(--paper); opacity: .9; z-index: -1; }

h1, h2, h3, .logo { font-family: "Archivo Black", sans-serif; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Shared neo box */
.box { background: #fff; border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .85em 1.4em; font: 700 1rem/1 "Bricolage Grotesque", sans-serif;
  text-decoration: none; color: var(--ink); background: var(--yellow);
  border: var(--border); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink);
  cursor: pointer; transition: transform .12s, box-shadow .12s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn.alt { background: #fff; }
.btn.pink { background: var(--pink); }
:focus-visible { outline: 3px dashed var(--ink); outline-offset: 4px; }

.tag {
  display: inline-block; padding: .3em .7em; font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: .06em;
  border: 2px solid var(--ink); border-radius: 999px; background: var(--green);
}

/* Header */
header.site { position: sticky; top: 0; z-index: 10; padding-block: 14px; }
header.site .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 14px 10px 20px; background: #fff; border: var(--border); border-radius: var(--radius); box-shadow: 4px 4px 0 var(--ink);
}
.logo { font-size: 1.4rem; text-decoration: none; display: flex; align-items: center; gap: .4em; }
.logo span { background: var(--pink); border: 2px solid var(--ink); padding: 0 .3em; border-radius: 6px; transform: rotate(-3deg); display: inline-block; }
nav.main { display: flex; gap: 6px; align-items: center; }
nav.main a { text-decoration: none; font-weight: 700; padding: .5em .8em; border: 2px solid transparent; border-radius: 8px; }
nav.main a:hover, nav.main a[aria-current] { border-color: var(--ink); background: var(--yellow); }
nav.main .btn { padding: .6em 1em; }
@media (max-width: 720px) {
  nav.main a:not(.btn) { display: none; }
  .logo { font-size: 1.1rem; }
}

/* Sections */
section { padding-block: 72px; scroll-margin-top: 70px; }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; margin-bottom: 12px; }
h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 20px; }
.lead { font-size: 1.2rem; max-width: 60ch; }

/* Hero */
.hero { padding-top: 40px; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6rem); margin-block: 16px 24px; }
.hero h1 mark { background: var(--yellow); padding: 0 .12em; border: var(--border); border-radius: 8px; box-shadow: 4px 4px 0 var(--ink); display: inline-block; transform: rotate(-1.5deg); }
.hero .lead { margin-bottom: 32px; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; aspect-ratio: 1; }
.hero-art .card { position: absolute; padding: 18px 20px; font-weight: 700; }
.hero-art .c1 { inset: 4% 18% 40% 0; background: var(--blue); transform: rotate(-4deg); display: grid; place-items: center; font-family: "Archivo Black"; font-size: clamp(1.4rem, 3vw, 2rem); text-align: center; }
.hero-art .c2 { right: 0; top: 30%; background: var(--pink); transform: rotate(5deg); }
.hero-art .c3 { left: 8%; bottom: 6%; background: var(--green); transform: rotate(2deg); font-size: 1.1rem; }
.hero-art .c3 b { font-family: "Archivo Black"; font-size: 2.6rem; display: block; line-height: 1; }
.hero-art .star { position: absolute; right: 6%; bottom: 10%; width: 90px; height: 90px; background: var(--yellow); border: var(--border); clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); animation: spin 14s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hero-art .star, .marquee-track { animation: none !important; } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 420px; width: 100%; margin-inline: auto; }
}

/* Marquee */
.marquee { background: var(--ink); color: var(--yellow); border-block: var(--border); overflow: hidden; padding-block: 16px; transform: rotate(-1deg); margin-block: 20px; }
.marquee-track { display: flex; gap: 40px; width: max-content; animation: scroll 28s linear infinite; font-family: "Archivo Black"; font-size: 1.6rem; text-transform: uppercase; white-space: nowrap; }
.marquee-track span::after { content: "✦"; margin-left: 40px; color: var(--pink); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Services */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; margin-top: 40px; }
.service { padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: transform .15s, box-shadow .15s; }
.service:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.service .head { display: flex; align-items: center; gap: 14px; }
.service .icon { flex: none; width: 52px; height: 52px; border: var(--border); border-radius: 12px; display: grid; place-items: center; font-size: 2rem; box-shadow: 3px 3px 0 var(--ink); }
.service h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); overflow-wrap: anywhere; }
.service .price { margin-top: auto; font-weight: 700; padding-top: 12px; border-top: 2px dashed var(--ink); }

/* Values */
.values { background: var(--purple); border-block: var(--border); }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.value { padding: 28px; }
.value .num { font-family: "Archivo Black"; font-size: 3rem; line-height: 1; color: var(--ink); text-shadow: 3px 3px 0 var(--yellow); }
.value h3 { font-size: 1.4rem; margin-block: 10px; }

/* Pricing banner */
.pricing { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 40px; background: var(--yellow); }
.pricing .big { font-family: "Archivo Black"; font-size: clamp(3.5rem, 10vw, 7rem); line-height: 1; }
.pricing .big small { font-size: 1.1rem; display: block; font-family: "Bricolage Grotesque"; font-weight: 700; }
@media (max-width: 720px) { .pricing { grid-template-columns: 1fr; padding: 28px; } }

/* Work cards */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 32px; margin-top: 40px; }
.work { overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.work:hover { transform: translate(-3px, -3px) rotate(-.4deg); box-shadow: 10px 10px 0 var(--ink); }
.work .shot { aspect-ratio: 16/10; border-bottom: var(--border); display: grid; place-items: center; position: relative; overflow: hidden; }
.work .shot .browser { width: 78%; background: #fff; border: var(--border); border-radius: 8px; box-shadow: 5px 5px 0 var(--ink); overflow: hidden; }
.work .shot .browser .dots { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.work .shot .browser .dots i { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; }
.work .shot .browser .dots i:nth-child(1) { background: var(--pink); }
.work .shot .browser .dots i:nth-child(2) { background: var(--yellow); }
.work .shot .browser .dots i:nth-child(3) { background: var(--green); }
.work .shot .browser .body { padding: 18px; font-family: "Archivo Black"; font-size: clamp(1.2rem, 3vw, 1.8rem); text-align: center; }
.work .shot .browser .body small { display: block; font-family: "Bricolage Grotesque"; font-weight: 500; font-size: .8rem; margin-top: 6px; }
.work .info { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.work .info h3 { font-size: 1.8rem; }
.work .meta { display: flex; flex-wrap: wrap; gap: 8px; }
.work .meta .tag:nth-child(2) { background: var(--blue); }
.work .meta .tag:nth-child(3) { background: var(--yellow); }
.work .info .btn { align-self: flex-start; margin-top: auto; }
.status { font-weight: 700; font-size: .9rem; }
.status::before { content: "● "; color: var(--pink); }

/* Filter chips */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.filters button { font: 700 .95rem "Bricolage Grotesque"; padding: .55em 1em; background: #fff; border: var(--border); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--yellow); }

/* Page hero (work) */
.page-hero h1 { font-size: clamp(3rem, 10vw, 7.5rem); }
.page-hero h1 .outline { color: transparent; -webkit-text-stroke: 3px var(--ink); }

/* CTA */
.cta { background: var(--pink); padding: 56px 40px; text-align: center; }
.cta h2 { margin-inline: auto; max-width: 16ch; }
.cta p { font-size: 1.15rem; margin: 0 auto 28px; max-width: 50ch; }
.cta .ctas { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* Blog */
.post { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 24px 28px; margin-top: 32px; }
.post time { font-weight: 700; background: var(--blue); border: 2px solid var(--ink); border-radius: 8px; padding: .4em .7em; }
.post h3 { font-size: 1.4rem; }
@media (max-width: 720px) { .post { grid-template-columns: 1fr; } }

/* Footer */
footer.site { background: var(--ink); color: var(--paper); padding-block: 48px 32px; margin-top: 72px; border-top: var(--border); }
footer.site .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
footer.site .logo span { color: var(--ink); }
footer.site a { text-decoration: none; }
footer.site a:hover { color: var(--yellow); text-decoration: underline; }
footer.site ul { list-style: none; display: grid; gap: 6px; }
footer.site h2 { color: var(--yellow); text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin-bottom: 10px; }
footer.site .legal { margin-top: 40px; padding-top: 20px; border-top: 2px dashed #555; font-size: .9rem; color: #d8d2c2; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Single pages (blog + project) */
.crumbs { font-weight: 700; margin-bottom: 18px; }
.crumbs a { text-decoration: none; border-bottom: 3px solid var(--pink); }
.single-hero h1 { font-size: clamp(2.4rem, 6.5vw, 5rem); max-width: 18ch; margin-block: 16px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips .tag:nth-child(2) { background: var(--yellow); }
.chips .tag:nth-child(3) { background: var(--blue); }
.chips .tag:nth-child(4) { background: var(--pink); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
.layout aside { position: sticky; top: 110px; display: grid; gap: 24px; }
@media (max-width: 900px) { .layout { grid-template-columns: 1fr; } .layout aside { position: static; } }

.prose { padding: clamp(24px, 5vw, 56px); font-size: 1.12rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin: 1.6em 0 .2em; }
.prose h2:first-child { margin-top: 0; }
.prose h2::before { content: "§ "; color: var(--pink); }
.prose ul { list-style: none; display: grid; gap: 14px; }
.prose li { border: var(--border); border-radius: var(--radius); padding: 16px 18px; background: var(--paper); box-shadow: 3px 3px 0 var(--ink); }
.prose li strong { display: block; font-family: "Archivo Black"; font-weight: 400; margin-bottom: 4px; }
.prose a { font-weight: 700; text-decoration-thickness: 3px; text-decoration-color: var(--pink); }
.callout { border: var(--border); border-radius: var(--radius); background: var(--green); padding: 20px 22px; font-weight: 500; }

.side { padding: 24px; }
.side h2 { font-size: 1.4rem; margin-bottom: 10px; }
.side p + .btn, .side p + p { margin-top: 14px; }
.side.yellow { background: var(--yellow); }
.side.pink { background: var(--pink); }
.facts { display: grid; gap: 0; }
.facts div { display: flex; justify-content: space-between; gap: 12px; padding-block: 10px; border-bottom: 2px dashed var(--ink); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-weight: 700; }
.facts dd { text-align: right; }

.showcase { aspect-ratio: 16/8; display: grid; place-items: center; background: var(--green); margin-top: 40px; overflow: hidden; }
.showcase .browser { width: min(720px, 86%); }
.showcase .body { padding: clamp(24px, 6vw, 64px) 20px; text-align: center; }
.showcase .body strong { font-family: "Archivo Black"; font-weight: 400; font-size: clamp(1.8rem, 5vw, 3.4rem); display: block; line-height: 1.1; }
.showcase .body p { margin: 12px auto 20px; max-width: 34ch; }
@media (max-width: 600px) { .showcase { aspect-ratio: auto; padding-block: 32px; } }
.browser { background: #fff; border: var(--border); border-radius: 8px; box-shadow: 5px 5px 0 var(--ink); overflow: hidden; }
.browser .dots { display: flex; gap: 6px; padding: 8px 10px; border-bottom: 2px solid var(--ink); background: var(--paper); }
.browser .dots i { width: 10px; height: 10px; border: 2px solid var(--ink); border-radius: 50%; }
.browser .dots i:nth-child(1) { background: var(--pink); }
.browser .dots i:nth-child(2) { background: var(--yellow); }
.browser .dots i:nth-child(3) { background: var(--green); }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature { padding: 22px; }
.feature b { font-family: "Archivo Black"; font-weight: 400; font-size: 1.2rem; display: block; margin-bottom: 6px; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.pager a { padding: 22px 24px; text-decoration: none; display: grid; gap: 4px; transition: transform .15s, box-shadow .15s; }
.pager a:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--ink); }
.pager a span { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
.pager a strong { font-family: "Archivo Black"; font-weight: 400; font-size: 1.4rem; }
.pager a:last-child { text-align: right; background: var(--blue); }
@media (max-width: 600px) { .pager { grid-template-columns: 1fr; } .pager a:last-child { text-align: left; } }
