.studio-page {
  background: var(--paper-50);
  color: var(--ink-900);
}

.studio-canvas {
  overflow: hidden;
}

.studio-banner {
  padding: clamp(6.5rem, 15svh, 9.5rem) 0 clamp(3rem, 7svh, 5rem);
  text-align: center;
}

.studio-banner__inner {
  max-width: 900px;
  margin: 0 auto;
}

.studio-banner .section-label {
  color: var(--teal-700);
}

.studio-banner h1 {
  margin: 0.1em 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.5vw, 6.5rem);
  letter-spacing: 0.02em;
}

.studio-banner__lede {
  max-width: 52ch;
  margin: clamp(1.25rem, 3svh, 2rem) auto 0;
  color: #45505e;
  font-size: clamp(1rem, 1.15vw, 1.2rem);
  line-height: 1.6;
}

.studio-banner__count {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: clamp(1.75rem, 4svh, 2.75rem) 0 0;
  padding-top: clamp(1.25rem, 3svh, 2rem);
  border-top: 1px solid rgba(19, 128, 154, 0.18);
  color: var(--teal-700);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.studio-banner__count span {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--ink-900);
}

/* Intro — the Studio's own lockup leads, then the welcome, the ways to use the space and the
   facilities, all before any equipment, so the page reads "a place for you and your dog" first. */

.studio-banner__logo {
  display: block;
  width: clamp(12rem, 22vw, 17rem);
  height: auto;
  margin: 0 auto clamp(1rem, 3svh, 1.75rem);
}

.studio-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: clamp(1.5rem, 4svh, 2.5rem);
}

.studio-welcome .section-label {
  margin-bottom: clamp(1.25rem, 3svh, 2rem);
}

.studio-uses {
  padding-block: clamp(3.5rem, 9svh, 6.5rem) clamp(2rem, 5svh, 3.5rem);
}

.studio-uses__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.4vw, 1.55rem);
  margin-top: clamp(1.25rem, 3svh, 2rem);
}

.studio-use {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: clamp(18rem, 38svh, 24rem);
  padding: clamp(1.25rem, 2vw, 2rem);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(19, 128, 154, 0.18);
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.24);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.studio-use:hover {
  background: var(--teal-700);
  border-color: rgba(99, 182, 200, 0.34);
  color: var(--paper-50);
}

.studio-use__index {
  color: var(--teal-500);
  font-size: 0.78rem;
  font-weight: 800;
  transition: color 0.3s ease;
}

.studio-use h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.studio-use p {
  align-self: end;
  margin: 0;
  color: #45505e;
  font-size: clamp(0.98rem, 1.05vw, 1.1rem);
  line-height: 1.6;
  transition: color 0.3s ease;
}

.studio-use:hover .studio-use__index,
.studio-use:hover p {
  color: var(--paper-50);
}

.studio-facilities {
  padding-block: clamp(1.5rem, 4svh, 3rem) clamp(2.5rem, 6svh, 4.5rem);
}

.studio-facilities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.studio-facilities__list li {
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(19, 128, 154, 0.32);
  border-radius: 999px;
  color: var(--teal-700);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-showcase__head {
  margin-bottom: clamp(1.5rem, 4svh, 2.5rem);
  text-align: center;
}

.studio-showcase__head h2 {
  margin: 0.15em 0 0.25em;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.studio-showcase__head p:last-child {
  margin: 0;
  color: #45505e;
}

.equipment-stack__intro {
  max-width: 60ch;
  margin: 0 0 clamp(1.5rem, 4svh, 2.5rem);
  color: #45505e;
  font-size: clamp(1rem, 1.15vw, 1.15rem);
  line-height: 1.6;
}

.equipment-stack__club {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.5rem);
  max-width: 62ch;
  margin: clamp(2rem, 5svh, 3.5rem) 0 0;
  color: #45505e;
  line-height: 1.6;
}

.equipment-stack__club img {
  width: clamp(3.5rem, 5vw, 4.5rem);
  height: auto;
  flex: none;
}

.equipment-stack__club a {
  color: var(--teal-700);
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 900px) {
  .studio-uses__grid {
    grid-template-columns: 1fr;
  }

  .studio-use {
    min-height: auto;
  }
}

.studio-showcase {
  padding: clamp(1rem, 3svh, 2.5rem) 0 clamp(3.5rem, 8svh, 6rem);
}

.studio-showcase__inner {
  position: relative;
  width: 100%;
}

.studio-showcase__stage {
  position: relative;
  width: 100%;
  height: clamp(380px, 62svh, 680px);
  overflow: hidden;
  background: var(--paper-50);
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  perspective: 1400px;
}

.studio-showcase__stage.is-scrubbing {
  cursor: grabbing;
}

.studio-showcase__track {
  position: relative;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}

.studio-showcase__slide {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  overflow: hidden;
  will-change: transform, width, height, opacity;
  backface-visibility: hidden;
}

.studio-showcase__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.88);
  pointer-events: none;
}

.studio-showcase__slide-tag {
  position: absolute;
  z-index: 2;
  top: 0.85rem;
  left: 0.85rem;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  background: rgba(10, 15, 27, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--paper-50);
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.studio-showcase__eyebrow {
  position: absolute;
  z-index: 20;
  top: clamp(1.5rem, 4svh, 2.75rem);
  left: clamp(1.5rem, 3vw, 2.75rem);
  padding: 0.35em 0.7em;
  border-radius: 999px;
  background: rgba(245, 243, 236, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--teal-700);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.studio-showcase__title {
  position: absolute;
  z-index: 20;
  top: clamp(1.15rem, 3.2svh, 2.15rem);
  right: clamp(1.5rem, 3vw, 2.75rem);
  max-width: 70%;
  padding: 0.1em 0.35em;
  border-radius: 8px;
  background: rgba(245, 243, 236, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.studio-showcase__caption {
  position: absolute;
  z-index: 20;
  left: clamp(1.5rem, 3vw, 2.75rem);
  bottom: clamp(4.75rem, 11svh, 6.75rem);
  max-width: 34ch;
  padding: 0.75em 1em;
  border-radius: 8px;
  background: rgba(245, 243, 236, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.studio-showcase__caption p {
  margin: 0;
  color: #45505e;
  font-size: clamp(0.92rem, 1.05vw, 1.08rem);
  line-height: 1.6;
}

.studio-showcase__mark {
  position: absolute;
  z-index: 20;
  left: clamp(1.5rem, 3vw, 2.75rem);
  bottom: clamp(1.5rem, 3.5svh, 2.25rem);
  padding: 0.15em 0.5em;
  border-radius: 8px;
  background: rgba(245, 243, 236, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.3vw, 1.85rem);
  letter-spacing: 0.06em;
}

.studio-showcase__drag-hint {
  position: absolute;
  z-index: 21;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.6em 1.15em;
  border-radius: 999px;
  background: rgba(245, 243, 236, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(20, 24, 26, 0.12);
  transition: opacity 0.3s ease;
}

.studio-showcase__drag-hint svg {
  width: 1.1rem;
  height: 1.1rem;
}

.studio-showcase__stage:hover .studio-showcase__drag-hint {
  opacity: 1;
}

.studio-showcase__stage.is-scrubbing .studio-showcase__drag-hint {
  opacity: 0;
}

.studio-showcase__dots {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: clamp(1.5rem, 3.5svh, 2.25rem);
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.studio-showcase__dots button {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(20, 24, 26, 0.2);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.studio-showcase__dots button.is-active {
  background: var(--teal-700);
  transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
  .studio-showcase__drag-hint {
    display: none;
  }
}

@media (max-width: 720px) {
  .studio-showcase__stage {
    height: clamp(240px, 76vw, 340px);
  }

  .studio-showcase__title {
    font-size: clamp(2rem, 10vw, 2.9rem);
  }

  /* Overlaid on the photo on desktop; below it, full width, in normal flow here — an
     overlay box was covering most of a mobile-width photo (see .studio-showcase__inner
     moving to position:relative and the caption's DOM position in studio.html, both
     needed so this isn't still a descendant of the clipped, fixed-height stage). */
  .studio-showcase__caption {
    position: static;
    z-index: auto;
    max-width: none;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-radius: 8px;
    background: var(--paper-50);
    border: 1px solid rgba(19, 128, 154, 0.18);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

.studio-cta {
  padding-block: clamp(4.5rem, 10svh, 7.5rem);
  border-top: 1px solid rgba(19, 128, 154, 0.18);
  text-align: center;
}

.studio-cta h2 {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
}

.studio-cta p {
  color: #45505e;
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  margin: 0 0 2em;
}

.studio-cta .btn {
  font-size: 1.05rem;
  padding: 1.15em 2.6em;
}

/* Brand hero photo (the hero itself is the shared .page-hero system in components.css). */
.page-hero--studio .page-hero__bg {
  background-image: url('../../assets/images/blueprint-studio-ai-clean.webp');
}
