/* Studio entry page. Builds on home.css (h-kicker, h-lede, h-actions, h-chrome, h-shade). */
.s-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  min-height: 600px;
  padding: 56px 0 30px;
}
.s-hero h1 {
  margin-top: 26px;
  font-size: clamp(46px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
  font-weight: 650;
  animation: h-in 0.9s var(--ease) 0.08s both;
}
.s-copy > [data-reveal]:nth-child(3) { --i: 1; }
.s-copy > [data-reveal]:nth-child(4) { --i: 2; }
.s-copy > [data-reveal]:nth-child(5) { --i: 3; }
.s-small {
  margin-top: 26px;
  font-size: 14px;
}
.s-small a {
  color: var(--accent);
  font-weight: 600;
}
.s-small a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.s-stage {
  --i: 2;
  min-width: 0;
}

/* Dashboard mockup */
.s-app {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #18191af2;
  box-shadow: 0 20px 40px #0007;
}
.s-app-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  border-radius: 14px;
  background: #101011;
  overflow: hidden;
}
.s-side {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  padding: 16px 0;
  border-right: 1px solid #303a34;
  background: #111516;
}
.s-logo {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  border-radius: 6px;
  background: var(--accent);
}
.s-side i {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  border: 1.5px solid #4a5650;
}
.s-side i.on {
  border-color: var(--accent);
  background: #d2f88b1f;
}
.s-main {
  display: grid;
  gap: 14px;
  min-width: 0;
  padding: 22px;
}
.s-composer {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 7px 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--edge), var(--shadow-card);
}
.s-link {
  color: var(--muted);
  font-size: 13px;
}
.s-url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 13.5px;
  white-space: nowrap;
}
.s-url span {
  display: inline-block;
  clip-path: inset(0 0 0 0);
  animation: s-type 7s steps(30) infinite;
}
.s-composer b {
  flex: none;
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--accent);
  color: #172011;
  font-size: 12.5px;
  font-weight: 650;
}
.s-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.s-actions span {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
}
.s-label {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8d8e89;
}
.s-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.s-project {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font-size: 12.5px;
  animation: h-in 0.8s var(--ease) both;
  animation-delay: calc(0.5s + var(--i) * 0.15s);
}
.s-thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}
.s-thumb .h-photo {
  position: absolute;
  inset: 0;
  object-position: 50% 30%;
}
.s-project b {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.s-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.s-chip {
  padding: 1px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-style: normal;
  font-weight: 650;
}
.s-ok {
  background: #56c59624;
  color: #56c596;
}
.s-busy {
  background: #f2bb5a24;
  color: #f2bb5a;
  animation: s-blink 2s ease-in-out infinite;
}

/* Where things live */
.s-places {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 90px;
}
.s-places article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--edge), var(--shadow-card);
}
.s-places span {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.12em;
  color: var(--accent);
}
.s-places h2 {
  margin-top: 14px;
  font-size: 24px;
  letter-spacing: -0.03em;
}
.s-places p {
  margin-top: 10px;
  font-size: 15px;
}

@keyframes s-type {
  0% { clip-path: inset(0 100% 0 0); }
  55%, 90% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 100% 0 0); }
}
@keyframes s-blink {
  50% { opacity: 0.55; }
}

@media (max-width: 1100px) {
  .s-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    min-height: 0;
  }
  .s-stage {
    max-width: 680px;
  }
}
@media (max-width: 640px) {
  .s-hero {
    padding-top: 32px;
  }
  .s-hero h1 {
    font-size: 44px;
  }
  .s-app {
    padding: 8px;
  }
  .s-app-body {
    grid-template-columns: 40px 1fr;
  }
  .s-main {
    padding: 14px;
  }
  .s-composer b {
    padding: 7px 11px;
    font-size: 11.5px;
  }
  .s-projects {
    gap: 6px;
  }
  .s-project {
    padding: 5px;
  }
  .s-places {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 64px;
  }
}
