/* Layered maker worlds follow the supplied studio composition and shared home UI. */
.home-makers-viewport {
  /* Include the section's breathing room, but contain projected artwork and
     entrance/exit motion on both axes without creating a nested scroller. */
  display: flow-root;
  overflow: clip;
}

.home-makers {
  max-width: 1680px;
  margin: 180px auto 220px;
  padding: 100px 60px;
  display: grid;
  grid-template-columns: minmax(300px, .31fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  color: #080b11;
  scroll-margin-top: 120px;
}
.home-makers__copy { position: relative; z-index: 2; }
.home-makers__copy > .home-makers__caption { font-size: 14px; }
.home-makers h2 { font: 800 clamp(42px, 4vw, 70px)/1.02 Raleway, sans-serif; letter-spacing: -.055em; margin: 0 0 44px; }
.home-makers h2 em { color: #0565ff; font-style: normal; }
.home-makers__tabs { display: flex; flex-direction: column; position: relative; gap: 9px; }
.home-makers__tabs::before { content: ''; position: absolute; left: 6px; top: 22px; bottom: 22px; width: 2px; background: #d8deea; }
.home-makers__tabs button { position: relative; display: flex; align-items: center; gap: 22px; min-height: 62px; padding: 8px 0 8px 42px; border: 0; border-radius: 0; background: none; color: #080b11; text-align: left; font: 800 clamp(24px, 2.15vw, 36px)/1.2 Raleway, sans-serif; letter-spacing: -.04em; transition: color .2s; }
.home-makers__tabs button::before { content: ''; position: absolute; left: 0; top: calc(50% - 7px); width: 14px; height: 14px; border-radius: 50%; background: #cbd2e0; }
.home-makers__tabs button span { color: #939fb7; font: 600 20px/1 Collab UI, sans-serif; letter-spacing: 0; }
.home-makers__tabs button[aria-selected='true'] { color: #0565ff; font-size: clamp(29px, 2.65vw, 45px); }
.home-makers__tabs button[aria-selected='true'] span { color: #0565ff; }
.home-makers__tabs button[aria-selected='true']::before { background: #0565ff; box-shadow: 0 0 0 3px #fff; }
.home-makers__tabs button:hover { color: #0565ff; }
.home-makers__tabs button:focus-visible { outline: 2px solid #0565ff; outline-offset: 5px; }
.home-makers__copy > p { font: 400 clamp(19px, 1.65vw, 27px)/1.4 Raleway, sans-serif; letter-spacing: -.025em; color: #818ca5; margin: 35px 0 0; }
.home-makers__copy > p::before { content: ''; display: block; width: 65px; height: 2px; background: #cbd2e0; margin-bottom: 21px; }
.home-makers__stage { position: relative; aspect-ratio: 1.6; container-type: inline-size; isolation: isolate; }
.maker-scene { position: absolute; inset: 0; --world-tint: #d8e6ff; }
.maker-scene[hidden] { display: none; }
.maker-piece { position: absolute; transition: opacity 620ms ease, transform 680ms cubic-bezier(.2,.7,.2,1); transition-delay: var(--cascade, 0ms); }
/* The outer wrapper owns the cascade; the inner wrapper owns parallax. */
.maker-depth { transform: translate(var(--depth-x, 0px), var(--depth-y, 0px)); transition: transform 450ms ease-out; }
img.maker-depth { display: block; width: 100%; height: auto; user-select: none; pointer-events: none; }
.maker-scene.is-entering .maker-piece { opacity: 0; transform: translate(-42px, 14px); transition: none; }
.maker-scene.is-leaving .maker-piece { opacity: 0; transform: translateX(55px); transition-duration: 420ms, 560ms; }
.maker-floor { left: -6%; right: -6%; bottom: -3%; height: 30%; z-index: 0; }
.maker-floor .maker-depth { height: 100%; background: radial-gradient(ellipse at 55% 45%, var(--world-tint), transparent 68%); opacity: .65; }
.maker-floor .maker-depth::after { content: ''; position: absolute; inset: 10% 5%; background-image: linear-gradient(#b6cce335 1px, transparent 1px), linear-gradient(90deg, #b6cce335 1px, transparent 1px); background-size: 60px 60px; transform: perspective(260px) rotateX(48deg); mask-image: radial-gradient(ellipse, #000 10%, transparent 70%); }
.maker-floor-art { left: -11%; width: 116%; bottom: -5%; z-index: 1; }
.maker-floor-art img { transform-origin: center bottom; }
/* The studies belong to one upright wall: a single vanishing direction,
   with image edges and pin shadows projected together. */
.maker-wall { left: 13%; top: -15%; width: 62%; z-index: 0; }
.maker-wall .maker-depth { opacity: .52; }
.maker-wall__plane { display: flex; align-items: flex-start; gap: 2cqw; transform: perspective(1100px) rotateY(18deg) rotateZ(9deg); transform-origin: left center; }
.maker-wall figure { position: relative; flex: 1; margin: 0; padding: .65cqw; background: #fff; box-shadow: .15cqw .4cqw .6cqw #56678020; }
.maker-wall figure:nth-child(2) { margin-top: 1.8cqw; flex: .85; }
.maker-wall figure:nth-child(3) { margin-top: .5cqw; flex: 1.2; }
.maker-wall figure::before { content: ''; position: absolute; width: .55cqw; height: .7cqw; top: -.25cqw; left: 50%; background: #78869b; box-shadow: .1cqw .2cqw .15cqw #3d4d6355; }
.maker-wall figure > span { display: block; height: 11cqw; overflow: hidden; }
.maker-wall img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Hero studies already include a tilted board; crop its rim out before the
   flat paper is projected into the wall, so the two perspectives do not stack. */
.maker-wall figure:nth-child(-n+2) img { transform: rotate(12deg) scale(1.48); }
.maker-plant { width: 26%; right: -5%; top: 14%; z-index: 1; opacity: .8; }
.maker-object { width: 88%; left: -2%; bottom: 5%; z-index: 2; }
.maker-character { width: 34%; right: 10%; bottom: 7%; z-index: 3; }
.maker-supplies { width: 35%; left: -14%; bottom: 0; z-index: 4; }
.maker-post { width: 25%; left: -1%; top: 17%; z-index: 5; }
.maker-docs { width: 25%; right: -1%; top: -1%; z-index: 5; }
.maker-calendar { width: 31%; left: 8%; bottom: 7%; z-index: 5; }
.maker-goals { width: 27%; right: -1%; bottom: -1%; z-index: 5; }
/* The reference explicitly uses the same rounded floating cards as block two. */
.maker-card { background: #fff; border-radius: 16px; box-shadow: 0 15px 38px #364c7021, 0 4px 14px #3449630a; color: #171a20; font: 400 clamp(10px, 1.19cqw, 15px)/1.45 Collab UI, sans-serif; overflow: hidden; rotate: var(--card-tilt, 0deg); }
.maker-card b, .maker-card strong { font-weight: 600; }
.maker-card header { display: flex; align-items: center; gap: .8cqw; padding: 1.2cqw 1.7cqw; border-bottom: 1px solid #e8ecf3; font-weight: 600; }
.maker-card header img { width: 1.9cqw; height: 1.9cqw; object-fit: contain; }
.maker-card header > span { margin-left: auto; color: #7b849c; letter-spacing: .2em; }
.maker-card__body { padding: 1.5cqw 1.7cqw; }
.maker-card h3 { font: 600 1.3cqw/1.4 Collab UI, sans-serif; margin: 0 0 .8cqw; display: flex; align-items: center; justify-content: space-between; gap: .5cqw; }
.maker-card p { margin: 1cqw 0; color: #303b55; }
.maker-byline { display: flex; align-items: center; gap: .8cqw; }
.maker-byline .collab-avatar { width: 2.8cqw; height: 2.8cqw; }
.maker-byline b { font-size: 1.15cqw; }
.maker-card small { display: block; font-size: 1cqw; color: #7b849c; }
.maker-thumbnails { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6cqw; }
.maker-thumbnails img { width: 100%; height: 5.8cqw; object-fit: cover; background: #f5f7fd; }
.maker-reactions { display: flex; gap: .6cqw; align-items: center; margin-top: 1cqw; }
.maker-reactions > span { display: flex; align-items: center; gap: .3cqw; background: #f6f7fa; padding: .2cqw .5cqw; }
.maker-checklist { list-style: none; padding: 0; margin: 0; color: #59637c; }
.maker-checklist li { display: flex; gap: .7cqw; align-items: center; margin: .65cqw 0; }
.maker-checklist li::before { content: ''; width: 1.25cqw; height: 1.25cqw; border: 1.5px solid #aab5ca; flex: 0 0 auto; }
.maker-checklist li.is-done::before { content: '✓'; background: #0565ff; color: #fff; border-color: #0565ff; font: 700 1cqw/1 Collab UI, sans-serif; text-align: center; }
.maker-progress { color: #58657d; font-size: 1.1cqw; white-space: nowrap; }
.maker-progress::before { content: ''; display: inline-block; width: 2cqw; height: 2cqw; border-radius: 50%; margin-right: .6cqw; vertical-align: middle; background: conic-gradient(#0565ff 40%, #e0e6f3 0); mask: radial-gradient(transparent 46%, #000 49%); }
.maker-event { display: flex; align-items: center; gap: 1cqw; }
.maker-event > i { width: .9cqw; height: .9cqw; background: #0565ff; border-radius: 50%; box-shadow: 0 0 0 .7cqw #eff4ff; margin-right: .5cqw; }
.maker-event .collab-avatar-stack { margin-left: auto; }
.maker-event .collab-avatar { width: 2.3cqw; height: 2.3cqw; }
.maker-event .collab-avatar-stack small { width: 2.3cqw; height: 2.3cqw; display: grid; place-items: center; }
.maker-pointer { width: 13%; z-index: 6; }
.maker-pointer .collab-cursor { position: relative; width: 100%; height: auto; }
.maker-pointer--emma { left: 35%; top: 11%; }
.maker-pointer--leo { right: 3%; top: 51%; }
.maker-pointer--leo .collab-cursor { color: #ff9a22; animation-delay: -4s; }
.maker-pointer--maya { left: 52%; bottom: 0; }
.maker-pointer--maya .collab-cursor { color: #8024ff; animation-delay: -8s; }
.home-makers[data-motion-paused] .collab-cursor { animation-play-state: paused; }
.home-makers[aria-busy='true'] .home-makers__tabs { cursor: progress; }
.maker-scene[data-scene='inventors'] { --world-tint: #c0e9ff; }
.maker-scene[data-scene='coders'] { --world-tint: #d2dcff; }
.maker-scene[data-scene='game-devs'] { --world-tint: #e4d5ff; }
.maker-scene:not([data-scene='artists']) .maker-object { width: 77%; left: 1%; bottom: 13%; }
.maker-scene:not([data-scene='artists']) .maker-character { right: 7%; width: 31%; bottom: 28%; }
.maker-scene:not([data-scene='artists']) .maker-supplies { width: 28%; left: -9%; bottom: -2%; }
.maker-scene:not([data-scene='artists']) .maker-floor-art { display: none; }
/* Place the existing rendered objects on the same ground, without squashing
   the floor's painted perspective independently of the easel and stool. */
/* Keep the floor's distance from the easel proportional to the artwork width,
   so a taller tablet stage does not leave the paint below the feet. */
.maker-scene[data-scene='artists'] .maker-floor-art { left: -12%; width: 117%; bottom: calc(4% - 11.5cqw); }
.maker-scene[data-scene='artists'] .maker-object { left: -3%; width: 87%; bottom: 4%; }
.maker-scene[data-scene='artists'] .maker-character { right: 10%; width: 34%; bottom: 6%; }
.maker-scene[data-scene='artists'] .maker-supplies { left: -13%; width: 32%; bottom: -1%; }
.maker-scene[data-scene='artists'] .maker-plant { right: -4%; top: auto; bottom: 12%; width: 26%; }
/* Contact shadows follow each object's parallax and its actual foot positions
   inside the transparent artwork, rather than outlining the whole cutout. */
.maker-scene[data-scene='artists'] :is(.maker-object, .maker-character, .maker-supplies, .maker-plant)::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  transform: translate(var(--depth-x, 0px), var(--depth-y, 0px));
  transition: transform 450ms ease-out;
}
.maker-scene[data-scene='artists'] .maker-object::before {
  background:
    radial-gradient(ellipse 7% 1.8% at 38.3% 97.3%, #30394266, #30394220 48%, transparent 100%),
    radial-gradient(ellipse 6% 1.6% at 21.5% 92%, #30394252, #30394218 48%, transparent 100%),
    radial-gradient(ellipse 7% 1.8% at 76.8% 93.3%, #30394266, #30394220 48%, transparent 100%),
    radial-gradient(ellipse 38% 7% at 51% 94%, #34415125, transparent 100%);
}
.maker-scene[data-scene='artists'] .maker-character::before {
  background:
    radial-gradient(ellipse 9% 1.5% at 46% 93.5%, #30394266, transparent 100%),
    radial-gradient(ellipse 9% 1.5% at 70.5% 97%, #30394270, transparent 100%),
    radial-gradient(ellipse 8% 1.5% at 81% 90.5%, #30394255, transparent 100%),
    radial-gradient(ellipse 29% 4.5% at 65% 93%, #34415130, transparent 100%);
}
.maker-scene[data-scene='artists'] .maker-supplies::before {
  background: radial-gradient(ellipse 33% 3.5% at 49% 94%, #30394255, #34415118 55%, transparent 100%);
}
.maker-scene[data-scene='artists'] .maker-plant::before {
  background: radial-gradient(ellipse 23% 2.5% at 52% 96%, #30394266, #34415120 55%, transparent 100%);
}
.maker-scene[data-scene='artists'] .maker-card { font-size: 1.18cqw; border-radius: 1.25cqw; }
.maker-scene[data-scene='artists'] .maker-card header { font-size: 1.25cqw; font-weight: 600; padding: 1.1cqw 1.5cqw; }
.maker-scene[data-scene='artists'] .maker-card h3 { font-size: 1.25cqw; font-weight: 600; }
.maker-scene[data-scene='artists'] .maker-card__body { padding: 1.3cqw 1.5cqw; }
.maker-scene[data-scene='artists'] .maker-post { width: 23%; left: -1%; top: 10%; --card-tilt: -1deg; }
.maker-scene[data-scene='artists'] .maker-docs { width: 23%; right: 0; top: -8%; --card-tilt: 1deg; }
.maker-scene[data-scene='artists'] .maker-calendar { width: 28%; left: 5%; bottom: 2%; --card-tilt: -1deg; }
.maker-scene[data-scene='artists'] .maker-goals { width: 26%; right: -1%; bottom: -5%; --card-tilt: 1deg; }
@media (max-width: 1200px) {
  .home-makers { padding: 65px 35px; grid-template-columns: 240px minmax(0, 1fr); margin-block: 130px 170px; gap: 0; }
  .home-makers h2 { font-size: 45px; }
  .home-makers__tabs button { font-size: 26px; min-height: 54px; gap: 14px; padding-left: 30px; }
  .home-makers__tabs button[aria-selected='true'] { font-size: 33px; }
  .home-makers__tabs button span { font-size: 16px; }
  .home-makers__stage { aspect-ratio: 1.15; }
  .maker-object, .maker-scene[data-scene='artists'] .maker-object { bottom: 15%; }
  .maker-scene[data-scene='artists'] .maker-floor-art { bottom: calc(15% - 11.5cqw); }
  .maker-character, .maker-scene[data-scene='artists'] .maker-character { bottom: 20%; }
  .maker-supplies, .maker-scene[data-scene='artists'] .maker-supplies { bottom: 10%; }
  .maker-card { font-size: 1.35cqw; }
}
@media (max-width: 850px) {
  .home-makers { display: block; margin: 110px auto 150px; padding: 35px 25px; }
  .home-makers h2 { font-size: clamp(42px, 8vw, 60px); margin-bottom: 30px; }
  .home-makers h2 br { display: none; }
  .home-makers h2 br::after { content: ' '; }
  .home-makers__tabs { flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
  .home-makers__tabs::before, .home-makers__tabs button::before { display: none; }
  .home-makers__tabs button, .home-makers__tabs button[aria-selected='true'] { font-size: 21px; min-height: 40px; padding: 0; gap: 8px; }
  .home-makers__tabs button span { font-size: 13px; }
  .home-makers__copy > p { margin-top: 23px; font-size: 20px; }
  .home-makers__copy > p br { display: none; }
  .home-makers__copy > p::before { display: none; }
  .home-makers__stage { margin-top: 55px; aspect-ratio: 1.25; }
  .maker-card { font-size: 1.35cqw; border-radius: 10px; }
}
@media (max-width: 560px) {
  .home-makers { margin-block: 85px 120px; padding-inline: 20px; }
  .home-makers h2 { max-width: 340px; line-height: 1.08; }
  .home-makers__stage { margin-top: 35px; aspect-ratio: .75; }
  .maker-wall { top: 17%; }
  .maker-wall figure > span { height: 12cqw; }
  .maker-object, .maker-scene[data-scene='artists'] .maker-object, .maker-scene:not([data-scene='artists']) .maker-object { width: 112%; left: -15%; bottom: 29%; }
  .maker-character, .maker-scene[data-scene='artists'] .maker-character, .maker-scene:not([data-scene='artists']) .maker-character { width: 39%; right: 0; bottom: 32%; }
  .maker-plant, .maker-scene[data-scene='artists'] .maker-plant { width: 34%; top: 23%; bottom: auto; }
  .maker-supplies, .maker-scene[data-scene='artists'] .maker-supplies { width: 39%; left: -10%; bottom: 25%; }
  .maker-post { width: 44%; left: 0; top: 0; }
  .maker-docs { width: 46%; right: 0; top: 2%; }
  .maker-calendar { width: 48%; left: 0; bottom: 7%; }
  .maker-goals { width: 47%; right: 0; bottom: 0; }
  .maker-scene[data-scene='artists'] .maker-post { width: 44%; left: 0; top: 0; }
  .maker-scene[data-scene='artists'] .maker-docs { width: 46%; right: 0; top: 2%; }
  .maker-scene[data-scene='artists'] .maker-calendar { width: 48%; left: 0; bottom: 7%; }
  .maker-scene[data-scene='artists'] .maker-goals { width: 47%; right: 0; bottom: 0; }
  .maker-floor { bottom: 16%; }
  .maker-floor-art, .maker-scene[data-scene='artists'] .maker-floor-art { bottom: 22%; }
  .maker-card, .maker-scene[data-scene='artists'] .maker-card { font-size: 2.25cqw; }
  .maker-card header, .maker-scene[data-scene='artists'] .maker-card header { padding: 2cqw 2.5cqw; gap: 1.5cqw; font-size: 2.25cqw; }
  .maker-card header img { width: 3cqw; height: 3cqw; }
  .maker-card__body, .maker-scene[data-scene='artists'] .maker-card__body { padding: 2cqw 2.5cqw; }
  .maker-card h3, .maker-scene[data-scene='artists'] .maker-card h3 { font-size: 2.5cqw; }
  .maker-card small, .maker-byline b, .maker-progress { font-size: 2cqw; }
  .maker-byline .collab-avatar, .maker-event .collab-avatar { width: 4cqw; height: 4cqw; }
  .maker-thumbnails img { height: 10cqw; }
  .maker-checklist li { gap: 1.2cqw; margin: 1.3cqw 0; }
  .maker-checklist li::before { width: 2.3cqw; height: 2.3cqw; }
  .maker-checklist li.is-done::before { font-size: 2cqw; }
  .maker-event .collab-avatar-stack { display: none; }
  .maker-pointer { width: 19%; }
  .maker-pointer--emma { left: 17%; top: 29%; }
  .maker-pointer--leo { right: 0; top: 60%; }
  .maker-pointer--maya { left: 32%; bottom: 21%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-makers .collab-cursor { animation: none; }
  .maker-piece, .maker-depth { transition: none; transform: none; }
}
