/* ============================================================
   VIVID — a loud little portfolio ✦
   Design language: neo-brutalist pop — cream paper, thick ink
   borders, hard offset shadows, candy accents, chunky type.
   ============================================================ */

:root {
  --ink: #1b1523;
  --paper: #fff8ee;
  --tint: #fdeeda;
  --card: #ffffff;

  --accent: #7c3aed;        /* editable from the panel */
  --accent-deep: #4c1d95;   /* derived */
  --accent-soft: #ede4fd;   /* derived */

  --pink: #ff5ca8;
  --lime: #cdf463;
  --sky: #6fd3f2;
  --orange: #ff8a3c;
  --yellow: #ffd23f;

  --bw: 2.5px;                              /* border width */
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --r: 20px;
  --r-sm: 12px;

  --font-display: "Bricolage Grotesque", "Arial Black", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-hand: "Caveat", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  overflow-x: hidden;
}

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

::selection { background: var(--yellow); color: var(--ink); }

/* ---------------- buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px;
  border: var(--bw) solid var(--ink);
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: var(--shadow-sm);
  background: var(--card); color: var(--ink);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent-deep); }

/* ---------------- reveal ---------------- */
.rev { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.rev.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rev { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   NAV — floating pill
   ============================================================ */
.nav-wrap {
  position: fixed; top: 18px; left: 0; right: 0; z-index: 60;
  display: flex; justify-content: center; padding: 0 16px;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  display: flex; align-items: center; gap: 18px;
  background: var(--card);
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  padding: 8px 10px 8px 18px;
  box-shadow: var(--shadow-sm);
  max-width: 100%;
}
.nav-logo {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; white-space: nowrap;
}
.nav-star { color: var(--accent); font-size: 1.15rem; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-menu a {
  display: inline-block; text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 13px; border-radius: 999px; border: 2px solid transparent;
  transition: background .15s, border-color .15s;
  white-space: nowrap;
}
.nav-menu a:hover { background: var(--accent-soft); }
.nav-menu a.active { border-color: var(--ink); background: var(--accent-soft); font-weight: 700; }
.nav-menu a.nav-cta {
  background: var(--ink); color: var(--paper); font-weight: 700;
  border: 2px solid var(--ink);
}
.nav-menu a.nav-cta:hover { background: var(--accent); border-color: var(--ink); color: #fff; }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--yellow); border: var(--bw) solid var(--ink);
  cursor: pointer; align-items: center; flex: 0 0 auto;
}
.nav-burger span { display: block; width: 18px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-veil { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 150px 0 70px;
  min-height: 92vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center; width: 100%;
}

.hero-hello {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 1.05rem;
  background: var(--lime); border: var(--bw) solid var(--ink);
  border-radius: 999px; padding: 6px 18px;
  box-shadow: var(--shadow-sm);
  width: fit-content; margin-bottom: 22px;
  transform: rotate(-2deg);
}
.rev.in.hero-hello { transform: rotate(-2deg); }
.wave { display: inline-block; animation: wave 2.4s ease infinite; transform-origin: 70% 70%; }
@keyframes wave {
  0%, 60%, 100% { transform: rotate(0); }
  10% { transform: rotate(16deg); } 20% { transform: rotate(-8deg); }
  30% { transform: rotate(16deg); } 40% { transform: rotate(-4deg); } 50% { transform: rotate(8deg); }
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 7.5vw, 5.6rem);
  font-weight: 800; line-height: .98; letter-spacing: -.02em;
  margin-bottom: 18px;
}
.hero-line {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 20px; line-height: 1.25;
}
.typed-wrap {
  color: var(--accent);
  background: linear-gradient(transparent 68%, var(--yellow) 68%);
  padding: 0 2px;
}
.caret {
  display: inline-block; width: 3px; height: 1em; margin-left: 3px;
  background: var(--ink); vertical-align: -0.12em;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.hero-sub { max-width: 470px; font-size: 1.1rem; margin-bottom: 30px; }
.hero-sub em { font-style: normal; font-weight: 700; background: linear-gradient(transparent 65%, var(--pink) 65%); }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero-social { display: flex; gap: 12px; list-style: none; }
.hero-social a {
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--card); border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, background .15s, box-shadow .15s;
}
.hero-social a:hover { transform: translate(-2px,-2px) rotate(-6deg); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); }
.hero-social svg { width: 21px; height: 21px; }

/* hero photo */
.hero-photo-col { display: flex; justify-content: center; }
.hero-photo-wrap { position: relative; width: min(380px, 100%); }
.hero-photo {
  aspect-ratio: 3 / 4;
  border-radius: 190px 190px var(--r) var(--r);   /* arch */
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--accent-soft) url("../img/hero.jpg") center / cover no-repeat;
  transform: rotate(2deg);
}
.badge-spin {
  position: absolute; top: -34px; right: -30px;
  width: 118px; height: 118px;
  animation: spin 14s linear infinite;
}
.badge-spin svg { width: 100%; height: 100%; overflow: visible; }
.badge-spin text { font-family: var(--font-body); font-weight: 700; font-size: 12.5px; letter-spacing: 2.6px; fill: var(--ink); }
.badge-spin::before {
  content: ""; position: absolute; inset: 12px;
  background: var(--yellow); border: var(--bw) solid var(--ink); border-radius: 50%;
  z-index: -1; box-shadow: var(--shadow-sm);
}
.badge-spin-emoji {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 1.7rem; animation: spin 14s linear infinite reverse;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sticker-hand {
  font-family: var(--font-hand); font-weight: 700; font-size: 1.5rem;
  color: var(--ink); white-space: nowrap;
}
.sticker { position: absolute; }
.sticker-hi { bottom: -14px; left: -26px; transform: rotate(-8deg); }
.chip {
  position: absolute;
  font-weight: 700; font-size: .92rem;
  background: var(--card); border: var(--bw) solid var(--ink);
  border-radius: 999px; padding: 7px 16px;
  box-shadow: var(--shadow-sm);
}
.chip-loc { bottom: 34px; right: -24px; transform: rotate(3deg); }

.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; opacity: .65;
}
.hero-scroll svg { width: 18px; height: 18px; animation: bob 1.6s ease infinite; }
@keyframes bob { 50% { transform: translateY(5px); } }

/* hero doodles */
.hero-doodles { position: absolute; inset: 0; pointer-events: none; }
.dood { position: absolute; }
.dood-star1 { width: 54px; top: 16%; left: 4%; fill: var(--pink); animation: spin 22s linear infinite; }
.dood-star2 { width: 30px; top: 68%; left: 45%; fill: var(--accent); animation: spin 16s linear infinite reverse; }
.dood-squig { width: 150px; top: 12%; right: 6%; stroke: var(--orange); }
.dood-ring { width: 64px; top: 55%; left: 3%; stroke: var(--sky); }

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee-clip {
  overflow: hidden;
  margin: 8px 0 -10px;
  position: relative; z-index: 5;
}
.marquee {
  background: var(--ink); color: var(--paper);
  border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink);
  overflow: hidden; white-space: nowrap;
  padding: 14px 0;
  width: 106%; margin-left: -3%;
  transform: rotate(-1.2deg);
}
.marquee-track { display: inline-flex; animation: marquee 26s linear infinite; }
.marquee-track > span {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.25rem; text-transform: uppercase; letter-spacing: 1.5px;
  padding: 0 18px; display: inline-flex; align-items: center; gap: 36px;
}
.marquee-track .m-star { color: var(--lime); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.sec { padding: 100px 0; position: relative; }
.sec-tint { background: var(--tint); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.sec-head { margin-bottom: 52px; }
.sec-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: 2px;
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: 999px;
  padding: 6px 18px; box-shadow: var(--shadow-sm); margin-bottom: 20px;
  transform: rotate(-1.5deg);
}
.sec-tag i { font-style: normal; color: #fff; background: var(--accent); border-radius: 999px; padding: 1px 9px; font-size: .8rem; }
.sec-title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.08; letter-spacing: -.015em;
  max-width: 760px;
}
.squiggle-under {
  position: relative; display: inline-block; color: var(--accent);
}
.squiggle-under::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 Q12 2 22 8 T42 8 T62 8 T82 8 T102 8 T118 8' fill='none' stroke='%23ff5ca8' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.about-photo-wrap { position: relative; transform: rotate(-2deg); margin-top: 8px; }
.about-photo {
  aspect-ratio: 3 / 4; border-radius: var(--r);
  border: var(--bw) solid var(--ink); box-shadow: var(--shadow);
  background: var(--accent-soft) url("../img/about.jpg") center / cover no-repeat;
}
.tape {
  position: absolute; width: 110px; height: 32px;
  background: var(--yellow); border: 2px solid var(--ink); opacity: .92;
}
.tape-1 { top: -14px; left: -28px; transform: rotate(-38deg); }
.tape-2 { top: -14px; right: -28px; transform: rotate(38deg); }
.sticker-about { bottom: -38px; right: 12px; transform: rotate(-5deg); }

.about-role {
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
  margin-bottom: 16px;
  display: inline-block;
  background: linear-gradient(transparent 62%, var(--lime) 62%);
}
.about-copy p { margin-bottom: 16px; max-width: 60ch; }

.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 28px; }
.fact {
  position: relative;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r-sm);
  padding: 10px 16px; box-shadow: 3px 3px 0 var(--ink);
}
.fact dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; opacity: .55; }
.fact dd { font-weight: 700; }

.counters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 70px; }
.counter {
  position: relative;
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  padding: 26px 20px 20px; text-align: center;
  box-shadow: var(--shadow);
  transition: transform .15s;
}
.counter:hover { transform: translateY(-4px) rotate(-1deg); }
.counter .count, .counter em {
  font-family: var(--font-display); font-weight: 800; font-size: 2.7rem; line-height: 1;
  font-style: normal;
}
.counter em { font-size: 1.9rem; }
.counter p { font-weight: 700; margin-top: 6px; font-size: .95rem; }
.c-violet { background: var(--accent-soft); transform: rotate(-1.2deg); }
.c-pink { background: #ffe0ee; transform: rotate(1deg); }
.c-lime { background: #eefad0; transform: rotate(-0.8deg); }
.c-yellow { background: #fff3cd; transform: rotate(1.4deg); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 44px; }
.skill {
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r);
  padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.skill-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; gap: 12px; }
.skill-top h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; }
.skill-pct {
  font-weight: 700; font-size: .9rem;
  background: var(--ink); color: var(--paper);
  border-radius: 999px; padding: 3px 12px;
}
.skill-bar {
  height: 16px; border-radius: 999px;
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(-45deg, var(--paper) 0 8px, var(--tint) 8px 16px);
  overflow: hidden;
}
.skill-fill {
  display: block; height: 100%; width: 0;
  border-right: 2px solid var(--ink);
  border-radius: 0 999px 999px 0;
  transition: width 1.2s cubic-bezier(.22,.9,.35,1);
}
.f-violet { background: var(--accent); }
.f-pink { background: var(--pink); }
.f-lime { background: var(--lime); }
.f-sky { background: var(--sky); }
.f-orange { background: var(--orange); }
.f-yellow { background: var(--yellow); }

/* ============================================================
   RESUME
   ============================================================ */
.resume-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.resume-col-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.45rem;
  margin-bottom: 26px;
  display: inline-block; background: var(--card);
  border: var(--bw) solid var(--ink); border-radius: 999px;
  padding: 8px 22px; box-shadow: var(--shadow-sm);
  transform: rotate(-1deg);
}
.rcard {
  position: relative;
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r);
  padding: 24px 26px 20px; margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.rcard:hover { transform: translate(-2px,-2px); box-shadow: var(--shadow); }
.rcard::before {
  content: ""; position: absolute; left: -2.5px; top: 22px; bottom: 22px; width: 8px;
  background: var(--accent); border-radius: 0 6px 6px 0;
}
.rcard:nth-child(2)::before { background: var(--pink); }
.rcard:nth-child(3)::before { background: var(--orange); }
.rcard-date {
  display: inline-block; font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  background: var(--accent-soft); border: 2px solid var(--ink); border-radius: 999px;
  padding: 3px 13px; margin-bottom: 12px;
}
.rcard h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; margin-bottom: 3px; }
.rcard-org { font-weight: 700; font-size: .95rem; opacity: .6; margin-bottom: 12px; }
.rcard ul { list-style: none; }
.rcard li { position: relative; padding-left: 22px; margin-bottom: 7px; font-size: .98rem; }
.rcard li::before { content: "✦"; position: absolute; left: 0; color: var(--accent); font-size: .85rem; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filter { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.filter button {
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  background: var(--card); color: var(--ink);
  border: var(--bw) solid var(--ink); border-radius: 999px;
  padding: 9px 22px; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .15s, background .15s, box-shadow .15s, color .15s;
}
.filter button:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.filter button.active { background: var(--ink); color: var(--paper); }

.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { position: relative; cursor: pointer; }
.work.hide { display: none; }
.work-img {
  aspect-ratio: 4 / 3; border-radius: var(--r);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-sm);
  background-color: var(--accent-soft);
  background-size: cover; background-position: center;
  transition: transform .18s, box-shadow .18s;
}
.work:hover .work-img { transform: translate(-3px,-3px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.work-cap { padding: 14px 6px 0; }
.work-cat {
  display: inline-block; font-weight: 700; font-size: .78rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  background: var(--lime); border: 2px solid var(--ink); border-radius: 999px;
  padding: 2px 12px; margin-bottom: 8px;
}
.work-title { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; line-height: 1.4; }

/* ============================================================
   SERVICES
   ============================================================ */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service {
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r);
  padding: 30px 26px; box-shadow: var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
  position: relative;
}
.service:hover { transform: translate(-3px,-3px) rotate(-.6deg); box-shadow: var(--shadow); }
.service-ico {
  display: grid; place-items: center;
  width: 62px; height: 62px; font-size: 1.8rem;
  border: var(--bw) solid var(--ink); border-radius: 18px;
  margin-bottom: 18px; box-shadow: 3px 3px 0 var(--ink);
}
.s-violet .service-ico { background: var(--accent-soft); }
.s-pink .service-ico { background: #ffe0ee; }
.s-lime .service-ico { background: #eefad0; }
.s-sky .service-ico { background: #dff4fc; }
.s-orange .service-ico { background: #ffe8d6; }
.s-yellow .service-ico { background: #fff3cd; }
.service h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: 8px; }
.service p { font-size: .98rem; }

/* ============================================================
   TESTIMONIALS — dark band
   ============================================================ */
.sec-dark { background: var(--ink); color: var(--paper); border-top: var(--bw) solid var(--ink); border-bottom: var(--bw) solid var(--ink); }
.sec-dark .sec-title { color: var(--paper); }
.sec-dark .squiggle-under { color: var(--lime); }
.sec-tag-dark { background: var(--paper); color: var(--ink); }
.quotes-shell { position: relative; }
.quotes {
  display: flex; gap: 24px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 10px 4px 26px;
  scrollbar-width: none;
}
.quotes::-webkit-scrollbar { display: none; }
.quote {
  flex: 0 0 min(400px, 82vw); scroll-snap-align: start;
  border: var(--bw) solid var(--ink); border-radius: var(--r);
  padding: 28px; color: var(--ink);
  box-shadow: 6px 6px 0 rgba(255,255,255,.25);
}
.q-violet { background: var(--accent-soft); transform: rotate(-.8deg); }
.q-pink { background: #ffe0ee; transform: rotate(.8deg); }
.q-lime { background: #eefad0; transform: rotate(-.5deg); }
.q-yellow { background: #fff3cd; transform: rotate(.6deg); }
.quote-text { font-size: 1.06rem; font-weight: 500; margin-bottom: 20px; }
.quote footer { display: flex; align-items: center; gap: 14px; }
.quote-ini {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: .95rem; letter-spacing: 1px;
  border: 2px solid var(--ink);
}
.quote footer strong { display: block; font-size: 1rem; }
.quote footer em { font-style: normal; font-size: .88rem; opacity: .65; font-weight: 500; }
.quotes-nav { display: flex; gap: 12px; justify-content: flex-end; }
.quotes-nav button {
  width: 48px; height: 48px; border-radius: 50%;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  background: var(--paper); color: var(--ink);
  border: var(--bw) solid var(--ink);
  box-shadow: 3px 3px 0 rgba(255,255,255,.25);
  transition: transform .15s, background .15s;
}
.quotes-nav button:hover { transform: translate(-2px,-2px); background: var(--lime); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-blurb { font-size: 1.12rem; margin-bottom: 30px; max-width: 42ch; }
.contact-list { list-style: none; display: grid; gap: 18px; }
.contact-list li { display: flex; align-items: center; gap: 16px; }
.ci {
  display: grid; place-items: center; flex: 0 0 auto;
  width: 54px; height: 54px; font-size: 1.4rem;
  border: var(--bw) solid var(--ink); border-radius: 16px;
  box-shadow: 3px 3px 0 var(--ink);
}
.ci-violet { background: var(--accent-soft); }
.ci-pink { background: #ffe0ee; }
.ci-lime { background: #eefad0; }
.contact-list strong { display: block; font-size: .82rem; text-transform: uppercase; letter-spacing: 1.5px; opacity: .55; }
.contact-list a { font-weight: 700; text-decoration: none; }
.contact-list a:hover { color: var(--accent); }
.contact-info { position: relative; }
.sticker-contact { position: static; display: inline-block; margin-top: 34px; transform: rotate(-4deg); font-size: 1.7rem; }

.contact-form {
  background: var(--card); border: var(--bw) solid var(--ink); border-radius: var(--r);
  padding: 34px; box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 7px; font-weight: 700; font-size: .92rem; }
.contact-form input, .contact-form textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 12px 16px; border-radius: var(--r-sm);
  border: 2px solid var(--ink); background: var(--paper);
  outline: none; transition: box-shadow .15s, background .15s;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus { box-shadow: 3px 3px 0 var(--accent); background: #fff; }
.btn-send { justify-content: center; font-size: 1.1rem; }
.form-note {
  font-weight: 700; background: var(--lime);
  border: 2px solid var(--ink); border-radius: var(--r-sm); padding: 10px 16px;
}
.form-note.err { background: #ffd6d6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); padding: 30px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.footer-name span[aria-hidden] { color: var(--lime); }
.footer-note { font-size: .9rem; opacity: .7; }
.footer-top {
  font-weight: 700; text-decoration: none;
  background: var(--paper); color: var(--ink);
  border-radius: 999px; padding: 8px 18px; border: 2px solid var(--paper);
  transition: background .15s, color .15s;
}
.footer-top:hover { background: var(--lime); border-color: var(--lime); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lb {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(27, 21, 35, .92);
  display: flex; align-items: center; justify-content: center;
}
.lb[hidden] { display: none; }
.lb img {
  max-width: min(1000px, 88vw); max-height: 78vh;
  border: var(--bw) solid var(--paper); border-radius: var(--r);
  box-shadow: 8px 8px 0 var(--accent);
}
.lb-cap {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  color: var(--ink); font-weight: 700; text-align: center;
  background: var(--paper); border-radius: 999px; padding: 8px 22px;
  max-width: 84vw; border: var(--bw) solid var(--ink);
}
.lb button {
  position: absolute; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 1.25rem; font-weight: 700; cursor: pointer;
  background: var(--paper); color: var(--ink); border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform .15s, background .15s;
}
.lb button:hover { transform: translate(-2px,-2px); background: var(--yellow); }
.lb-close { top: 26px; right: 26px; }
.lb-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .works { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 32px; }
}

@media (max-width: 880px) {
  body { font-size: 16px; }
  .sec { padding: 76px 0; }

  /* nav → logo pill + burger, dropdown card */
  .nav-wrap { top: 12px; }
  .nav { width: 100%; justify-content: space-between; padding: 7px 7px 7px 16px; }
  .nav-menu {
    position: fixed; top: 78px; left: 16px; right: 16px;
    flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--card); border: var(--bw) solid var(--ink);
    border-radius: var(--r); padding: 14px;
    box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-14px) scale(.98); pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  body.nav-open .nav-menu { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { display: block; text-align: center; padding: 12px; font-size: 1.05rem; border: 2px solid transparent; }
  .nav-menu a.nav-cta { margin-top: 6px; }
  .nav-burger { display: flex; }
  .nav-veil { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(27,21,35,.35); opacity: 0; pointer-events: none; transition: opacity .2s; }
  body.nav-open .nav-veil { opacity: 1; pointer-events: auto; }

  .hero { padding: 120px 0 80px; min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo-col { order: -1; }
  .hero-photo-wrap { width: min(300px, 82%); }
  .hero-photo { box-shadow: 6px 6px 0 var(--ink); }
  .badge-spin { width: 96px; height: 96px; top: -26px; right: -18px; }
  .sticker-hi { left: -10px; }
  .chip-loc { right: -10px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-sub { max-width: 56ch; }
  .hero-scroll { display: none; }
  .dood-squig, .dood-ring, .dood-star2 { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-photo-wrap { width: min(320px, 84%); margin: 0 auto; }
  .sticker-about { bottom: -34px; }
  .counters { margin-top: 50px; gap: 16px; }

  .skills-grid { grid-template-columns: 1fr; gap: 18px; }
  .resume-grid { grid-template-columns: 1fr; gap: 44px; }

  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .contact-form { padding: 26px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .lb-prev { left: 12px; } .lb-next { right: 12px; }
  .lb button { width: 44px; height: 44px; }
}

@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  .works { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr; }
  .counters { grid-template-columns: repeat(2, 1fr); }
  .counter .count { font-size: 2.1rem; }
  .quote { flex-basis: 86vw; }
  .marquee-track > span { font-size: 1.05rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-inner { justify-content: center; text-align: center; }
}
