/* Migrated from styles.css: these are studio-only and were the last
   page-specific rules living in the shared stylesheet. Kept above the
   rules below, which intentionally override several of them. */

.studio-copy strong {
  font-weight: 600;
}

.card p,
.portfolio-doodle,
.journal-intro,
.studio-copy p {
  margin: 0;
}

.card p,
.portfolio-doodle,
.journal-intro,
.studio-copy p {
  font-size: 16px;
  line-height: 1.75;
}

.studio-copy {
  max-width: 31rem;
  align-self: center;
  padding-top: 0;
  padding-right: min(2vw, 24px);
}

.studio-copy p {
  margin-bottom: 18px;
  font-size: 18px;
  line-height: 1.8;
}

.studio-copy .page-title {
  margin-bottom: 28px;
}

.studio-copy .section-rule {
  width: 58px;
  margin-bottom: 28px;
}

body.studio-page .page-main {
  padding: 0;
}

.studio-footer {
  margin-top: 0;
  background: var(--navy);
  color: var(--warm-white);
}

.studio-footer-inner {
  display: grid;
  grid-template-columns: 1.1fr auto auto;
  align-items: end;
  gap: 24px;
  padding: 28px 0 24px;
}

.studio-footer-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  margin: 0 0 6px;
}

.studio-footer-email {
  color: var(--gold);
}

@media (max-width: 720px) {
.portfolio-layout,
  .portfolio-cards,
  .studio-footer-inner,
  .footer-meta {
    grid-template-columns: 1fr;
  }

  .portfolio-layout,
  .studio-footer-inner {
    gap: 24px;
  }
}

/* Studio page: the desk scene is the full-bleed page background, with the copy
   overlaid on the empty wall at its left. Palette comes from `.theme-dark`. */

/* Column layout so header + copy + footer fill exactly one viewport, with the
   footer band resting at the bottom rather than being pushed below the fold. */
body.studio-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

body.studio-page {
  background-color: var(--page);
  background-image: url("/assets/studio-background.jpg");
  background-size: cover;
  /* The subject sits right of centre; anchoring right keeps the lamp and desk
     in frame as the viewport narrows, and keeps the left wall clear for copy. */
  background-position: right center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

body.studio-page .site-header {
  background: var(--page);
}

body.studio-page .page-main {
  flex: 1 1 auto;
  display: flex;
  min-height: 0;
}

.studio-layout {
  display: flex;
  flex: 1 1 auto;
  padding-left: min(6vw, 84px);
  padding-right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
}

.studio-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Narrow enough to stay clear of the lamp in the background image. */
  max-width: 26rem;
  padding-block: 48px;
  padding-right: 0;
}

.studio-copy .page-title {
  color: var(--title);
}

.studio-copy p {
  font-size: 17px;
  line-height: 1.8;
}

.studio-copy .studio-question {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 34px;
  line-height: 1.28;
  color: var(--title);
  margin-block: 6px 20px;
}

.studio-footer {
  /* Translucent band so the desk scene reads through it rather than being cut
     off by a solid bar. */
  background: rgba(10, 9, 9, 0.72);
  color: var(--body);
  border-top: 1px solid var(--line);
}

.studio-footer-title {
  color: var(--title);
}

.studio-footer-email {
  color: var(--gold);
}

@media (min-width: 721px) {
  /* Header floats on the scene. The copy column is centred within the viewport
     height and never scrolls up behind the header, so nothing shows through. */
  body.studio-page .site-header {
    background: transparent;
  }
}

@media (max-width: 900px) {
  .studio-layout {
    padding-left: min(6vw, 48px);
    padding-right: min(6vw, 48px);
  }

  .studio-copy {
    max-width: none;
  }

  .studio-copy .studio-question {
    font-size: 28px;
  }

  /* A cover-sized backdrop crops the desk out entirely on narrow screens, so
     let the copy sit on the plain wall colour with a legible scrim instead. */
  body.studio-page.theme-dark {
    background-image: none;
  }
}

.footer-privacy {
  color: var(--muted);
  font-size: 14px;
}

.footer-privacy:hover {
  color: var(--gold);
}

.studio-footer-contact {
  margin: 0 0 8px;
}

