/* ─── STUDIO GRIDS ─── */
.studio-bleed-row {
  display: grid;
  grid-template-columns: 5fr 7fr;
  column-gap: 6rem;
  align-items: start;
  max-width: 1800px;
  margin: 0 auto 12rem;
  padding: 0 6rem;
}

.studio-bleed-row.reverse { grid-template-columns: 7fr 5fr; }
.studio-bleed-row.text-wide-left { grid-template-columns: 1.3fr 1fr; }
.studio-bleed-row.img-wide-left { grid-template-columns: 1.4fr 1fr; }

.studio-bleed-row.stretch { align-items: stretch; }
.studio-bleed-row.stretch .st-img { height: 100%; display: flex; }
.studio-bleed-row.stretch .st-img img { height: 100%; object-fit: cover; }

.studio-bleed-row:last-child { margin-bottom: 6rem; }

.st-img {
  background: #d8d6d0;
  overflow: hidden;
}

.st-img img {
  width: 100%;
  height: auto;
  display: block;
  filter: var(--img-filter);
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.st-img:hover img { transform: scale(1.03); }

.st-img.img-left {
  grid-column: 1 / 2;
  margin-left: calc(-6rem - max(0px, 50vw - 900px));
  width: calc(100% + 6rem + max(0px, 50vw - 900px));
}

.st-text.text-right {
  grid-column: 2 / 3;
  text-align: left;
}

.st-text.text-left {
  grid-column: 1 / 2;
  text-align: right;
}

.st-img.img-right {
  grid-column: 2 / 3;
  width: calc(100% + 6rem + max(0px, 50vw - 900px));
}

.st-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--soft);
  margin-bottom: 2rem;
  display: block;
}

.st-desc {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--mid);
  font-weight: 300;
}

.st-desc p { margin-bottom: 1.5rem; }
.st-desc p:last-child { margin-bottom: 0; }

/* EDITORIAL TYPOGRAPHY: Updated Bold Section Intro Headers */
.st-desc strong { 
  color: var(--ink); 
  font-weight: 500; 
  font-family: var(--sans); 
  letter-spacing: 0.02em; 
}

/* The Manifesto (Design Ethos) */
.st-manifesto p {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.st-manifesto p:last-of-type {
  margin-bottom: 0;
}

/* EDITORIAL TYPOGRAPHY: The Practice Differentiator Callout */
.st-highlight {
  padding-left: 1.5rem;
  border-left: 2px solid var(--mid);
  margin-top: 1.5rem;
  font-size: 1.05rem;
}

/* EDITORIAL TYPOGRAPHY: The Connect Link */
.st-connect-link {
  margin-top: 1.5rem;
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
  font-weight: 500;
  font-family: var(--sans);
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
  transition: opacity 0.3s ease, border-color 0.3s ease;
}

.st-connect-link:hover { opacity: 0.65; }

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0;
  list-style: none;
  padding: 0;
}

.phase-item {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.85rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.phase-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.phase-number {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--soft);
  letter-spacing: 0.1em;
  flex-shrink: 0;
  line-height: 1.4;
  padding-top: 0.15rem;
}

.phase-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--mid);
  margin: 0;
  font-weight: 300;
  text-align: left;
}

.phase-text strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--sans);
}

.studio-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 6rem;
  align-items: start;
  margin-bottom: 10rem;
}

.studio-split.reverse { grid-template-columns: 1fr 1.2fr; }
.studio-split.reverse .studio-split-img { order: 2; }
.studio-split.reverse .studio-split-text { order: 1; }

.studio-split-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: #d8d6d0;
  width: 100%;
}

.studio-split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--img-filter);
  transition: transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.studio-split:hover .studio-split-img img { transform: scale(1.03); }

.studio-split-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 2rem;
}

/* ─── CONTACT ─── */
#contact .studio-split { align-items: stretch; }
#contact .studio-split-text {
  height: 100%;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
}

.contact-block { width: 100%; }

.contact-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--soft);
  display: block;
  margin-bottom: 0.75rem;
}

.contact-link {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--ink);
  display: inline-block;
  margin-bottom: 0.25rem;
  transition: color 0.3s;
}

.contact-link:hover { color: var(--mid); }

.contact-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mid);
  display: block;
}

.contact-text strong {
  color: var(--ink);
  font-weight: 500;
  font-family: var(--sans);
}

.contact-map {
  margin-top: 1.5rem;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/10;
  background: var(--paper);
  overflow: hidden;
  position: relative;
  z-index: 1;
  border: 1px solid var(--rule);
}

.custom-map-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--logo-grey);
  text-transform: uppercase;
  pointer-events: none;
  text-shadow: 2px 2px 0 var(--paper), -2px -2px 0 var(--paper), 2px -2px 0 var(--paper), -2px 2px 0 var(--paper);
  white-space: nowrap;
  text-align: center;
}

.contact-map-inner {
  width: 100%;
  height: 100%;
  filter: sepia(10%) contrast(1.05);
  transition: filter 0.5s ease;
}

.contact-map:hover .contact-map-inner { filter: sepia(0%) contrast(1.05); }

/* ─── LEADERSHIP ─── */
.leadership-section { margin-bottom: 10rem; }

.leadership-header {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--soft);
  margin-bottom: 2rem;
  display: block;
  border-top: 1px solid var(--rule);
  padding-top: 2.5rem;
}

.leadership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.leader-card {
  display: flex;
  flex-direction: column;
}

/* UPDATED LEADERSHIP TYPOGRAPHY */
.leader-name {
  font-family: var(--nav-font);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.35rem 0;
  line-height: 1.2;
}

.leader-name-creds {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  margin-left: 0.25rem;
}

.leader-title {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--mid);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: block;
}

.leader-bio {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--mid);
  margin-bottom: 2rem;
}

.leader-bio p { margin-bottom: 1rem; }

.leader-creds {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--mid);
}

.leader-creds strong {
  color: var(--ink);
  font-weight: 600;
  font-family: var(--sans);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.leadership-wrap {
  padding: 0 6rem;
  margin: 0 auto 12rem;
  max-width: 1800px;
}

@media (min-width: 1025px) {
  .leader-creds { min-height: 140px; }
  @supports (grid-template-rows: subgrid) {
    .leadership-grid { grid-template-rows: max-content max-content 1fr max-content; gap: 0 6rem; }
    .leader-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; }
    .leader-creds { margin-top: 0; min-height: 0; }
  }
}

/* Studio Mobile Overrides */
@media (max-width: 1024px) {
  .studio-bleed-row,
  .studio-bleed-row.reverse,
  .studio-bleed-row.text-wide-left,
  .studio-bleed-row.img-wide-left {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 0 3rem;
    margin-bottom: 8rem;
  }
  .st-img.img-left,
  .st-text.text-right,
  .st-text.text-left,
  .st-img.img-right { grid-column: 1 / -1; }
  .st-img.img-left,
  .st-img.img-right { margin-left: -3rem; width: calc(100% + 6rem); }
  .st-text.text-left { order: 2; text-align: left; }
  .st-text.text-right { text-align: left; }
  .st-img.img-right { order: 1; }
  
  .leadership-wrap {
    padding: 0 3rem;
    margin-bottom: 8rem;
  }
  .studio-split,
  .studio-split.reverse {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 6rem;
  }
  .studio-split.reverse .studio-split-img { order: 1; }
  .studio-split.reverse .studio-split-text { order: 2; }
  .studio-split-text { padding: 0; }
  .studio-split-img { aspect-ratio: 1; }
}

@media (max-width: 768px) {
  /* Scale down the manifesto for mobile */
  .st-manifesto p {
    font-size: 1.05rem;
  }
}

@media (max-width: 600px) {
  .studio-bleed-row,
  .studio-bleed-row.reverse,
  .studio-bleed-row.text-wide-left,
  .studio-bleed-row.img-wide-left {
    padding: 0 2rem;
    margin-bottom: 6rem;
    gap: 3rem;
  }
  .st-img.img-left,
  .st-img.img-right { margin-left: -2rem; width: calc(100% + 4rem); }
  .leadership-wrap { padding: 0 2rem; margin-bottom: 6rem; }
  .contact-map { max-width: 100%; }
}

/* ==========================================================================
   STUDIO & CONTACT PAGE LOAD ANIMATIONS
   ========================================================================== */
.st-text,
.st-desc,
.st-manifesto,
.leader-card,
.contact-block {
  transform: none !important;
}

.st-img,
.studio-split-img,
.contact-map {
  animation: mediaRiseOnLoad 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}