:root {
  --cream: #FEF6E4;
  --paper: #FFFDF5;
  --lime: #CBFB2A;
  --lime-pale: #E6F9B0;
  --grass: #BEF73E;
  --ink: #111;
  --stamp-red: #E5383B;
  --line: 6px;
  --radius: 26px;
  --shadow: 8px 8px 0 var(--ink);
  --dots-lime: radial-gradient(circle, rgba(150, 200, 35, 0.7) 2.1px, transparent 2.7px) 0 0 / 12px 12px;
  --dots-ink: radial-gradient(circle, rgba(0, 0, 0, 0.2) 1.9px, transparent 2.5px) 0 0 / 10px 10px;
  --hero-h: clamp(660px, 60vw, 900px);
  --font-display: "Bangers", "Impact", sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
}

/* Sized pictures: the image fills its box (the width/height attributes only set the ratio). */
picture > img {
  width: 100%;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Nav ---------- */

.site-header {
  padding: 18px 24px 0;
  position: relative;
  z-index: 10;
}

.nav {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 12px 40px;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: 28px;
  box-shadow: 0 6px 0 var(--ink);
}

.nav-logo {
  width: 220px;
  flex: none;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  font-weight: 900;
  font-size: 1.35rem;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-toggle {
  display: none;
}

.nav-links a:hover {
  text-decoration: underline;
  text-decoration-thickness: 5px;
  text-decoration-color: var(--lime);
  text-underline-offset: 6px;
}

/* ---------- Shared decoration ---------- */

/* Lime dots down both sides of the header and hero, behind the clouds. */
.top-dots {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 0;
  height: calc(var(--hero-h) + 120px);
  pointer-events: none;
  background: var(--dots-lime);
  -webkit-mask-image: linear-gradient(to right, #000, transparent 26%, transparent 74%, #000);
  mask-image: linear-gradient(to right, #000, transparent 26%, transparent 74%, #000);
}

.ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  pointer-events: none;
  background-image: url("../assets/img/ground-960.webp");
  background-image: image-set(url("../assets/img/ground-1920.avif") type("image/avif"), url("../assets/img/ground-1920.webp") type("image/webp"));
  background-repeat: repeat-x;
  background-size: auto 100%;
  background-position: left bottom;
}

.cloud,
.prop,
.scenery {
  position: absolute;
  pointer-events: none;
}

.cloud {
  animation: drift 14s ease-in-out infinite alternate;
}

@keyframes drift {
  from { transform: translateX(-10px); }
  to { transform: translateX(10px); }
}

.action-marks {
  position: absolute;
  width: 56px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4.5;
  stroke-linecap: round;
  pointer-events: none;
}

/* Bushes masked inside a card's rounded corners. */
.card-deco {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - var(--line));
  pointer-events: none;
}

.deco-bush {
  position: absolute;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  height: var(--hero-h);
  margin-top: -12px;
  overflow: hidden;
}

.hero .cloud { z-index: 1; }
.hero .cloud-1 { left: 4%; top: 70px; width: 230px; }
.hero .cloud-2 { right: 5%; top: 90px; width: 210px; animation-delay: -4s; }
.hero .cloud-3 { right: 22%; top: 40px; width: 150px; animation-delay: -8s; }

/* Bases sink into the ground strip's solid grass band, so no hard edge shows. */
.scenery {
  z-index: 3;
  bottom: 10px;
}

/* The outer edge of each piece runs off-screen, so it reads as the world
   around the logo rather than a sticker placed on the page. */
.scenery-left {
  left: -7vw;
  width: clamp(300px, 37vw, 620px);
}

.scenery-right {
  right: -7vw;
  width: clamp(290px, 35vw, 590px);
}

.hero-center {
  position: relative;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 34px;
}

.hero-logo {
  position: relative;
  width: clamp(320px, 38vw, 580px);
  max-width: 74vw;
}

.starburst {
  --burst: clamp(540px, 66vw, 980px);
  position: absolute;
  left: 50%;
  top: calc(34px + clamp(320px, 38vw, 580px) * 0.5);
  width: var(--burst);
  height: var(--burst);
  margin: calc(var(--burst) / -2) 0 0 calc(var(--burst) / -2);
  animation: spin 90s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.tagline {
  position: relative;
  isolation: isolate;
  margin: clamp(8px, 1.4vw, 22px) 0 0;
  font-weight: 900;
  font-size: clamp(1.7rem, 1rem + 2vw, 3rem);
  line-height: 1.15;
  text-align: center;
}

.tagline::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -0.7em -1.4em;
  background: radial-gradient(closest-side, rgba(254, 246, 228, 0.95) 60%, rgba(254, 246, 228, 0));
}

.hero .ground { z-index: 4; }

/* Grass blades and lime dots that soften the hero's bottom edge into the page. */
.hero-fringe {
  position: relative;
  z-index: 1;
  height: 90px;
  margin-top: -1px;
  pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 34'%3E%3Cpath fill='%2395D532' d='M0 0H160V12L156 30L151 12L145 24L139 12L133 33L127 12L121 22L114 12L108 31L102 12L96 20L89 12L83 32L77 12L71 23L64 12L58 30L52 12L46 21L39 12L33 33L27 12L21 24L14 12L8 29L3 12L0 18Z'/%3E%3Cpath fill='%23BEF73E' d='M0 0H160V9L154 20L150 9L144 27L139 9L132 17L127 9L120 29L115 9L108 19L102 9L96 25L90 9L84 15L78 9L71 27L66 9L59 20L54 9L47 24L42 9L35 16L30 9L23 28L18 9L11 19L6 9L0 23Z'/%3E%3C/svg%3E") repeat-x top left / 160px 34px;
}

.hero-fringe::after {
  content: "";
  position: absolute;
  inset: 20px 0 0;
  background: var(--dots-lime);
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent);
  mask-image: linear-gradient(to bottom, #000, transparent);
}

/* ---------- Sections, cards, banners ---------- */

.section {
  position: relative;
  isolation: isolate;
  max-width: 1260px;
  margin: 0 auto 110px;
  padding: 0 28px;
  scroll-margin-top: 24px;
}

/* Comic halftone clusters around each section's corners. */
.section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -60px -140px;
  pointer-events: none;
  background: var(--dots-lime);
  -webkit-mask-image:
    radial-gradient(340px 260px at 100% 0%, #000, transparent),
    radial-gradient(340px 260px at 0% 100%, #000, transparent);
  mask-image:
    radial-gradient(340px 260px at 100% 0%, #000, transparent),
    radial-gradient(340px 260px at 0% 100%, #000, transparent);
}

.section:nth-of-type(odd)::before {
  -webkit-mask-image:
    radial-gradient(340px 260px at 0% 0%, #000, transparent),
    radial-gradient(340px 260px at 100% 100%, #000, transparent);
  mask-image:
    radial-gradient(340px 260px at 0% 0%, #000, transparent),
    radial-gradient(340px 260px at 100% 100%, #000, transparent);
}

.card {
  position: relative;
  background: var(--paper);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Black slab heading: a slightly uneven, rounded shape (SVG) tilted like a sticker. */
.banner {
  position: relative;
  z-index: 4;
  display: inline-block;
  margin: 0;
  padding: 0.14em 0.75em 0.22em 0.55em;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.8rem, 1.8rem + 3.2vw, 5.2rem);
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.028em #fff;
  paint-order: stroke fill;
  transform: rotate(-3deg);
}

.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 100' preserveAspectRatio='none'%3E%3Cpath fill='%23111' d='M15 9L290 0Q299 0 298 9L290 87Q289 95 280 95L9 100Q0 100 1 91L6 17Q7 9 15 9Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
}

.banner span {
  display: inline-block;
  transform: skewX(-9deg);
}

.card > .banner {
  position: absolute;
  left: -26px;
  top: -0.66em;
}

.studio {
  margin-top: -18px;
}

.studio-card {
  margin-top: 56px;
  padding: 76px 72px 54px 150px;
}

.studio-text,
.studio-founder {
  position: relative;
  z-index: 1;
}

.studio-text {
  margin: 0 0 16px;
  max-width: 860px;
  font-size: clamp(1.25rem, 0.85rem + 1vw, 1.8rem);
  line-height: 1.42;
}

.studio-founder {
  max-width: 860px;
  margin: 0;
  text-align: right;
  font-weight: 800;
  font-size: clamp(1.05rem, 0.9rem + 0.4vw, 1.3rem);
}

.studio-founder a {
  text-decoration-thickness: 3px;
  text-decoration-color: var(--lime);
  text-underline-offset: 4px;
}

.studio-founder .ext {
  display: inline-block;
  margin-left: 0.2em;
  font-weight: 900;
}

.studio-card .deco-bush-l { left: -46px; bottom: -58px; width: 240px; }
.studio-card .deco-bush-r { right: -36px; bottom: -50px; width: 200px; }

/* ---------- Team ---------- */

.team .banner {
  margin: 0 0 84px -10px;
}

.team-card {
  --card-bg: var(--lime);
  position: relative;
  min-height: 300px;
  margin-bottom: 80px;
  padding: 44px 56px 44px 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--card-bg);
  border: var(--line) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.team-card:last-child {
  margin-bottom: 0;
}

.team-card-josy {
  --card-bg: var(--paper);
  padding: 44px 450px 44px 56px;
}

.team-card-daniel {
  --card-bg: var(--lime-pale);
}

/* The wrapper reaches above the card so the head pops out, and is clipped
   at the inside of the bottom border so the body ends inside the card. */
.team-char {
  position: absolute;
  left: 44px;
  top: -104px;
  bottom: 0;
  width: 370px;
  overflow: hidden;
  pointer-events: none;
}

.team-card-josy .team-char {
  left: auto;
  right: 44px;
}

/* --float is set from scroll position in main.js. */
.team-char img {
  width: 370px;
  max-width: none;
  margin-top: 34px;
  transform: translate3d(0, var(--float, 0px), 0);
  transition: transform 0.35s ease-out;
}

.team-card-luis .action-marks { left: 380px; top: 4px; transform: scaleX(-1); }
.team-card-josy .action-marks { right: 390px; top: 14px; transform: none; }
.team-card-daniel .action-marks { left: 14px; top: 0; }

.team-text h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(3.6rem, 2.2rem + 3.8vw, 6.4rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  -webkit-text-stroke: 0.026em var(--ink);
  paint-order: stroke fill;
  transform: skewX(-9deg) rotate(-2deg);
  transform-origin: left bottom;
}

.role {
  margin: 6px 0 14px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.4rem);
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  -webkit-text-stroke: 0.024em var(--ink);
  paint-order: stroke fill;
  transform: skewX(-9deg) rotate(-2deg);
  transform-origin: left center;
}

.team-text p:last-child {
  margin: 0;
  max-width: 580px;
  font-size: clamp(1.15rem, 0.85rem + 0.8vw, 1.6rem);
  line-height: 1.4;
}

/* ---------- Game ---------- */

.game .banner {
  margin: 0 0 -54px -14px;
}

.game-panel {
  position: relative;
  aspect-ratio: 2.3 / 1;
  overflow: hidden;
  margin: 0 8px;
  background: var(--lime-pale);
  border: 12px solid var(--lime);
  border-radius: 30px;
  box-shadow: 0 0 0 var(--line) var(--ink), 14px 14px 0 var(--line) var(--ink);
}

.game-art,
.game-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: right center;
}

.game-copy {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 47%;
  padding: 90px 20px 150px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(ellipse 95% 55% at 30% 44%, rgba(254, 246, 228, 0.82) 30%, rgba(254, 246, 228, 0) 75%);
  font-weight: 800;
  font-size: clamp(1.1rem, 0.75rem + 0.85vw, 1.6rem);
  line-height: 1.38;
}

.game-copy p {
  margin: 0;
}

.game-question {
  position: absolute;
  left: 79%;
  top: 50%;
  font-family: var(--font-display);
  font-size: clamp(6rem, 3rem + 7vw, 10rem);
  line-height: 1;
  color: #fff;
  -webkit-text-stroke: 9px var(--ink);
  paint-order: stroke fill;
  transform: translate(-50%, -30%) rotate(-3deg);
  pointer-events: none;
}

.stamp {
  position: absolute;
  right: 4%;
  top: 10%;
  padding: 4px 22px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 1rem + 1.5vw, 2.9rem);
  letter-spacing: 0.04em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--stamp-red);
  background: rgba(255, 253, 245, 0.75);
  border: 5px solid var(--stamp-red);
  border-radius: 8px;
  transform: rotate(-7deg);
}

/* ---------- Contact ---------- */

.contact-card {
  margin-top: 56px;
  padding: 84px 56px 84px;
}

.contact-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 26px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-wide,
.form-actions,
.form-noscript {
  grid-column: 1 / -1;
}

.field label {
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 14px;
}

.field select {
  appearance: none;
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M2 2l8 8 8-8' fill='none' stroke='%23111' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 20px;
}

.field textarea {
  resize: vertical;
  min-height: 160px;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
  box-shadow: 0 0 0 9px var(--lime);
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.send-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: 100%;
}

.send-row .action-marks {
  position: static;
  width: 48px;
  flex: none;
}

.send-marks-r {
  transform: scaleX(-1);
}

.send {
  flex: 0 1 400px;
  min-width: 0;
  padding: 8px 28px 10px;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  -webkit-text-stroke: 0.022em var(--ink);
  paint-order: stroke fill;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--lime);
  border: var(--line) solid var(--ink);
  border-radius: 18px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.08s, box-shadow 0.08s;
}

.send:active:not(:disabled) {
  transform: translate(4px, 4px);
  box-shadow: 4px 4px 0 var(--ink);
}

.send:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  font-weight: 800;
  text-align: center;
}

.form-status[data-state="error"] {
  color: #b3171a;
}

.form-noscript {
  margin: 0;
  text-align: center;
}

.contact-card .deco-bush-l { left: -140px; bottom: -50px; width: 360px; }
.contact-card .deco-bush-r { right: -140px; bottom: -50px; width: 360px; transform: scaleX(-1); }

/* ---------- Footer ---------- */

.footer {
  position: relative;
  height: 450px;
  margin-top: -20px;
  overflow: hidden;
}

.footer .cloud-f1 { left: 7%; top: 70px; width: 230px; }
.footer .cloud-f2 { right: 8%; top: 96px; width: 190px; animation-delay: -6s; }
.footer .ground { z-index: 2; }

/* Bushes sit behind the ground strip so its grass hides their bases;
   mushrooms and rocks stand in front, their own grass tufts on the lime band. */
.footer .prop { z-index: 3; }
.footer .fprop-bush-l,
.footer .fprop-bush-r { z-index: 1; }

.fprop-bush-l { left: -40px; bottom: 64px; width: 280px; }
.fprop-mush-l { left: 3.5%; bottom: 30px; width: 150px; z-index: 4; }
.fprop-rock-l { left: 12%; bottom: 34px; width: 130px; }

.fprop-bush-r { right: -40px; bottom: 64px; width: 250px; }
.fprop-mush-r { right: 4%; bottom: 30px; width: 130px; z-index: 4; transform: scaleX(-1); }
.fprop-rock-r { right: 13.5%; bottom: 34px; width: 110px; }

.footer-wordmark {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 0;
  width: clamp(260px, 35vw, 500px);
  transform: translateX(-50%) rotate(-2deg);
}

.footer-center {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 52px;
  transform: translateX(-50%);
  width: 182px;
  text-align: center;
}

.footer-center p {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin: 2px 0 0;
  padding: 2px 12px;
  white-space: nowrap;
  font-weight: 900;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  background: var(--grass);
  border-radius: 999px;
}

/* ---------- Tablet / mobile ---------- */

@media (max-width: 1080px) {
  .team-card {
    padding-left: 400px;
  }

  .team-card-josy {
    padding: 44px 400px 44px 44px;
  }

  .team-char,
  .team-char img {
    width: 330px;
  }

  .team-char {
    left: 30px;
  }

  .team-card-josy .team-char {
    right: 30px;
  }

  .team-card-luis .action-marks { left: 330px; }
  .team-card-josy .action-marks { right: 340px; }

  .studio-card {
    padding-left: 110px;
  }
}

@media (max-width: 860px) {
  .team-card {
    padding-left: 330px;
  }

  .team-card-josy {
    padding: 40px 330px 40px 36px;
  }

  .team-char,
  .team-char img {
    width: 280px;
  }

  .team-char {
    left: 20px;
  }

  .team-card-josy .team-char {
    right: 20px;
  }

  .team-card-luis .action-marks { left: 270px; }
  .team-card-josy .action-marks { right: 280px; }
}

@media (max-width: 760px) {
  :root {
    --line: 5px;
    --radius: 22px;
    --shadow: 6px 6px 0 var(--ink);
    --hero-h: 580px;
  }

  body {
    font-size: 1rem;
  }

  .site-header {
    padding: 12px 12px 0;
  }

  .nav {
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 12px 10px 18px;
    border-radius: 22px;
  }

  .nav-logo {
    width: 150px;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 50px;
    height: 46px;
    padding: 0;
    background: var(--lime);
    border: 4px solid var(--ink);
    border-radius: 12px;
    box-shadow: 3px 3px 0 var(--ink);
    cursor: pointer;
  }

  .nav-toggle span {
    display: block;
    width: 22px;
    height: 4px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav.is-open .nav-toggle span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav.is-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav-toggle span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

  .nav {
    position: relative;
  }

  /* Drops down over the hero as its own sticker panel. */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 10px;
    background: var(--paper);
    border: var(--line) solid var(--ink);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a {
    display: block;
    padding: 8px 16px;
    font-size: 1.2rem;
  }

  .hero {
    height: var(--hero-h);
  }

  .hero-center {
    padding-top: 24px;
  }

  .starburst {
    --burst: 470px;
    top: calc(24px + 36vw);
  }

  .scenery {
    bottom: 10px;
  }

  .scenery-left { left: -110px; width: 220px; }
  .scenery-right { right: -110px; width: 210px; }

  .hero .cloud-1 { width: 130px; top: 30px; left: 2%; }
  .hero .cloud-2 { width: 120px; top: 40px; }
  .hero .cloud-3 { display: none; }

  .hero .ground,
  .footer .ground {
    height: 96px;
  }

  .tagline {
    max-width: 15ch;
    margin-top: 14px;
    font-size: 1.75rem;
    line-height: 1.1;
    text-wrap: balance;
  }


  .hero-fringe {
    height: 64px;
  }

  .section {
    margin-bottom: 80px;
    padding: 0 16px;
  }

  .section::before {
    inset: -40px -16px;
  }

  .card > .banner {
    left: -10px;
  }

  .studio {
    margin-top: -10px;
  }

  .studio-card {
    padding: 64px 22px 80px;
  }

  .studio-card .deco-bush-l { width: 170px; left: -40px; bottom: -42px; }
  .studio-card .deco-bush-r { width: 140px; right: -30px; bottom: -38px; }

  .team .banner {
    margin: 0 0 96px -6px;
  }

  .team-card,
  .team-card-josy {
    min-height: 0;
    padding: 210px 22px 30px;
    margin-bottom: 104px;
    text-align: center;
  }

  .team-char,
  .team-card-josy .team-char {
    left: 50%;
    right: auto;
    top: -96px;
    bottom: auto;
    height: 300px;
    width: 260px;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
    mask-image: linear-gradient(to bottom, #000 calc(100% - 12px), transparent);
  }

  .team-char img {
    width: 260px;
    margin-top: 30px;
  }

  /* Soften the cut under each avatar: solid card colour at the edge,
     breaking into card-coloured halftone dots upward. */
  .team-char::before,
  .team-char::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 0;
    right: 0;
    bottom: -2px;
  }

  .team-char::before {
    height: 42px;
    background: linear-gradient(to top, var(--card-bg) 30%, transparent);
  }

  .team-char::after {
    height: 96px;
    background: radial-gradient(circle, var(--card-bg) 2.9px, transparent 3.5px) 0 0 / 9px 9px;
    -webkit-mask-image: linear-gradient(to top, #000 25%, transparent);
    mask-image: linear-gradient(to top, #000 25%, transparent);
  }

  .team-card .action-marks,
  .team-card-luis .action-marks,
  .team-card-josy .action-marks,
  .team-card-daniel .action-marks {
    left: 50%;
    right: auto;
    top: -60px;
    margin-left: 92px;
    width: 42px;
    transform: none;
  }

  .team-text h3 {
    transform-origin: center bottom;
  }

  .team-text p:last-child {
    margin: 0 auto;
  }

  .game .banner {
    margin-bottom: -40px;
  }

  .game-panel {
    aspect-ratio: 4 / 5;
    border-width: 8px;
    margin: 0 4px;
  }

  .game-art img {
    object-position: 80% center;
  }

  .game-copy {
    left: 14px;
    right: 14px;
    top: 35px;
    bottom: auto;
    width: auto;
    padding: 12px 16px;
    background: rgba(255, 253, 245, 0.94);
    border: 4px solid var(--ink);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--ink);
    font-size: 1rem;
    transform: rotate(-1deg);
  }

  .game-question {
    left: 50%;
    top: 64%;
    -webkit-text-stroke-width: 6px;
  }

  .stamp {
    top: auto;
    bottom: 14px;
    right: 12px;
    border-width: 4px;
    padding: 2px 12px;
  }

  .contact-card {
    margin-top: 44px;
    padding: 54px 16px 74px;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .field {
    gap: 4px;
  }

  .field label {
    font-size: 0.8rem;
  }

  .field input,
  .field select,
  .field textarea {
    padding: 9px 12px;
    font-size: 1rem;
    border-width: 3px;
    border-radius: 12px;
  }

  .field textarea {
    min-height: 104px;
  }

  .form-actions {
    margin-top: 4px;
    gap: 6px;
  }

  .send-row {
    gap: 8px;
  }

  .send-row .action-marks {
    width: 28px;
  }

  .send {
    flex: 0 1 230px;
    min-width: 160px;
    padding: 6px 16px 8px;
    font-size: 2.1rem;
  }

  .contact-card .deco-bush-l { width: 210px; left: -90px; bottom: -35px; }
  .contact-card .deco-bush-r { width: 210px; right: -90px; bottom: -35px; }

  .footer {
    height: 350px;
  }

  .footer .cloud-f1 { width: 120px; top: 130px; left: -34px; }
  .footer .cloud-f2 { width: 110px; top: 118px; right: -30px; }
  .footer-wordmark { top: 0px; width: 300px; }

  .fprop-bush-l { width: 170px; left: -50px; bottom: 50px; }
  .fprop-mush-l { width: 84px; left: 1%; bottom: 24px; }
  .fprop-rock-l { display: none; }
  .fprop-bush-r { width: 150px; right: -50px; bottom: 50px; }
  .fprop-mush-r { width: 74px; right: 2%; bottom: 24px; }
  .fprop-rock-r { display: none; }
  .footer-center { width: 150px; bottom: 30px; }
  .footer-center p { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .cloud,
  .starburst {
    animation: none;
  }

  .team-char img,
  .send {
    transition: none;
  }
}
