/* ============ TOKENS ============ */
:root {
  --cream: #f6f4e6;
  --cream-2: #efecd9;
  --plum: #2a1b25;
  --plum-2: #3d2a36;
  --orange: #f26430;
  --yellow: #ffd95a;
  --lilac: #cbb8ff;
  --mint: #b6efcf;
  --pink: #ffb3c7;
  --line: 2.5px solid var(--plum);
  --shadow: 5px 5px 0 var(--plum);
  --shadow-lg: 8px 8px 0 var(--plum);
  --radius: 22px;
  --f-head: "Poppins", system-ui, sans-serif;
  --f-body: "Montserrat", system-ui, sans-serif;
  --f-hand: "Caveat", cursive;
  --gutter: clamp(16px, 5vw, 72px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--plum);
  background-color: var(--cream);
  /* graph-paper grid, like the PDF */
  background-image:
    linear-gradient(rgba(42, 27, 37, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42, 27, 37, .055) 1px, transparent 1px);
  background-size: 34px 34px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--orange); color: var(--cream); }

/* ============ SHARED ============ */
.section { padding: clamp(70px, 10vw, 130px) var(--gutter); position: relative; }

.section__head {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.h2 {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
}

.hl {
  position: relative;
  display: inline-block;
  z-index: 0;
}
.hl::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px; bottom: .08em;
  height: .32em;
  background: var(--orange);
  border-radius: 6px;
  z-index: -1;
  transform: rotate(-1.5deg);
}
.hl--light::after { background: var(--orange); }

.hand {
  font-family: var(--f-hand);
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--orange);
  margin: 0;
}
.hand--big { font-size: clamp(1.7rem, 3vw, 2.3rem); transform: rotate(-3deg); }

.doodle { fill: none; stroke: var(--plum); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border: var(--line);
  border-radius: 999px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .98rem;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: var(--shadow);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--plum); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--plum); }
.btn--dark { background: var(--plum); color: var(--cream); }
.btn--line { background: var(--cream); }
.btn--orange { background: var(--orange); color: var(--plum); }
.btn--xl { font-size: clamp(1rem, 2.6vw, 1.5rem); padding: 18px 34px; }

.sticker {
  display: inline-block;
  padding: 8px 16px;
  border: var(--line);
  border-radius: 999px;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .9rem;
  box-shadow: 3px 3px 0 var(--plum);
  background: var(--cream);
  white-space: nowrap;
}
.sticker--yellow { background: var(--yellow); }
.sticker--lilac { background: var(--lilac); }
.sticker--mint { background: var(--mint); }
.sticker--orange { background: var(--orange); }

.pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--plum);
  color: var(--cream);
  font-size: .78rem;
  font-weight: 600;
}
.pill--line { background: transparent; color: var(--plum); border: 1.5px solid var(--plum); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ============ NAV ============ */
.nav {
  position: sticky;
  top: 14px;
  z-index: 50;
  margin: 14px var(--gutter) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px 10px 22px;
  background: var(--cream);
  border: var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow);
}
.nav__logo {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 1.35rem;
  text-decoration: none;
  letter-spacing: -.03em;
}
.nav__logo span { color: var(--orange); }
.nav__logo i { font-style: normal; color: var(--orange); display: inline-block; animation: spin 6s linear infinite; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s;
}
.nav__links a:hover { background: var(--yellow); }
.nav__links .nav__cta { background: var(--plum); color: var(--cream); }
.nav__links .nav__cta:hover { background: var(--orange); color: var(--plum); }
.nav__burger { display: none; background: none; border: 0; width: 42px; height: 42px; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 9px; right: 9px; height: 3px; background: var(--plum); border-radius: 3px; transition: transform .25s; }
.nav__burger span:first-child { top: 15px; }
.nav__burger span:last-child { top: 24px; }
.nav.is-open .nav__burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav.is-open .nav__burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px;
  padding: 40px var(--gutter) 60px;
  position: relative;
}
.doodle--star { position: absolute; width: 120px; top: 6%; left: 44%; animation: wobble 5s ease-in-out infinite; }
.hero__hi { font-family: var(--f-hand); font-size: 2rem; color: var(--orange); margin: 0 0 -8px 6px; transform: rotate(-4deg); display: inline-block; }
.hero__name {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(4.2rem, 13vw, 11rem);
  line-height: .86;
  letter-spacing: -.055em;
  margin: 0;
}
.hero__name .line { display: block; animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.hero__name .line:nth-child(2) { animation-delay: .12s; }
.hero__name .dot { color: var(--orange); }
.hero__role { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 500; margin: 22px 0 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.hero__role b { color: var(--orange); }
.swipe-hint { display: none; }
.hero__note { font-family: var(--f-hand); font-size: 1.7rem; margin: 0 0 28px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__art { position: relative; aspect-ratio: 1 / 1.05; max-width: 560px; justify-self: center; width: 100%; }
.hero__blob {
  position: absolute; inset: 14% 6% 0 10%;
  background: var(--plum);
  border-radius: 50% 50% 46% 54% / 55% 50% 50% 45%;
  animation: morph 10s ease-in-out infinite;
}
.hero__cutout { position: absolute; bottom: 0; left: 50%; transform: translateX(-46%); height: 100%; width: auto; object-fit: contain; z-index: 2; filter: drop-shadow(0 18px 24px rgba(0,0,0,.25)); }
.hero__circle { position: absolute; border-radius: 50%; border: var(--line); box-shadow: var(--shadow); object-fit: cover; z-index: 3; }
.hero__circle--a { width: 30%; aspect-ratio: 1; top: 2%; left: -4%; transform: rotate(-6deg); }
.hero__circle--b { width: 26%; aspect-ratio: 1; bottom: 6%; right: -3%; }
.hero__art .sticker { position: absolute; z-index: 4; }
.s1 { top: 38%; left: -10%; transform: rotate(-8deg); }
.s2 { top: 10%; right: -2%; transform: rotate(6deg); }
.s3 { bottom: 2%; left: 8%; transform: rotate(4deg); }
.badge-spin { position: absolute; z-index: 4; width: 120px; height: 120px; right: 8%; top: 40%; background: var(--yellow); border: var(--line); border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow); }
.badge-spin svg { position: absolute; inset: 0; animation: spin 14s linear infinite; }
.badge-spin text { font-family: var(--f-head); font-weight: 700; font-size: 11.5px; letter-spacing: 1.5px; fill: var(--plum); }
.badge-spin span { font-size: 2rem; color: var(--orange); }

/* ============ MARQUEE ============ */
.marquee {
  background: var(--plum);
  color: var(--cream);
  border-block: var(--line);
  overflow: hidden;
  transform: rotate(-1.6deg);
  margin: 10px -20px;
  padding: 16px 0;
}
.marquee__track { display: flex; gap: 26px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.2rem, 2.6vw, 1.9rem); text-transform: uppercase; letter-spacing: -.01em; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--orange); font-size: 1.5rem; align-self: center; }

/* ============ ABOUT ============ */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about__photos { position: relative; min-height: 520px; }
.polaroid { margin: 0; position: absolute; background: #fff; padding: 12px 12px 0; border: var(--line); box-shadow: var(--shadow-lg); transition: transform .3s; }
.polaroid img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.polaroid figcaption { font-family: var(--f-hand); font-size: 1.45rem; text-align: center; padding: 6px 0 10px; }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 5; }
.p1 { width: 62%; top: 0; left: 0; transform: rotate(-5deg); }
.p2 { width: 58%; bottom: 0; right: 0; transform: rotate(6deg); }
.p2 img { aspect-ratio: 4 / 3; }
.tape { position: absolute; width: 110px; height: 30px; background: rgba(255, 217, 90, .85); top: -8px; left: 22%; transform: rotate(-12deg); z-index: 3; }
.about__text p { max-width: 60ch; }
.about__text .h2 { margin-bottom: 22px; }
.about__text .hand { margin: 18px 0 26px; font-size: 1.9rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.stat { border: var(--line); border-radius: 18px; padding: 14px; background: var(--cream); box-shadow: 4px 4px 0 var(--plum); }
.stat:nth-child(1) { background: var(--lilac); }
.stat:nth-child(2) { background: var(--pink); }
.stat:nth-child(3) { background: var(--mint); }
.stat:nth-child(4) { background: var(--yellow); }
.stat b { display: block; font-family: var(--f-head); font-size: 1.8rem; line-height: 1; }
.stat span { font-size: .78rem; font-weight: 600; line-height: 1.2; display: block; margin-top: 6px; }

/* ============ SKILLS ============ */
.doodle--loops { width: 200px; }
.skills__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  border: var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:nth-child(odd) { transform: rotate(-1.2deg); }
.card:nth-child(even) { transform: rotate(1.2deg); }
.card.is-in:hover { transform: rotate(0) translateY(-6px); box-shadow: var(--shadow-lg); }
.card--orange { background: var(--orange); }
.card--lilac { background: var(--lilac); }
.card--mint { background: var(--mint); }
.card--yellow { background: var(--yellow); }
.card__tag { position: absolute; top: -16px; right: 18px; background: var(--plum); color: var(--cream); font-family: var(--f-head); font-weight: 800; padding: 4px 12px; border-radius: 10px; transform: rotate(5deg); }
.card h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.4rem; line-height: 1.1; margin: 0 0 14px; }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { padding: 7px 0 7px 24px; position: relative; font-weight: 500; font-size: .95rem; border-top: 1.5px dashed rgba(42, 27, 37, .3); }
.card li::before { content: "✦"; position: absolute; left: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips span { font-size: .8rem; font-weight: 600; padding: 5px 11px; border: 1.5px solid var(--plum); border-radius: 999px; background: var(--cream); }
.certs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 40px; }
.certs__label { font-family: var(--f-hand); font-size: 1.8rem; color: var(--orange); }
.cert { border: 2px dashed var(--plum); border-radius: 12px; padding: 8px 14px; font-weight: 600; font-size: .9rem; background: var(--cream); }

/* ============ CASE STUDIES ============ */
.case {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  background: var(--cream);
  border: var(--line);
  border-radius: 30px;
  padding: clamp(18px, 3vw, 34px);
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
}
.case--flip .case__media { order: 2; }
.case__media { position: relative; border-radius: 22px; overflow: hidden; border: var(--line); aspect-ratio: 4 / 3.4; background: var(--plum); }
.case__media > img { width: 100%; height: 100%; object-fit: cover; }
.case__media--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.case__media--duo img { width: 100%; height: 100%; object-fit: cover; }
.case__media--duo { background: var(--mint); }
.case__media--duo img + img { object-fit: contain; padding: 14px; mix-blend-mode: multiply; border-left: var(--line); }
.case__badge { position: absolute; top: 16px; right: 16px; transform: rotate(6deg); font-size: 1.05rem; }
.case__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 18px; }
.case dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; }
.case dt { font-family: var(--f-hand); font-size: 1.45rem; color: var(--orange); line-height: 1.1; }
.case dd { margin: 0; font-size: .96rem; }

.case__media--briqs { overflow: visible; }
.case__media--briqs > img { border-radius: 19px; }
.briqs-sticker {
  position: absolute; left: -16px; bottom: -34px; width: 26%; margin: 0; z-index: 2;
  background: #fff; border: var(--line); border-radius: 18px; padding: 6px 6px 0;
  box-shadow: var(--shadow); transform: rotate(-6deg); animation: bob 4s ease-in-out infinite;
}
.briqs-sticker img { width: 100%; border-radius: 12px; }
.briqs-sticker figcaption { font-family: var(--f-hand); font-size: 1.2rem; text-align: center; line-height: 1; padding: 6px 0 8px; }

.case__media--yt { background: var(--plum); display: grid; place-items: center; }
.yt-card { text-decoration: none; color: var(--cream); display: grid; justify-items: center; gap: 10px; text-align: center; padding: 20px; }
.yt-card__play { width: 92px; height: 92px; border-radius: 50%; background: var(--orange); color: var(--plum); display: grid; place-items: center; font-size: 2.2rem; border: 3px solid var(--cream); transition: transform .25s; }
.yt-card:hover .yt-card__play { transform: scale(1.1) rotate(-8deg); }
.yt-card__title { font-family: var(--f-head); font-weight: 800; font-size: 1.4rem; }
.yt-card__sub { font-family: var(--f-hand); font-size: 1.4rem; color: var(--yellow); }

/* ============ EXPERIENCE ============ */
.timeline { list-style: none; margin: 0; padding: 0 0 0 34px; position: relative; max-width: 900px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; border-left: 3px dashed var(--plum); }
.timeline li { position: relative; padding-bottom: 34px; }
.timeline li::before { content: ""; position: absolute; left: -34px; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--orange); border: var(--line); }
.timeline li:first-child::before { background: var(--yellow); box-shadow: 0 0 0 6px rgba(242, 100, 48, .25); }
.timeline__when { font-family: var(--f-hand); font-size: 1.45rem; color: var(--orange); }
.timeline h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.15rem, 2.4vw, 1.5rem); margin: 0 0 4px; line-height: 1.2; }
.timeline h3 em { font-style: normal; font-weight: 600; opacity: .7; }
.timeline p { margin: 0; max-width: 70ch; }
.edu { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; }
.edu .sticker { white-space: normal; border-radius: 16px; }
.edu .sticker:first-child { transform: rotate(-1.5deg); }
.edu .sticker:last-child { transform: rotate(1.5deg); }

/* ============ CLIENTS ============ */
.clients__wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.logo-tile { aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 18px; background: #fff; border: var(--line); border-radius: 18px; box-shadow: 4px 4px 0 var(--plum); transition: transform .2s; text-align: center; }
.logo-tile:nth-child(3n) { transform: rotate(-2deg); }
.logo-tile:nth-child(4n) { transform: rotate(2deg); }
.logo-tile:hover { transform: rotate(0) scale(1.05); }
.logo-tile img { max-height: 70px; width: auto; object-fit: contain; }
.logo-tile--text { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; line-height: 1.1; }
.logo-tile--text small { font-family: var(--f-body); font-weight: 600; font-size: .72rem; opacity: .65; }

/* ============ LENS ============ */
.lens { background: var(--plum); color: var(--cream); border-radius: 40px; margin: 0 clamp(8px, 2vw, 24px); }
.lens .hl::after { background: var(--orange); }
.lens__head { display: flex; align-items: center; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.lens__head p { margin: 10px 0 0; opacity: .85; max-width: 52ch; }
.lens__logo { width: 96px; height: 96px; border-radius: 50%; border: 3px solid var(--cream); transform: rotate(-8deg); }
.gallery { columns: 4 240px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; position: relative; border-radius: 16px; overflow: hidden; border: 2.5px solid var(--cream); cursor: zoom-in; }
.gallery img { width: 100%; transition: transform .5s ease, filter .5s; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--yellow); color: var(--plum); font-family: var(--f-hand); font-size: 1.25rem; padding: 0 10px; border-radius: 8px; border: 2px solid var(--plum); transform: rotate(-3deg) translateY(8px); opacity: 0; transition: .25s; }
.gallery figure:hover figcaption { opacity: 1; transform: rotate(-3deg); }
.yt-strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-top: 30px; align-items: stretch; }
.yt-strip img { border-radius: 16px; border: 2.5px solid var(--cream); object-fit: cover; height: 100%; width: 100%; }
.yt-strip__card { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--orange); color: var(--plum); border-radius: 16px; border: 2.5px solid var(--cream); text-decoration: none; font-size: .95rem; line-height: 1.4; }
.yt-strip__icon { flex: none; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: var(--cream); font-size: 1.3rem; }
.yt-strip__arrow { margin-left: auto; font-size: 1.8rem; font-weight: 800; transition: transform .2s; }
.yt-strip__card:hover .yt-strip__arrow { transform: translate(4px, -4px); }

/* ============ PROCESS ============ */
.process__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 22px 24px; border: var(--line); border-radius: var(--radius); background: var(--cream); box-shadow: var(--shadow); }
.step b { position: absolute; top: -24px; left: 18px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); border: var(--line); font-family: var(--f-head); font-size: 1.3rem; }
.step:nth-child(2) b { background: var(--lilac); }
.step:nth-child(3) b { background: var(--mint); }
.step:nth-child(4) b { background: var(--yellow); }
.step h3 { font-family: var(--f-head); font-weight: 800; margin: 8px 0 6px; font-size: 1.2rem; }
.step p { margin: 0; font-size: .95rem; }

/* ============ CONTACT ============ */
.contact { text-align: center; padding: clamp(80px, 12vw, 150px) var(--gutter); position: relative; }
.doodle--burst { width: 160px; margin: 0 auto 10px; display: block; stroke: var(--orange); }
.contact__big { font-family: var(--f-head); font-weight: 900; font-size: clamp(3rem, 10vw, 8rem); line-height: .92; letter-spacing: -.05em; margin: 14px 0 36px; }
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.socials a { text-decoration: none; font-weight: 700; padding: 10px 20px; border: var(--line); border-radius: 999px; background: var(--cream); transition: background .2s, transform .2s; }
.socials a:hover { background: var(--yellow); transform: rotate(-3deg); }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding: 22px var(--gutter); border-top: var(--line); font-weight: 600; font-size: .9rem; }

/* ============ LIGHTBOX ============ */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(42, 27, 37, .92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; border: 3px solid var(--cream); border-radius: 14px; }
.lightbox__close { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; border: var(--line); background: var(--yellow); font-size: 1.3rem; cursor: pointer; }

/* ============ ANIMATIONS ============ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes wobble { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(10deg) scale(1.08); } }
@keyframes rise { from { opacity: 0; transform: translateY(50px) rotate(3deg); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14px) rotate(3deg); } }
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 46% 54% / 55% 50% 50% 45%; }
  50% { border-radius: 42% 58% 55% 45% / 48% 58% 42% 52%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .skills__grid, .process__steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .clients__wall { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav__burger { display: block; }
  .nav__links {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--cream); border: var(--line); border-radius: 24px; box-shadow: var(--shadow);
    padding: 12px; display: none;
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 16px; font-size: 1.05rem; }

  .hero { grid-template-columns: 1fr; text-align: left; min-height: auto; padding-top: 30px; }
  .doodle--star { left: auto; right: 4%; top: 2%; width: 80px; }
  .hero__art { max-width: 440px; }

  .about { grid-template-columns: 1fr; }
  .about__photos { min-height: 440px; max-width: 460px; width: 100%; margin: 0 auto; }

  .case, .case--flip { grid-template-columns: 1fr; }
  .case--flip .case__media { order: 0; }

  .yt-strip { grid-template-columns: 1fr 1fr; }
  .yt-strip__card { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; background-size: 26px 26px; }
  .section { padding: 56px 16px; }
  .section__head { margin-bottom: 26px; gap: 10px; }
  .doodle--loops { display: none; }

  /* hero */
  .hero { padding: 22px 16px 36px; gap: 26px; }
  .hero__hi { font-size: 1.7rem; }
  .hero__name { font-size: clamp(4.2rem, 23vw, 6rem); }
  .hero__role { margin-top: 18px; gap: 8px; }
  .hero__role b { display: none; }
  .hero__role span { font-size: .82rem; font-weight: 600; padding: 5px 12px; border: 2px solid var(--plum); border-radius: 999px; background: var(--cream); }
  .hero__role span:nth-of-type(1) { background: var(--yellow); transform: rotate(-2deg); }
  .hero__role span:nth-of-type(2) { background: var(--lilac); transform: rotate(1.5deg); }
  .hero__role span:nth-of-type(3) { background: var(--mint); transform: rotate(-1deg); }
  .hero__note { font-size: 1.45rem; margin: 10px 0 22px; }
  .hero__btns { display: grid; grid-template-columns: 1fr; gap: 12px; }
  .hero__btns .btn { justify-content: center; }
  .doodle--star { width: 64px; }

  /* swipe carousels */
  .swipe-hint { display: block; font-family: var(--f-hand); font-size: 1.35rem; color: var(--orange); margin: -14px 0 4px; text-align: right; }
  .skills__grid, .process__steps {
    display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 -16px; padding: 26px 16px 22px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .skills__grid::-webkit-scrollbar, .process__steps::-webkit-scrollbar { display: none; }
  .skills__grid > *, .process__steps > * { flex: 0 0 84%; scroll-snap-align: center; }
  .card:nth-child(n) { transform: none; }
  .card.is-in:hover { transform: none; }
  .step { min-height: 190px; }

  .about { gap: 34px; }
  .about__text .hand { font-size: 1.6rem; }
  .certs { margin-top: 26px; gap: 10px; }
  .certs__label { width: 100%; }
  .cert { font-size: .82rem; }

  .case { padding: 14px; border-radius: 24px; margin-bottom: 28px; box-shadow: var(--shadow); }
  .case__media { aspect-ratio: 4 / 3.2; border-radius: 16px; }
  .case h3 { font-size: 1.45rem; margin-bottom: 12px; }
  .case__meta { gap: 6px; }
  .pill { font-size: .72rem; padding: 3px 10px; }
  .case__badge { font-size: .9rem; top: 12px; right: 12px; }

  .timeline li { padding-bottom: 26px; }
  .clients__wall { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .logo-tile { padding: 14px; }
  .logo-tile img { max-height: 58px; max-width: 100%; }

  .lens { border-radius: 28px; margin: 0 8px; }
  .lens__head { gap: 16px; margin-bottom: 28px; }
  .lens__logo { width: 70px; height: 70px; }
  .yt-strip__card { font-size: .85rem; padding: 16px; gap: 12px; }
  .yt-strip__icon { width: 44px; height: 44px; }

  .contact { padding: 70px 16px 60px; }
  .contact__big { line-height: 1; letter-spacing: -.04em; font-size: clamp(3rem, 15vw, 4.2rem); }
  .btn--xl { font-size: 1rem; padding: 16px 22px; }
  .socials { gap: 8px; flex-wrap: nowrap; }
  .socials a { padding: 9px 14px; font-size: .88rem; }
  .footer { font-size: .8rem; }
  .s1 { left: -2%; }
  .s2 { right: 0; }
  .badge-spin { width: 92px; height: 92px; right: 2%; }
  .badge-spin text { font-size: 10px; }
  .hero__circle--a { left: 0; }
  .hero__circle--b { right: 0; }
  .case dl { grid-template-columns: 1fr; gap: 2px; }
  .case dd { margin-bottom: 10px; }
  .briqs-sticker { width: 30%; left: -8px; bottom: -30px; }
  .case__media--briqs + .case__body { padding-top: 22px; }
  .briqs-sticker figcaption { font-size: 1rem; }
  .about__photos { min-height: 380px; }
  .gallery { columns: 2 140px; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
}

/* cafes case: real thumbnail */
.case__media--yt .yt-card { position: absolute; inset: 0; padding: 0; display: block; }
.case__media--yt .yt-card img { width: 100%; height: 100%; object-fit: cover; }
.case__media--yt .yt-card__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.case__media--yt .yt-card:hover .yt-card__play { transform: translate(-50%, -50%) scale(1.1) rotate(-8deg); }
