:root {
  --ink: #111111;
  --cream: #FFF6E5;
  --lemon: #FFE14D;
  --pink: #FF8FD1;
  --hot: #FF4FA3;
  --lime: #B8FF5C;
  --lilac: #B9A8FF;
  --sky: #8FD3FF;
  --orange: #FFA94D;
  --dark: #0E0E10;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Space Grotesk", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --hand: "Caveat", cursive;
  --pad: clamp(20px, 5.5vw, 80px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--body); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
ul, ol { list-style: none; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
h2 { font-size: clamp(36px, 5.5vw, 64px); }
.mono { font-family: var(--mono); }
.lime { color: var(--lime); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lemon); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--hot); outline-offset: 3px; }

.bg-lemon { background: var(--lemon) !important; }
.bg-pink { background: var(--pink) !important; }
.bg-lime { background: var(--lime) !important; }
.bg-lilac { background: var(--lilac) !important; }
.bg-sky { background: var(--sky) !important; }
.bg-orange { background: var(--orange) !important; }

/* building blocks */
.card { background: #fff; border: 3px solid var(--ink); border-radius: 20px; box-shadow: 6px 6px 0 var(--ink); }
.chip {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 8px 16px; background: #fff; border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--ink); font: 500 16px/1.2 var(--body); text-decoration: none; color: var(--ink);
}
.chip.mono { font-family: var(--mono); font-weight: 700; font-size: 14px; }
.chip-sm { font-size: 14px; padding: 6px 14px; box-shadow: 2px 2px 0 var(--ink); }
.chip-xs { font-size: 12px !important; padding: 5px 11px; box-shadow: 2px 2px 0 var(--ink); }
.label { margin-bottom: 20px; }
.btn {
  display: inline-block; padding: 16px 26px; border: 3px solid var(--ink); border-radius: 14px;
  box-shadow: 5px 5px 0 var(--ink); font: 700 18px/1 var(--body); text-decoration: none; color: var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.btn:hover, a.chip:hover, button.chip:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn:active, a.chip:active, button.chip:active { transform: translate(3px, 3px); box-shadow: 0 0 0 var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-lemon { background: var(--lemon); }
.btn-pink { background: var(--pink); }
.script-note { font: 700 30px/1.1 var(--hand); color: var(--hot); text-decoration: none; }
.photo { border: 3px solid var(--ink); border-radius: 20px; object-fit: cover; }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad); background: var(--cream); border-bottom: 3px solid var(--ink);
}
.logo { font: 800 28px/1 var(--display); letter-spacing: -0.03em; text-decoration: none; }
.logo span { color: var(--hot); }
.nav nav { display: flex; gap: 36px; }
.nav nav a { font-weight: 500; text-decoration: none; }
.nav nav a:hover { text-decoration: underline wavy var(--hot); }
.nav .btn { padding: 12px 20px; font-size: 16px; }

/* hero */
.hero { display: grid; grid-template-columns: 1fr 480px; gap: 56px; align-items: center; padding: 72px var(--pad) 88px; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.headline { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.headline .big { font-size: clamp(56px, 8.5vw, 112px); line-height: .92; letter-spacing: -0.04em; }
.headline .script { font: 700 clamp(40px, 5vw, 72px)/1 var(--hand); color: var(--hot); letter-spacing: 0; }
.headline .hl { background: var(--lime); border: 3px solid var(--ink); border-radius: 12px; box-shadow: 6px 6px 0 var(--ink); padding: 4px 20px 8px; transform: rotate(-2deg); margin: 6px 0; }
.lead { font-size: 22px; max-width: 600px; }
.ctas { display: flex; flex-wrap: wrap; gap: 20px; }
.stats { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; height: 600px; }
.photo-hero { position: absolute; left: 60px; top: 40px; width: 380px; height: 500px; transform: rotate(4deg); box-shadow: 8px 8px 0 var(--hot); }
.star {
  position: absolute; left: 0; top: 0; width: 150px; height: 150px; display: grid; place-items: center;
  background: var(--lemon); clip-path: polygon(50% 0%, 61% 11%, 75% 7%, 79% 21%, 93% 25%, 89% 39%, 100% 50%, 89% 61%, 93% 75%, 79% 79%, 75% 93%, 61% 89%, 50% 100%, 39% 89%, 25% 93%, 21% 79%, 7% 75%, 11% 61%, 0% 50%, 11% 39%, 7% 25%, 21% 21%, 25% 7%, 39% 11%);
  animation: spin 18s linear infinite;
}
.star span { font: 800 22px/.95 var(--display); text-align: center; animation: spin 18s linear infinite reverse; }
.smiley { position: absolute; right: -10px; top: 120px; width: 96px; height: 96px; display: grid; place-items: center; font-size: 60px; background: var(--lilac); border: 3px solid var(--ink); border-radius: 50%; }
.caption { position: absolute; left: 170px; bottom: 20px; transform: rotate(-5deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* marquee */
.marquee { background: var(--ink); color: var(--lime); overflow: hidden; padding: 18px 0; font: 700 22px/1 var(--mono); white-space: nowrap; }
.marquee-track { display: inline-flex; animation: scroll 30s linear infinite; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* about */
.about { display: grid; grid-template-columns: 400px 1fr; gap: 88px; align-items: center; padding: 112px var(--pad); }
.about-visual { position: relative; padding: 30px 20px 0; }
.photo-about { width: 360px; height: 460px; transform: rotate(-3deg); box-shadow: 8px 8px 0 var(--lime); }
.tape { position: absolute; z-index: 1; left: 130px; top: 18px; width: 140px; height: 36px; background: rgba(255, 225, 77, .85); transform: rotate(8deg); }
.about-visual .script-note { margin-top: 20px; transform: rotate(-6deg); }
.about-copy { display: flex; flex-direction: column; gap: 28px; }
.about-copy .label { margin-bottom: 0; }
.about-copy p { font-size: 20px; max-width: 720px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 20px; }
.facts .card { display: flex; flex-direction: column; gap: 4px; padding: 20px; border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
.facts .emoji { font-size: 28px; }
.facts b { font-size: 18px; line-height: 1.25; }
.facts small { font-size: 15px; }

/* case study */
.case { background: var(--dark); color: #fff; padding: 112px var(--pad); }
.case .sub { color: #BDBDBD; font-size: 20px; max-width: 760px; margin: 20px 0 56px; }
.case-body { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.terminal { background: #16161A; border: 3px solid #fff; border-radius: 16px; box-shadow: 8px 8px 0 var(--lime); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 8px; padding: 14px 20px; background: #26262C; font: 400 14px var(--mono); color: #9A9AA5; }
.term-bar i { width: 14px; height: 14px; border-radius: 50%; background: #FF5F57; }
.term-bar i:nth-child(2) { background: #FEBC2E; }
.term-bar i:nth-child(3) { background: #28C840; margin-right: 12px; }
.term-out { padding: 28px; font: 700 17px/2 var(--mono); white-space: pre-wrap; overflow-x: auto; }
.term-out .cmd { color: #fff; font-weight: 400; }
.term-out .warn { color: #FFB86B; }
.term-out .ok { color: var(--lime); }
.cursor { animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.case-stats { display: flex; flex-direction: column; gap: 20px; }
.case-stats .card { color: var(--ink); padding: 24px 28px; border-radius: 16px; box-shadow: 6px 6px 0 #fff; font-size: 16px; line-height: 1.4; }
.case-stats b { display: block; font: 800 44px/1.1 var(--display); letter-spacing: -0.03em; }

/* work */
.work { padding: 112px var(--pad); }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filters button { cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.featured { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; padding: 32px; border-radius: 24px; box-shadow: 10px 10px 0 var(--ink); margin-bottom: 48px; }
.featured > img { border: 3px solid var(--ink); border-radius: 16px; background: #fff; }
.featured-copy { display: flex; flex-direction: column; gap: 16px; }
.featured h3 { font-size: clamp(32px, 3.4vw, 44px); }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ticks li { font-weight: 500; font-size: 15px; padding-left: 26px; position: relative; margin-bottom: 6px; }
.ticks li::before { content: "✓"; position: absolute; left: 0; font-weight: 700; }
.stack { font: 700 13px var(--mono); color: #C2187A; }
.role { font-size: 14px; color: #333; }
.featured .btn { align-self: flex-start; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.project { display: flex; flex-direction: column; overflow: hidden; transition: transform .15s; }
.project.card:hover { transform: rotate(-1deg) translateY(-4px); }
.thumb { position: relative; height: 230px; padding: 44px 20px 0; border-bottom: 3px solid var(--ink); display: flex; justify-content: center; overflow: hidden; }
.thumb .chip { position: absolute; left: 16px; top: 14px; z-index: 1; }
.thumb img { max-height: 100%; object-fit: contain; object-position: top; }
.project .body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.project h3 { font-size: 26px; font-weight: 700; }
.project p { font-size: 16px; line-height: 1.45; }
.next { border: 3px dashed var(--ink); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; min-height: 300px; }
.next .emoji { font-size: 56px; }
.next h3 { font-size: 30px; }
.hide { display: none !important; }

/* toolbox */
.toolbox { background: var(--lemon); border-block: 3px solid var(--ink); padding: 112px var(--pad); }
.toolbox h2 { margin-bottom: 48px; }
.groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.group { padding: 28px; box-shadow: 8px 8px 0 var(--ink); }
.group h3 { font: 700 18px var(--mono); margin-bottom: 20px; letter-spacing: 0; }
.stickers { display: flex; flex-wrap: wrap; gap: 14px 10px; background: none !important; }
.stickers li { padding: 8px 16px; border: 2px solid var(--ink); border-radius: 999px; box-shadow: 3px 3px 0 var(--ink); font-weight: 500; font-size: 15px; transition: transform .15s; }
.stickers.bg-pink li { background: var(--pink); }
.stickers.bg-lime li { background: var(--lime); }
.stickers.bg-lilac li { background: var(--lilac); }
.stickers li:nth-child(4n+1) { transform: rotate(-2deg); }
.stickers li:nth-child(4n+2) { transform: rotate(1.5deg); }
.stickers li:nth-child(4n+3) { transform: rotate(-1deg); }
.stickers li:hover { transform: rotate(0) scale(1.08); }

/* journey */
.journey { padding: 112px var(--pad); }
.journey h2 { margin-bottom: 48px; }
.timeline { display: flex; flex-direction: column; gap: 20px; margin-bottom: 48px; }
.job { display: grid; grid-template-columns: 240px 1fr; gap: 48px; padding: 32px 36px; }
.when { display: flex; flex-direction: column; gap: 12px; }
.now { font-size: 13px; font-weight: 700; color: #1A9E4B; }
.job h3 { font-size: 32px; margin-bottom: 8px; }
.role-title { color: var(--hot); font-weight: 700; margin-bottom: 8px; }
.certs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.certs .script-note { color: var(--ink); }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: center; background: var(--pink); border-top: 3px solid var(--ink); padding: 128px var(--pad); }
.contact-copy { display: flex; flex-direction: column; gap: 32px; }
.contact-copy .label { margin-bottom: 0; }
.contact-title { font-size: clamp(52px, 7.5vw, 104px); line-height: .92; letter-spacing: -0.04em; }
.avail { font-size: 20px; font-weight: 500; max-width: 620px; }
.mail {
  width: fit-content; max-width: 100%; overflow-wrap: anywhere; padding: 22px 32px; background: var(--ink); color: #fff; text-decoration: none;
  font: 700 clamp(16px, 2vw, 24px)/1.2 var(--mono); border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--lemon); transition: transform .12s, box-shadow .12s;
}
.mail:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--lemon); }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.polaroid { background: #fff; border: 3px solid var(--ink); border-radius: 8px; box-shadow: 8px 8px 0 var(--ink); padding: 16px 16px 20px; transform: rotate(5deg); width: 320px; justify-self: center; }
.polaroid img { width: 100%; height: 300px; object-fit: cover; border: 2px solid var(--ink); }
.polaroid .script-note { color: var(--ink); margin-top: 16px; font-size: 28px; }

/* footer */
.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; background: var(--ink); color: #fff; padding: 28px var(--pad); font-size: 14px; }
.footer a { font-weight: 700; text-decoration: none; }

/* responsive */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { width: 480px; max-width: 100%; justify-self: center; }
  .about { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { justify-self: center; }
  .case-body, .featured { grid-template-columns: 1fr; }
  .grid, .groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav nav { display: none; }
  .logo { font-size: 24px; }
  .hero { padding-top: 40px; gap: 32px; }
  .lead { font-size: 18px; }
  .hero-visual { height: 470px; }
  .photo-hero { left: 30px; width: calc(100% - 60px); max-width: 320px; height: 400px; }
  .star { width: 110px; height: 110px; }
  .star span { font-size: 16px; }
  .smiley { width: 72px; height: 72px; font-size: 44px; right: 0; }
  .caption { left: auto; right: 0; bottom: 0; font-size: 12px; }
  .marquee { font-size: 16px; }
  .about, .case, .work, .toolbox, .journey { padding-block: 72px; }
  .photo-about { width: 100%; max-width: 320px; height: 400px; }
  .about-copy p { font-size: 17px; }
  .facts, .grid, .groups { grid-template-columns: 1fr; }
  .featured { padding: 20px; }
  .job { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .job h3 { font-size: 26px; }
  .term-out { font-size: 13px; padding: 20px; }
  .contact { padding-block: 80px; }
  .polaroid { width: min(280px, 85%); }
  .polaroid img { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
