/* The opening block. Identical on every site, deliberately self-contained so
   no host stylesheet can reshape it. Loaded after each site's own CSS. */

.jc-open {
  background: #FFFFFF;
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
}

.jc-open-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}

.jc-open-text { min-width: 0; }

.jc-open-eyebrow {
  margin: 0;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #15171A;
  max-width: none;
}

.jc-open-name {
  margin: 0.45rem 0 0.9rem;
  font-family: inherit;
  font-size: 44px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #15171A;
}

.jc-open-line {
  margin: 0;
  font-family: inherit;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: #15171A;
  max-width: none;
}

.jc-open-para {
  margin: 1.4rem 0 0;
  font-family: inherit;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0;
  color: #15171A;
  max-width: 62ch;
}

.jc-open-portrait {
  margin: 0;
  padding: 0;
  justify-self: end;
  align-self: end;
  width: min(100%, 360px);
}

.jc-open-portrait img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-bottom: 3px solid #1E3A5F;
  border-radius: 0;
  box-shadow: none;
}

/* wide enough for the eyebrow to hold one line */
@media (min-width: 1000px) {
  .jc-open-eyebrow { white-space: nowrap; }
}

@media (max-width: 860px) {
  .jc-open-inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .jc-open-portrait { order: -1; justify-self: start; width: min(70%, 280px); }
  .jc-open-eyebrow { font-size: 16px; }
  .jc-open-name { font-size: 34px; }
  .jc-open-line { font-size: 21px; }
  .jc-open-para { font-size: 18px; margin-top: 1.1rem; }
}
