/* The Studio page. Hero swaps artwork with the theme; the paper sections stay
   paper in both themes (like the identity band). All copy is HTML overlaid on
   the background imagery so it stays editable. */

/* ---------- Hero ---------- */

.studio-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(440px, 38vw, 560px);
  display: flex;
  align-items: flex-start;
  padding: clamp(7rem, 10vw, 9rem) var(--page-edge) 4.5rem;
  background-color: var(--paper);
  background-image: none !important;
}
/* The cream section fills ultra-wide space. A separate bounded, clipped frame
   owns the single hero image, preventing any section or global image rule from
   producing a second copy. */
.studio-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
  pointer-events: none;
  z-index: 0;
}
.studio-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}
.studio-hero::before,
.studio-hero::after {
  content: none !important;
  background: none !important;
}
.studio-hero-copy { position: relative; z-index: 1; width: 560px; max-width: 100%; }
.studio-hero-copy .section-kicker { color: var(--orange); }
.studio-hero-copy h1 {
  margin: .6rem 0 0;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
  line-height: 1.05;
  color: var(--cream);
  text-shadow: 0 2px 14px rgba(var(--scrim-rgb), .5);
}
.studio-hero-rule { display: block; width: 2.6rem; height: 3px; margin: 1.4rem 0 1.1rem; background: var(--orange); }
.studio-hero-body {
  margin: 0;
  max-width: 34rem;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.65;
  opacity: .92;
  text-shadow: 0 1px 10px rgba(var(--scrim-rgb), .5);
}

/* ---------- Why a Studio ---------- */

/* A quieter contained split: copy and portrait share the regular page frame,
   without the full-width directional fade used by the Approach modes. */
.studio-why {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: flex-start;
  padding: clamp(3rem, 5vw, 4.5rem) var(--page-edge);
  background: var(--paper);
  color: #221a10;
}
.studio-why::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 50%;
  width: min(50vw, calc(var(--max) / 2));
  background: url('assets/studio-stacie.webp') center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
.studio-why-copy {
  position: relative;
  z-index: 1;
  width: 560px;
  max-width: 100%;
}
.studio-why-portrait { display: none; }
.studio-why-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: #221a10;
}
.studio-why-lead { font-weight: 700; }
.studio-why-copy p { margin: 0 0 .9rem; max-width: 34rem; font-size: .95rem; line-height: 1.65; }
.studio-why-copy p:last-child { margin-bottom: 0; }

/* ---------- What the Studio Builds ---------- */

.studio-builds { width: 100%; margin: 0; padding: clamp(2.5rem, 5vw, 4rem) var(--page-edge); }
.studio-builds h2 {
  margin: 0 0 1.8rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  color: var(--cream);
}
.studio-builds h2::after { content: ""; display: block; width: 5.5rem; height: 2px; margin-top: .5rem; background: var(--orange); }

.builds-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.build-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 6px;
  background: color-mix(in srgb, var(--ink), var(--cream) 4%);
}
.build-media {
  position: relative;
  aspect-ratio: 210 / 82;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.sticky-note {
  position: absolute;
  top: -.4rem;
  right: .6rem;
  padding: .5rem .7rem .9rem;
  background: #b48ae0;
  color: #2b1640;
  font-family: "Caveat", cursive;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  transform: rotate(4deg);
  box-shadow: 0 6px 14px rgba(0,0,0,.35);
}
.build-body { padding: 1rem 1.1rem 1.3rem; }
.build-tag { margin: 0 0 .45rem; color: var(--orange); font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.build-body h3 { margin: 0 0 .55rem; font-size: 1.02rem; font-weight: 700; color: var(--cream); }
.build-body p:not(.build-tag) { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }

.builds-highlight { display: flex; flex-direction: column; justify-content: center; padding: 1.5rem; }
.builds-highlight-title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  line-height: 1.15;
  color: var(--orange);
}
.builds-highlight-sub { margin: 0; max-width: 12rem; color: var(--cream); font-size: 1rem; line-height: 1.5; }
.builds-highlight-sub::after { content: ""; display: block; width: 4.5rem; height: 2px; margin-top: .7rem; background: var(--orange); opacity: .7; }

/* ---------- Closing CTA ---------- */

.studio-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: clamp(1.5rem, 4vw, 4rem);
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 6vw, 5rem) var(--page-edge);
  background: var(--paper);
  color: #221a10;
}
.studio-cta-message { max-width: 780px; }
.studio-cta h2 {
  margin: 0 0 1.25rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  font-weight: 500;
  line-height: 1.25;
  color: #221a10;
}
.studio-cta p {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.6;
  color: #443725;
}
.studio-cta .button { white-space: nowrap; }

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
  .builds-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .studio-why {
    min-height: 0;
    align-items: stretch;
    flex-direction: column;
    padding-bottom: 0;
  }
  .studio-why::before { content: none; }
  .studio-why-copy { width: 100%; max-width: 34rem; }
  .studio-why-portrait {
    display: block;
    order: 2;
    width: calc(100% + var(--page-edge) + var(--page-edge));
    max-width: none;
    height: auto;
    margin: 2rem calc(0px - var(--page-edge)) 0;
  }
}

@media (max-width: 780px) {
  .studio-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .studio-cta .button { justify-self: start; }
}

@media (max-width: 560px) {
  .builds-grid { grid-template-columns: 1fr; }
}
