/* ===================================================
   TOKENS
=================================================== */
:root {
  --bg: #FFFBF2;
  --bg-alt: #FFF3E0;
  --ink: #211F1A;
  --ink-soft: #5B584F;
  --coral: #FF5C7A;
  --coral-dark: #E8415F;
  --yellow: #FFD23F;
  --blue: #5B5FEF;
  --green: #3DDC84;
  --pink: #FF8FB1;
  --purple: #9B6BFF;
  --paper-line: rgba(33, 31, 26, 0.1);

  --font-display: 'Baloo 2', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 32px;
}
.section--alt { background: var(--bg-alt); max-width: none; }
.section--alt > * { max-width: var(--container); margin-left: auto; margin-right: auto; }

.section__head { max-width: 620px; margin-bottom: 48px; }
.section__lede { color: var(--ink-soft); font-size: 1.05rem; margin-top: 12px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--bg);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.section h2 { font-size: clamp(2rem, 3.5vw, 2.75rem); }

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 100px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn--primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 4px 0 var(--coral-dark);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--coral-dark); }
.btn--primary:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--coral-dark); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

.btn--small { padding: 9px 18px; font-size: 0.9rem; }
.btn--large { padding: 18px 36px; font-size: 1.1rem; }
.btn--full { width: 100%; justify-content: center; }

/* ===================================================
   NAV
=================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 251, 242, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--paper-line);
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
}
.nav__logo-dot { color: var(--coral); }
.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: auto;
  margin-right: 24px;
}
.nav__links a { position: relative; padding-bottom: 4px; }
.nav__links a:hover { color: var(--coral); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.nav__burger span {
  height: 3px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ===================================================
   HERO
=================================================== */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 32px 60px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sticker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  padding: 6px 14px;
  border-radius: 100px;
  transform: rotate(-3deg);
  margin-bottom: 20px;
}

.hero__headline {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero__highlight {
  color: var(--coral);
  position: relative;
  display: inline-block;
}

.hero__sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 480px;
  margin-bottom: 32px;
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Moodboard / signature element */
.hero__board {
  position: relative;
  height: 460px;
}
.board-card {
  position: absolute;
  width: 190px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 10px;
  box-shadow: 6px 6px 0 var(--ink);
  animation: sway 6s ease-in-out infinite;
}
.board-card__img {
  height: 130px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(0,0,0,0.35);
  text-align: center;
  padding: 8px;
}
.board-card__img--coral { background: linear-gradient(135deg, var(--coral), var(--pink)); color: rgba(255,255,255,0.75); }
.board-card__img--blue { background: linear-gradient(135deg, var(--blue), #8B8FFF); color: rgba(255,255,255,0.75); }
.board-card__img--yellow { background: linear-gradient(135deg, var(--yellow), #FFE58A); }
.board-card__img--green { background: linear-gradient(135deg, var(--green), #A6F2C6); }
.board-card__img--pink { background: linear-gradient(135deg, var(--pink), #FFC2D6); }
.board-card__img--purple { background: linear-gradient(135deg, var(--purple), #C3ADFF); color: rgba(255,255,255,0.75); }

.board-card__tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-top: 8px;
  color: var(--ink-soft);
}

.board-card--1 { top: 0; left: 20%; transform: rotate(-8deg); animation-delay: 0s; }
.board-card--2 { top: 40px; left: 55%; transform: rotate(6deg); animation-delay: 1.2s; }
.board-card--3 { top: 230px; left: 10%; transform: rotate(4deg); animation-delay: 2.1s; }
.board-card--4 { top: 250px; left: 52%; transform: rotate(-5deg); animation-delay: 0.6s; }

@keyframes sway {
  0%, 100% { rotate: 0deg; }
  50% { rotate: 1.5deg; }
}

.pin {
  position: absolute;
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.pin--1 { top: -6px; left: calc(20% + 85px); background: var(--coral); }
.pin--2 { top: 34px; left: calc(55% + 85px); background: var(--blue); }
.pin--3 { top: 224px; left: calc(10% + 85px); background: var(--yellow); }
.pin--4 { top: 244px; left: calc(52% + 85px); background: var(--green); }

/* ===================================================
   MARQUEE
=================================================== */
.marquee {
  background: var(--ink);
  color: var(--bg);
  overflow: hidden;
  padding: 16px 0;
  white-space: nowrap;
}
.marquee__track {
  display: inline-flex;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  animation: marquee 28s linear infinite;
}
.marquee__track span:nth-child(odd) { color: var(--yellow); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===================================================
   FILTERS + WORK GRID
=================================================== */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.filter {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 100px;
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}
.filter:hover { background: var(--ink); color: var(--bg); }
.filter.is-active { background: var(--coral); color: #fff; border-color: var(--coral); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.work-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 12px;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(var(--r, -1.5deg));
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  opacity: 0;
  translate: 0 20px;
}
.work-card:nth-child(2n) { --r: 1.5deg; }
.work-card:nth-child(3n) { --r: -1deg; }
.work-card.is-visible { opacity: 1; translate: 0 0; transition: opacity 0.5s ease, translate 0.5s ease; }
.work-card:hover {
  transform: rotate(0deg) translateY(-6px);
  box-shadow: 8px 10px 0 var(--ink);
}
.work-card.is-hidden { display: none; }

.work-card__img {
  height: 200px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-align: center;
}
.work-card__img--coral { background: linear-gradient(135deg, var(--coral), var(--pink)); color: rgba(255,255,255,0.8); }
.work-card__img--blue { background: linear-gradient(135deg, var(--blue), #8B8FFF); color: rgba(255,255,255,0.8); }
.work-card__img--yellow { background: linear-gradient(135deg, var(--yellow), #FFE58A); color: rgba(0,0,0,0.4); }
.work-card__img--green { background: linear-gradient(135deg, var(--green), #A6F2C6); color: rgba(0,0,0,0.4); }
.work-card__img--pink { background: linear-gradient(135deg, var(--pink), #FFC2D6); color: rgba(0,0,0,0.4); }
.work-card__img--purple { background: linear-gradient(135deg, var(--purple), #C3ADFF); color: rgba(255,255,255,0.8); }

.work-card__info { padding: 14px 6px 6px; }
.work-card__info h3 { font-size: 1.05rem; margin-bottom: 8px; }

.tag-pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid var(--paper-line);
}

/* ===================================================
   SERVICES
=================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: transform 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); }
.service-card__icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 16px; }
.badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--coral-dark);
  border: 1.5px solid var(--coral);
  padding: 4px 10px;
  border-radius: 100px;
}

/* ===================================================
   PROCESS
=================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.process-step__num {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--coral);
  display: block;
  margin-bottom: 10px;
}
.process-step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.process-step p { color: var(--ink-soft); }

/* ===================================================
   VALUE STRIP
=================================================== */
.value-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 64px;
}
.value-item__stat {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--coral);
}
.value-item__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ===================================================
   CTA BANNER
=================================================== */
.cta-banner {
  background: var(--ink);
  color: var(--bg);
  text-align: center;
  padding: 90px 32px;
}
.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  max-width: 700px;
  margin: 0 auto 16px;
}
.cta-banner p {
  color: rgba(255,251,242,0.7);
  max-width: 480px;
  margin: 0 auto 32px;
}

/* ===================================================
   CONTACT
=================================================== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
}

.contact-alt {
  background: var(--bg-alt);
  border: 2px solid var(--ink);
  border-radius: var(--radius-md);
  padding: 28px;
  align-self: start;
}
.contact-alt__label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.contact-alt__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid var(--paper-line);
  font-weight: 600;
}
.contact-alt__link:first-of-type { border-top: none; }
.contact-alt__link:hover { color: var(--coral); }

/* ===================================================
   FOOTER
=================================================== */
.footer {
  background: var(--ink);
  color: rgba(255,251,242,0.8);
  padding: 56px 32px 24px;
}
.footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer .nav__logo { color: var(--bg); }
.footer__brand p { margin-top: 10px; font-size: 0.9rem; max-width: 260px; }
.footer__links, .footer__social {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}
.footer__links a:hover, .footer__social a:hover { color: var(--yellow); }
.footer__copy {
  max-width: var(--container);
  margin: 24px auto 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,251,242,0.5);
}

/* ===================================================
   FLOATING CTA
=================================================== */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: var(--coral);
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 4px 4px 0 var(--ink);
  z-index: 90;
  transition: transform 0.2s ease;
}
.float-cta:hover { transform: scale(1.08) rotate(-4deg); }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero__board { height: 380px; margin-top: 20px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 40px; }
  .value-strip { grid-template-columns: 1fr; gap: 40px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }

  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 24px 32px;
    border-bottom: 2px solid var(--paper-line);
    gap: 18px;
    margin: 0;
  }

  .hero { padding-top: 48px; }
  .work-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
}