/* About page illustrations use the same ink, yellow and paper as the site. */
.team-sticker {
  position: absolute;
  z-index: 3;
  width: clamp(68px, 8vw, 124px);
  pointer-events: none;
  filter: drop-shadow(0 7px 5px #785f0029);
  transform: rotate(var(--tilt));
}
.team-sticker img {
  display: block;
  width: 100%;
  height: auto;
  animation: team-float 8s ease-in-out infinite;
  animation-delay: var(--delay);
}
.team-sticker-chat { left: 16%; bottom: 29%; --tilt: -11deg; --delay: -3s; }
.team-sticker-pencil { right: 17%; top: 22%; --tilt: 9deg; --delay: -6s; }
.team-hero.is-outside .team-sticker img { animation-play-state: paused; }

.poc-art {
  position: relative;
  height: clamp(230px, 25vw, 340px);
  overflow: hidden;
  background:
    radial-gradient(circle, #83750036 .75px, transparent 1px) center / 14px 14px,
    linear-gradient(145deg, #fff7ca 12%, #ffeb72 100%);
}
.poc-illustration {
  position: absolute;
  inset: 0;
  width: min(100%, 500px);
  margin-inline: auto;
  opacity: 0;
  transform: translateY(12px) scale(.96);
  transition: opacity .28s ease, transform .5s var(--ease);
}
.poc-panel[data-stage="0"] .poc-brief,
.poc-panel[data-stage="1"] .poc-prototype,
.poc-panel[data-stage="2"] .poc-feedback,
.poc-panel[data-stage="3"] .poc-product {
  opacity: 1;
  transform: none;
}
.brief-sheet, .prototype-board, .feedback-card, .product-window, .product-phone, .capability-tile {
  border: 2px solid var(--ink);
  background: #fffbe6;
  box-shadow: 5px 7px 0 #171910, 13px 18px 26px #62540028;
}
.brief-sheet {
  position: absolute;
  top: 15%;
  left: 22%;
  width: 49%;
  height: 66%;
  border-radius: 10px;
  padding: 10% 8% 6%;
  transform: rotate(-8deg);
}
.brief-pin {
  position: absolute;
  top: -12px;
  left: 37%;
  width: 26%;
  height: 23px;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: var(--yellow);
  transform: rotate(5deg);
}
.brief-lines, .feedback-lines {
  height: 6px;
  border-radius: 4px;
  background: var(--ink);
  box-shadow: 0 15px #dbce95;
}
.brief-lines { width: 68%; }
.brief-diagram {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  bottom: 19%;
  left: 16%;
  right: 16%;
  height: 30%;
}
.brief-diagram::before {
  content: "";
  position: absolute;
  inset: 50% 8% auto;
  border-top: 2px dashed var(--ink);
}
.brief-diagram i {
  z-index: 1;
  width: 24%;
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 5px;
  background: #fff7bc;
}
.brief-diagram i:nth-child(2) { background: var(--yellow); border-radius: 50%; }
.brief-pencil {
  position: absolute;
  width: 25%;
  height: auto;
  top: 48%;
  left: 59%;
  transform: rotate(8deg);
  filter: drop-shadow(0 6px 5px #785f0038);
}

.prototype-board, .product-window {
  position: absolute;
  top: 17%;
  left: 18%;
  width: 63%;
  height: 65%;
  border-radius: 12px;
  overflow: hidden;
  transform: rotate(-4deg);
}
.prototype-toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 24px;
  padding-inline: 9px;
  background: #fff1a0;
  border-bottom: 2px solid var(--ink);
}
.prototype-toolbar i {
  width: 5px;
  height: 5px;
  border: 1px solid var(--ink);
  border-radius: 50%;
}
.prototype-toolbar i:first-child { background: var(--ink); }
.prototype-content {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 10%;
  height: calc(100% - 24px);
  padding: 8%;
}
.prototype-placeholder {
  border: 1px dashed #6f6529;
  border-radius: 5px;
  background:
    linear-gradient(to bottom right, transparent 49.5%, #c7b96f 50%, transparent 51%),
    linear-gradient(to top right, transparent 49.5%, #c7b96f 50%, transparent 51%),
    #fff8cb;
}
.prototype-controls {
  display: grid;
  align-content: center;
  gap: 9px;
}
.prototype-controls i, .product-banner i, .product-phone i {
  width: 100%;
  height: 5px;
  border-radius: 5px;
  background: var(--ink);
}
.prototype-controls i:nth-child(2), .product-banner i:nth-child(2) { width: 72%; opacity: .52; }
.prototype-controls i:last-child {
  width: 58%;
  height: 16px;
  background: var(--yellow);
  border: 1px solid var(--ink);
}
.prototype-cursor {
  position: absolute;
  top: 59%;
  left: 67%;
  width: clamp(26px, 6vw, 47px);
  aspect-ratio: .84;
  background: var(--ink);
  clip-path: polygon(0 0, 100% 58%, 60% 66%, 73% 88%, 54% 100%, 40% 77%, 11% 100%);
  transform: rotate(-9deg);
}

.feedback-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8%;
  top: 20%;
  left: 17%;
  width: 51%;
  height: 30%;
  padding: 0 6%;
  border-radius: 15px 15px 15px 3px;
  transform: rotate(-8deg);
}
.feedback-card:nth-child(2) {
  top: 49%;
  left: 31%;
  border-radius: 15px 15px 3px 15px;
  background: #fff0a2;
  transform: rotate(6deg);
}
.feedback-avatar {
  position: relative;
  width: 28%;
  aspect-ratio: 1;
  flex: none;
  overflow: hidden;
  border: 1px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
}
.feedback-avatar::before, .feedback-avatar::after {
  content: "";
  position: absolute;
  background: var(--ink);
}
.feedback-avatar::before { inset: 18% 32% 44%; border-radius: 50%; }
.feedback-avatar::after { inset: 60% 16% -4%; border-radius: 55% 55% 0 0; }
.feedback-lines { width: 62%; margin-top: -12px; }
.feedback-check {
  position: absolute;
  top: 20%;
  left: 69%;
  width: 15%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 3px 5px 0 var(--ink);
  color: var(--ink);
  font: 750 clamp(21px, 4vw, 43px)/1 var(--body);
  transform: rotate(10deg);
}

.product-window { left: 13%; width: 66%; }
.product-banner {
  display: grid;
  align-content: center;
  gap: 7px;
  margin: 6% 7% 4%;
  padding: 4% 8%;
  height: 31%;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: radial-gradient(circle at 87% 89%, #fff7bc 0 18%, transparent 19%), var(--yellow);
}
.product-banner i { width: 42%; }
.product-banner i:nth-child(2) { width: 28%; }
.product-tiles { display: flex; gap: 5%; height: 20%; margin: 0 7%; }
.product-tiles i { flex: 1; border: 1px solid #9f8b37; border-radius: 4px; background: #fff4ac; }
.product-phone {
  position: absolute;
  top: 35%;
  left: 68%;
  width: 17%;
  height: 52%;
  padding: 12px 7px 7px;
  border-width: 3px;
  border-radius: 12px;
  transform: rotate(8deg);
  box-shadow: 3px 5px 0 #171910, 9px 12px 18px #6254002c;
}
.product-phone div { height: 47%; border: 1px solid var(--ink); border-radius: 4px; background: var(--yellow); }
.product-phone i { display: block; height: 4px; margin-top: 7px; }
.product-phone i:last-child { width: 70%; opacity: .4; }

.capability-art {
  position: relative;
  isolation: isolate;
  width: min(100%, 430px);
  aspect-ratio: 1.18;
  margin-top: clamp(20px, 4vw, 58px);
}
.capability-art::before {
  content: "";
  position: absolute;
  inset: 8% 6%;
  z-index: -1;
  border: 1px dashed #17191055;
  border-radius: 50%;
  transform: rotate(-23deg);
}
.capability-tile {
  position: absolute;
  border-radius: 13px;
  overflow: hidden;
  transform: rotate(var(--tilt));
}
.capability-code {
  inset: 9% 43% 43% 8%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff3a6;
  box-shadow: 4px 6px 0 #a98900, 13px 18px 24px #62540028;
  --tilt: -12deg;
}
.capability-code span { font: 750 clamp(30px, 5.5vw, 76px)/1 var(--display); letter-spacing: -.1em; }
.capability-growth { inset: 16% 3% 32% 54%; background: #ffef85; --tilt: 10deg; }
.capability-growth div {
  display: flex;
  align-items: end;
  justify-content: space-between;
  position: absolute;
  inset: 23% 17% 20%;
  border-bottom: 2px solid var(--ink);
}
.capability-growth i { width: 19%; height: 24%; border-radius: 3px 3px 0 0; background: var(--ink); }
.capability-growth i:nth-child(2) { height: 43%; }
.capability-growth i:nth-child(3) { height: 60%; }
.capability-growth i:nth-child(4) { height: 90%; }
.capability-design { inset: 48% 24% 5% 24%; --tilt: -4deg; }
.capability-composition { position: relative; height: calc(100% - 24px); overflow: hidden; }
.capability-composition i:first-child {
  position: absolute;
  top: 19%;
  left: 14%;
  width: 40%;
  aspect-ratio: 1;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}
.capability-composition i:last-child {
  position: absolute;
  top: 30%;
  left: 40%;
  width: 45%;
  height: 40%;
  border: 2px solid var(--ink);
  background: repeating-linear-gradient(135deg, var(--ink) 0 2px, #fff7c2 2px 7px);
  transform: rotate(-12deg);
}

@media (min-width: 761px) and (max-width: 1050px) {
  .team-sticker-chat { left: 12%; bottom: 25%; }
  .team-sticker-pencil { right: 12%; top: 24%; }
}
@media (max-width: 760px) {
  .team-sticker { width: clamp(49px, 10vw, 65px); }
  .team-sticker-chat { left: 27%; bottom: 10%; }
  .team-sticker-pencil { right: 22%; top: 17%; }
  .capability-art { width: min(89%, 320px); margin: 19px auto 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .team-sticker img { animation: none; }
  .poc-illustration { transition: none; }
}
