/* SCC Page Hero */
.scc-page-hero {
  background: var(--scc-teal-dark);
  color: var(--scc-white);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.scc-page-hero__texture {
  position: absolute; inset: 0;
  opacity: 0.05; pointer-events: none;
  background: repeating-linear-gradient(
    -45deg, transparent, transparent 55px,
    rgba(255,255,255,0.5) 55px, rgba(255,255,255,0.5) 56px
  );
}
.scc-page-hero__content { position: relative; z-index: 2; }

.scc-page-hero .scc-section-label {
  color: var(--scc-lime);
  justify-content: center;
}

.scc-page-hero__title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--scc-white);
  margin-bottom: 1rem;
  font-family: var(--scc-font);
}
.scc-page-hero__title em {
  font-style: normal;
  color: var(--scc-lime);
}
.scc-page-hero__subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
  font-family: var(--scc-font);
}

@media (max-width: 768px) {
  .scc-page-hero { padding: 3rem 0 2.5rem; }
  .scc-page-hero__subtitle { font-size: 0.95rem; }
}
@media (max-width: 480px) {
  .scc-page-hero { padding: 2.5rem 0 2rem; }
  .scc-page-hero__title { font-size: 1.8rem; }
}

/* ── Light look (is-style-light): white, left-aligned, title beside the
   intro on wide screens. Sizes are em so the font size setting scales it. */
.scc-page-hero.is-style-light {
  container: scc-ph / inline-size;
  overflow: visible;
  padding: 0; /* spacing is the block's Padding setting, not CSS (the Light inserter entry arrives with it set) */
  background: var(--scc-paper, #fff);
  color: var(--scc-ink, #1c2a31);
  font-size: 1.125rem;
  text-align: start;
}
.scc-page-hero.is-style-light .scc-container {
  max-width: none;
  margin: 0;
  padding: 0; /* in the column: the theme supplies the edges */
}
.scc-page-hero.is-style-light.alignfull .scc-container {
  box-sizing: border-box;
  max-width: var(--scc-inner, 90rem);
  margin-inline: auto;
  padding-inline: var(--scc-gutter, 2rem);
}
.scc-page-hero.is-style-light .scc-page-hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}
.scc-page-hero.is-style-light .scc-page-hero__title {
  margin: 0;
  color: var(--scc-teal, #0e4b64);
  font-size: clamp(2.311em, 9vw, 4.356em);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.scc-page-hero.is-style-light .scc-page-hero__subtitle {
  max-width: 30em;
  margin: 0;
  color: var(--scc-muted, #3c4a50);
  font-size: 1.022em;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
@container scc-ph (min-width: 56rem) {
  .scc-page-hero.is-style-light .scc-page-hero__content {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    column-gap: clamp(2rem, 5vw, 4.5rem);
    align-items: end;
  }
}
/* The older breakpoints above are for the Default look only. */
@media (max-width: 768px) {
  .scc-page-hero.is-style-light { padding: 0; /* spacing is the block's Padding setting, not CSS (the Light inserter entry arrives with it set) */ }
  .scc-page-hero.is-style-light .scc-page-hero__subtitle { font-size: 1.022em; }
}
@media (max-width: 480px) {
  .scc-page-hero.is-style-light .scc-page-hero__title { font-size: clamp(2.311em, 9vw, 4.356em); }
}
/* A text color set on the block reaches the muted intro too. */
.scc-page-hero.is-style-light.has-text-color .scc-page-hero__subtitle { color: inherit; }

/* ══ Studio design (1.47.3) ═══════════════════════════════════════════════════
   Full-width photo, a soft shade behind centred white text, and room at the
   bottom for the Support Jump Nav that follows (it overlaps that room).
   With no photo the hero is flat deep teal with the same text.
   Specificity (0,2,1) beats the Default and Light looks above. */
section.scc-page-hero.scc-page-hero--studio {
  --scc-sh-teal: var(--scc-teal-deeper, #072d3b);
  --scc-sh-room: 9.5rem;
  box-sizing: border-box;
  position: relative;
  display: flex;
  min-height: 36rem;
  padding: 0 0 var(--scc-sh-room);
  background: var(--scc-sh-teal);
  color: #fff;
  overflow: hidden;
  text-align: center;
  font-size: 1rem;
}
.scc-page-hero--studio .scc-sh__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  max-width: none; margin: 0;
  object-fit: cover;
}
.scc-page-hero--studio .scc-sh__shade {
  position: absolute; inset: 0;
  background: rgba(7, 45, 59, .08);
}
.scc-page-hero--studio .scc-sh__shade::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 62% 78% at 50% 50%, rgba(7, 45, 59, .7) 0, rgba(7, 45, 59, .67) 68%, transparent 100%);
}
@supports (background: color-mix(in srgb, red, blue)) {
  .scc-page-hero--studio .scc-sh__shade { background: color-mix(in srgb, var(--scc-sh-teal) 8%, transparent); }
  .scc-page-hero--studio .scc-sh__shade::after {
    background: radial-gradient(ellipse 62% 78% at 50% 50%, color-mix(in srgb, var(--scc-sh-teal) 70%, transparent) 0, color-mix(in srgb, var(--scc-sh-teal) 67%, transparent) 68%, transparent 100%);
  }
}
/* The reserved room under the text holds the jump links: the shade there is
   a flat band (the radial glow alone falls off toward the corners, where the
   outer links sit), fading out over the 5rem above it. */
.scc-page-hero--studio .scc-sh__shade::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: calc(var(--scc-sh-room) + 5rem);
  background: linear-gradient(to top, rgba(7, 45, 59, .7) 0, rgba(7, 45, 59, .7) var(--scc-sh-room), transparent 100%);
}
.scc-page-hero--studio .scc-sh__in {
  position: relative; z-index: 2;
  flex: 1; min-width: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 5rem 2rem 2rem;
}
.scc-page-hero--studio .scc-sh__text { max-width: 48rem; min-width: 0; text-align: center; }
.scc-page-hero--studio .scc-sh__title {
  margin: 0;
  font-family: var(--scc-font);
  font-size: calc(clamp(2.4rem, 5.4vw, 4.4rem) * var(--ts, 1));
  font-weight: 700; letter-spacing: -.03em; line-height: 1.04;
  color: #fff;
  overflow-wrap: anywhere; hyphens: auto; text-wrap: balance;
}
.scc-page-hero--studio .scc-sh__lead {
  margin: 1.2rem auto 0; max-width: 36rem;
  font-family: var(--scc-font);
  font-size: calc(clamp(1.05rem, 1.4vw, 1.2rem) * var(--ts, 1));
  font-weight: 500; line-height: 1.6; color: #fff;
  overflow-wrap: anywhere; text-wrap: pretty;
}
.scc-page-hero--studio .scc-sh__since {
  margin: .9rem 0 0;
  font-family: var(--scc-font);
  font-size: calc(1rem * var(--ts, 1));
  font-weight: 400; line-height: 1.5; color: #fff;
}
@media (max-width: 1000px) and (min-width: 701px) {
  section.scc-page-hero.scc-page-hero--studio { --scc-sh-room: 12rem; }
  /* narrower screens: the text block is nearly as wide as the photo, so the glow widens with it */
  .scc-page-hero--studio .scc-sh__shade::after {
    background: radial-gradient(ellipse 100% 78% at 50% 50%, rgba(7, 45, 59, .7) 0, rgba(7, 45, 59, .67) 68%, transparent 100%);
  }
}
@media (max-width: 700px) {
  section.scc-page-hero.scc-page-hero--studio { --scc-sh-room: 0rem; min-height: 0; }
  .scc-page-hero--studio .scc-sh__shade { background: rgba(7, 45, 59, .7); }
  @supports (background: color-mix(in srgb, red, blue)) {
    .scc-page-hero--studio .scc-sh__shade { background: color-mix(in srgb, var(--scc-sh-teal) 70%, transparent); }
  }
  .scc-page-hero--studio .scc-sh__shade::before, .scc-page-hero--studio .scc-sh__shade::after { display: none; }
  .scc-page-hero--studio .scc-sh__in { padding: 3rem 1.25rem; }
  .scc-page-hero--studio .scc-sh__title { font-size: calc(clamp(1.9rem, 9vw, 2.6rem) * var(--ts, 1)); }
}
@media (max-height: 520px) and (orientation: landscape) {
  section.scc-page-hero.scc-page-hero--studio { min-height: 0; }
  .scc-page-hero--studio .scc-sh__in { padding: 2rem 1.25rem; }
}
/* Forced colours: text stays on a solid surface. Print: no photo, black on white. */
@media (forced-colors: active) {
  .scc-page-hero--studio .scc-sh__img, .scc-page-hero--studio .scc-sh__shade { display: none; }
  section.scc-page-hero.scc-page-hero--studio { background: Canvas; color: CanvasText; }
  .scc-page-hero--studio .scc-sh__title, .scc-page-hero--studio .scc-sh__lead, .scc-page-hero--studio .scc-sh__since { color: CanvasText; }
}
@media print {
  section.scc-page-hero.scc-page-hero--studio { min-height: 0; padding-bottom: 0; background: #fff; color: #000; }
  .scc-page-hero--studio .scc-sh__img, .scc-page-hero--studio .scc-sh__shade { display: none; }
  .scc-page-hero--studio .scc-sh__title, .scc-page-hero--studio .scc-sh__lead, .scc-page-hero--studio .scc-sh__since { color: #000; }
}
