/* Editorial profiles: page-specific responsive composition */
body[data-helper-page] > main.team-page {
  position: relative;
  z-index: 0;
  display: grid;
  gap: clamp(1.15rem, 2.1vw, 2rem);
  width: min(100%, 90rem);
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 5rem) clamp(1rem, 5vw, 5rem) clamp(3rem, 7vw, 7rem);
  color: #4c0200;
  font-family: "Special Gothic", Arial, sans-serif;
}
.team-page section { min-width: 0; }
.team-page h1, .team-page h2, .team-page p { margin-top: 0; }
.team-page h1, .team-page h2 { color: #4c0200; letter-spacing: -0.04em; }
.team-page h1 { margin-bottom: 1rem; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .98; }
.team-page h2 { margin-bottom: 1rem; font-size: clamp(1.9rem, 3.2vw, 3.35rem); line-height: 1.02; }
.team-page p { margin-bottom: 0; font-size: clamp(1rem, 1.2vw, 1.2rem); line-height: 1.65; }
.team-page .eyebrow { margin: 0 0 1rem; color: #7c322c; font-size: .76rem; font-weight: 800; letter-spacing: .14em; line-height: 1.3; text-transform: uppercase; }
.team-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 12rem;
  align-items: center;
  gap: 2rem;
  min-height: 21rem;
  padding: clamp(2rem, 5vw, 4.8rem);
  overflow: hidden;
  border-radius: 2rem;
  background: #fff963;
}
.team-intro__copy { max-width: 54rem; }
.team-intro__lead { max-width: 45rem; font-size: clamp(1.1rem, 1.6vw, 1.45rem) !important; }
.team-intro__stamp { display: grid; width: 11rem; aspect-ratio: 1; place-items: center; border: 1px solid rgb(76 2 0 / 28%); border-radius: 50%; background: #f8b4d2; transform: rotate(8deg); }
.team-intro__stamp span { align-self: end; font-size: .78rem; font-weight: 700; line-height: 1.25; text-align: center; text-transform: uppercase; }
.team-intro__stamp b { align-self: start; font-size: 2.4rem; line-height: 1.1; }
.team-profile { display: grid; grid-template-columns: minmax(16rem, .9fr) minmax(0, 1.1fr); min-height: 27rem; overflow: hidden; border-radius: 2rem; background: #f5b9df; }
.team-profile--olivia { background-color: #f5b9df; }
.team-profile--emma { grid-template-columns: minmax(0, 1.1fr) minmax(16rem, .9fr); background: #afe5f5; }
.team-profile--emma .team-profile__portrait { order: 2; }
.team-profile__portrait { min-height: 24rem; background: #ead4c7; }
.team-profile__portrait img { display: block; width: 100%; height: 100%; min-height: 24rem; object-fit: cover; object-position: center 35%; }
.team-profile__body { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(2rem, 5vw, 5rem); }
.team-profile__body p:not(.eyebrow) { max-width: 36rem; }
.profile-index { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid rgb(76 2 0 / 30%); color: #6a2824; font-size: .72rem; font-weight: 800; letter-spacing: .13em; }
.team-principles, .team-review { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; gap: 2rem 5rem; min-height: 18rem; padding: clamp(2rem, 4.5vw, 4.5rem); border-radius: 2rem; background: #fff9f2; }
.team-principles > p, .team-review > p { max-width: 39rem; }
.section-heading { max-width: 36rem; }
.principle-mark { position: absolute; right: 3rem; bottom: 1.5rem; color: rgb(76 2 0 / 10%); font-size: clamp(5rem, 11vw, 10rem); font-weight: 800; letter-spacing: -.08em; line-height: .8; }
.team-review { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); background: #d8f0f7; }
.review-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; grid-column: 1 / -1; margin: 0; padding: 0; list-style: none; }
.review-points li { display: grid; gap: .75rem; min-height: 6rem; padding: 1.2rem; border-radius: 1rem; background: #fff9f2; font-weight: 700; }
.review-points span { color: #7c322c; font-size: .75rem; letter-spacing: .1em; }
.team-workflow { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 1rem; }
.workflow-card { padding: clamp(2rem, 4vw, 4rem); border-radius: 2rem; background: #4c0200; color: #fff9f2; }
.workflow-card h2, .workflow-card p { color: #fff9f2; }
.workflow-card .eyebrow { color: #f8b4d2; }
.workflow-steps { display: grid; align-content: stretch; gap: .75rem; }
.workflow-steps div { display: grid; grid-template-columns: 3rem 1fr; align-content: center; column-gap: .7rem; min-height: 5rem; padding: .9rem 1.2rem; border-radius: 1.2rem; background: #fff963; }
.workflow-steps span { grid-row: span 2; align-self: center; color: #7c322c; font-size: .76rem; font-weight: 800; letter-spacing: .1em; }
.workflow-steps strong { font-size: 1.05rem; }
.workflow-steps small { color: #63302c; font-size: .86rem; }
.team-contact { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 4.5vw, 4.5rem); border-radius: 2rem; background: #f8b4d2; }
.team-contact__text { max-width: 48rem; }
.team-button { display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center; gap: 1.2rem; min-height: 3.75rem; padding: .8rem 1.4rem; border: 2px solid #4c0200; border-radius: 999px; background-color: #fff963; color: #4c0200; font-size: 1rem; font-weight: 800; text-decoration: none; }
.team-button:hover, .team-button:focus-visible { background-color: #fff35a; }
.team-related { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; gap: 1.5rem 4rem; padding: clamp(2rem, 4vw, 4rem); border: 1px solid rgb(76 2 0 / 16%); border-radius: 2rem; background: #fff9f2; }
.team-related > p { max-width: 38rem; }
.policy-links { display: grid; gap: .7rem; grid-column: 1 / -1; }
.policy-links a { display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: 1rem; min-height: 4.3rem; padding: .8rem 1.2rem; border-radius: 1rem; background: #afe5f5; color: #4c0200; text-decoration: none; }
.policy-links a:nth-child(2) { background: #fff963; }
.policy-links span { font-size: .75rem; font-weight: 800; letter-spacing: .1em; }
.policy-links b { font-size: 1.2rem; }
.team-page a:focus-visible { outline: 3px solid #4c0200; outline-offset: 4px; }
@media (max-width: 760px) {
  body[data-helper-page] > main.team-page { gap: 1rem; padding: 1.25rem 1rem 3rem; }
  .team-intro { grid-template-columns: minmax(0, 1fr); min-height: auto; padding: 2rem 1.4rem; }
  .team-intro__stamp { position: absolute; right: -1.8rem; bottom: -2.2rem; width: 8rem; opacity: .8; }
  .team-intro__stamp span { font-size: .62rem; }
  .team-intro__stamp b { font-size: 1.8rem; }
  .team-intro__lead { max-width: 90%; }
  .team-profile, .team-profile--emma { grid-template-columns: minmax(0, 1fr); }
  .team-profile--emma .team-profile__portrait { order: 0; }
  .team-profile__portrait, .team-profile__portrait img { min-height: 19rem; max-height: 24rem; }
  .team-profile__body { padding: 2rem 1.5rem; }
  .profile-index { margin-top: 1.8rem; }
  .team-principles, .team-review, .team-related { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; padding: 2rem 1.4rem; }
  .principle-mark { right: 1.5rem; bottom: 1rem; font-size: 5rem; }
  .review-points { gap: .5rem; }
  .review-points li { min-height: 5.2rem; padding: .85rem; font-size: .9rem; }
  .team-workflow { grid-template-columns: minmax(0, 1fr); }
  .workflow-card { padding: 2rem 1.4rem; }
  .team-contact { align-items: flex-start; flex-direction: column; padding: 2rem 1.4rem; }
  .team-related { padding: 2rem 1.4rem; }
}
@media (max-width: 420px) {
  .team-page h1 { font-size: 2.65rem; }
  .team-page h2 { font-size: 1.8rem; }
  .review-points li { font-size: .8rem; }
  .policy-links a { grid-template-columns: 2rem 1fr auto; gap: .6rem; padding-inline: .85rem; }
}
/* Keep the accepted home navigation in its own opaque row above this page's hero. */
body[data-helper-page] header[data-homepage-region] .header-layer {
  position: relative;
  inset: auto;
  background-color: #c9cdd4;
}
