@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/bricolage-grotesque-400-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/static/bricolage-grotesque-400-800-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/ibm-plex-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/static/ibm-plex-mono-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/ibm-plex-mono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/static/ibm-plex-mono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/ibm-plex-mono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/static/ibm-plex-mono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/instrument-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/static/instrument-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #fdf3e3;
  --ink: #241705;
  --body-text: #5c4a38;
  --muted: #6f5d48;
  --pink: #ff5c8a;
  --teal: #3ec6a0;
  --blue: #2b4d9b;
  --yellow: #ffc93d;
  --copper: #b3543a;
  --display: 'Bricolage Grotesque', sans-serif;
  --body: 'Instrument Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', monospace;
}

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

::selection { background: var(--pink); color: var(--paper); }

@keyframes wiggle {
  0%, 100% { transform: rotate(-2deg); }
  25% { transform: rotate(3deg) scale(1.05); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(2deg) scale(1.05); }
}

@keyframes rise {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}

@keyframes party {
  0%, 100% { color: var(--teal); }
  33% { color: var(--pink); }
  66% { color: var(--yellow); }
}

html {
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  overflow-x: clip;
}

@keyframes pawstep {
  0% { opacity: 0; transform: scale(0.6) rotate(var(--pr, 0deg)); }
  8% { opacity: 0.85; transform: scale(1) rotate(var(--pr, 0deg)); }
  45% { opacity: 0.85; }
  70%, 100% { opacity: 0; transform: scale(1) rotate(var(--pr, 0deg)); }
}

.paw-field {
  --paw-gutter: clamp(10px, calc((100vw - 1160px) / 2 - 20px), 64px);
  position: absolute;
  top: -80px;
  bottom: -10px;
  left: calc(-1 * var(--paw-gutter));
  right: calc(-1 * var(--paw-gutter));
  pointer-events: none;
}
.paw-field svg {
  position: absolute;
  opacity: 0;
  animation: pawstep 6s ease-in-out infinite;
}

a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Topbar */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px clamp(20px, 4.5vw, 52px);
  border-bottom: 3px solid var(--ink);
}

.brand { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  border: 2.5px solid var(--ink);
  transition: transform 0.2s ease;
}
.avatar:hover { transform: rotate(8deg) scale(1.1); }
.avatar img, .hero-sticker img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
}

.wordmark {
  font-family: var(--display);
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
  transition: letter-spacing 0.25s ease;
}
.brand:hover .wordmark { letter-spacing: 0.02em; }

.est-badge {
  font-family: var(--mono);
  font-size: 12px;
  background: var(--teal);
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 3px 10px;
  transform: rotate(-2deg);
  display: inline-block;
  transition: transform 0.2s ease;
}
.est-badge:hover { transform: rotate(3deg) scale(1.12); }

.lang-switch {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 3px 10px;
  display: inline-block;
  transition: transform 0.15s ease, background 0.15s ease;
}
.lang-switch:hover {
  background: var(--pink);
  color: var(--paper);
  transform: rotate(2deg) scale(1.1);
}

/* Hero */

.hero {
  padding: clamp(48px, 7vw, 74px) clamp(20px, 4.5vw, 52px) clamp(40px, 6vw, 60px);
  text-align: center;
  position: relative;
}
.hero h1 { animation: rise 0.5s ease backwards; }
.hero-sub { animation: rise 0.5s 0.12s ease backwards; }

.hero-sticker {
  position: absolute;
  z-index: -1;
  top: 44px;
  left: clamp(16px, 6vw, 70px);
  width: clamp(76px, 10vw, 120px);
  height: clamp(76px, 10vw, 120px);
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  border: 3.5px solid var(--ink);
  transform: rotate(-10deg);
  box-shadow: 6px 6px 0 var(--pink);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise 0.5s 0.2s ease backwards, bob 4s 1.6s ease-in-out infinite;
}
.hero-sticker:hover {
  transform: rotate(-4deg) scale(1.07);
  box-shadow: 9px 9px 0 var(--teal);
}

.hero h1 {
  -webkit-text-stroke: 7px var(--paper);
  paint-order: stroke fill;
  margin: 0 auto 20px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 14ch;
  text-wrap: balance;
}

.hl {
  -webkit-text-stroke: 0;
  background: var(--pink);
  color: var(--paper);
  padding: 0 14px;
  border-radius: 14px;
  display: inline-block;
  transform: rotate(-2deg);
  cursor: default;
}
.hl:hover { animation: wiggle 0.5s ease infinite; }

.hero-sub {
  -webkit-text-stroke: 4px var(--paper);
  paint-order: stroke fill;
  margin: 0 auto;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  font-weight: 500;
  max-width: 46ch;
  color: var(--body-text);
}

/* Cards */

.grid {
  position: relative;
  padding: 0 clamp(20px, 4.5vw, 52px) 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 26px;
  max-width: 1160px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border: 3px solid var(--ink);
  border-radius: 18px;
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

@keyframes bonebob {
  0%, 100% { transform: rotate(-14deg) translateY(0); }
  50% { transform: rotate(10deg) translateY(-4px); }
}

.bone {
  position: absolute;
  right: 22px;
  bottom: 20px;
  filter: drop-shadow(3px 3px 0 var(--pop));
  animation: bonebob 3.2s ease-in-out infinite;
}
.grid > :nth-child(3) .bone { animation-delay: 0.45s; }
.grid > :nth-child(4) .bone { animation-delay: 0.9s; }
.grid > :nth-child(5) .bone { animation-delay: 1.35s; }
.grid > :nth-child(6) .bone { animation-delay: 1.8s; }
.grid > :nth-child(7) .bone { animation-delay: 2.25s; }
.grid > :nth-child(8) .bone { animation-delay: 2.7s; }
.grid > :nth-child(9) .bone { animation-delay: 3.15s; }
.grid > :nth-child(10) .bone { animation-delay: 3.6s; }
.grid > :nth-child(11) .bone { animation-delay: 4.05s; }

.promo {
  grid-column: 1 / -1;
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 18px;
  box-shadow: 7px 7px 0 var(--ink);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  flex-wrap: wrap;
  transform: rotate(-0.3deg);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.promo:hover {
  transform: rotate(0deg) translate(-3px, -3px);
  box-shadow: 10px 10px 0 var(--ink);
}

.promo h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.promo-cta {
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(14px, 2vw, 16px);
  color: var(--ink);
  background: var(--paper);
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 99px;
  padding: 12px 22px;
  box-shadow: 4px 4px 0 var(--ink);
  white-space: nowrap;
  display: inline-block;
  transition: transform 0.15s ease, background 0.15s ease;
}
.promo-cta:hover {
  background: var(--pink);
  color: var(--paper);
  transform: scale(1.06) rotate(-1deg);
}
.promo-cta:active {
  transform: scale(0.97);
  box-shadow: 2px 2px 0 var(--ink);
}
.promo-cta:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.card:nth-child(6n+1) { transform: rotate(-0.7deg); }
.card:nth-child(6n+2) { transform: rotate(0.6deg); }
.card:nth-child(6n+3) { transform: rotate(-0.4deg); }
.card:nth-child(6n+4) { transform: rotate(0.8deg); }
.card:nth-child(6n+5) { transform: rotate(-0.6deg); }
.card:nth-child(6n+6) { transform: rotate(0.5deg); }

.status-live    { --pop: var(--blue);  --pop-text: var(--paper); }
.status-private { --pop: var(--pink);  --pop-text: var(--ink); }
.status-client  { --pop: var(--teal);  --pop-text: var(--ink); }

.card { box-shadow: 7px 7px 0 var(--pop); }

.card { transition: transform 0.18s ease, box-shadow 0.18s ease; }
.card:hover {
  transform: rotate(0deg) translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--pop);
}
.card:hover .card-title { color: var(--pop); }
.card:active {
  transform: rotate(0deg) translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--pop);
}

.grid > * { animation: rise 0.45s ease backwards; }
.grid > :nth-child(1) { animation-delay: 0.05s; }
.grid > :nth-child(2) { animation-delay: 0.1s; }
.grid > :nth-child(3) { animation-delay: 0.15s; }
.grid > :nth-child(4) { animation-delay: 0.2s; }
.grid > :nth-child(5) { animation-delay: 0.25s; }
.grid > :nth-child(6) { animation-delay: 0.3s; }
.grid > :nth-child(7) { animation-delay: 0.35s; }
.grid > :nth-child(8) { animation-delay: 0.4s; }
.grid > :nth-child(9) { animation-delay: 0.45s; }
.grid > :nth-child(10) { animation-delay: 0.5s; }
.grid > :nth-child(11) { animation-delay: 0.55s; }
.grid > .paw-field { animation: none; }

a.card-link { color: var(--ink); text-decoration: none; }
a.card-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.year {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted);
}

.badge {
  font-family: var(--display);
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pop-text);
  background: var(--pop);
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 4px 12px;
  display: inline-block;
  transition: transform 0.15s ease;
}
.badge:hover { transform: rotate(-3deg) scale(1.1); }

.card-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color 0.18s ease;
}
.ext { color: var(--pop); }

.card p {
  font-size: 14.5px;
  line-height: 1.55;
  font-weight: 500;
  color: var(--body-text);
}

.tags { display: flex; gap: 8px; flex-wrap: wrap; padding-top: 2px; }
.tags span {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 2px 9px;
  background: var(--paper);
  display: inline-block;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.tags span:hover {
  background: var(--ink);
  color: var(--paper);
  transform: rotate(-2deg) scale(1.08);
}

.client-note {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4.5vw, 52px);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}

/* Footer */

footer {
  margin: 40px auto 56px;
  max-width: 1160px;
  width: calc(100% - 2 * clamp(20px, 4.5vw, 52px));
  background: var(--ink);
  color: var(--paper);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 40px) clamp(24px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
}

.cta {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 32px);
  letter-spacing: -0.02em;
}
.cool {
  color: var(--teal);
  display: inline-block;
  cursor: default;
  transition: transform 0.2s ease;
}
.cool:hover {
  animation: party 0.9s linear infinite;
  transform: rotate(-2deg) scale(1.08);
}

.links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 600;
}
.links a {
  color: var(--ink);
  background: var(--yellow);
  text-decoration: none;
  border: 3px solid var(--ink);
  border-radius: 99px;
  padding: 12px 22px;
  box-shadow: 4px 4px 0 var(--teal);
  display: inline-block;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.links a::before {
  content: '🐾';
  display: inline-block;
  margin-right: 8px;
  transition: transform 0.2s ease;
}
.links a:hover {
  background: var(--pink);
  color: var(--paper);
  transform: rotate(-2deg) scale(1.05);
  box-shadow: 6px 6px 0 var(--teal);
}
.links a:hover::before { transform: rotate(-20deg) scale(1.25); }
.links a:active { transform: scale(0.96); box-shadow: 2px 2px 0 var(--teal); }
.links a:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.addr {
  width: 100%;
  font-family: var(--mono);
  font-size: 12px;
  color: #a89a86;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
