/* One-line SEAN PADILLA layout, preserving the existing 3D letters and motion. */
.cc-hero > div:first-child, .hero-copy-block { container-type: inline-size; }
h1.sp3d-title,
.cc-mobile-polish .cc-hero h1.sp3d-title,
.cc-mobile-polish.cc-personal-mobile .hero h1.sp3d-title,
.hero h1.sp3d-title {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: baseline;
  gap: .36em;
  font-size: clamp(1.625rem, 5.9vw, 5.5rem) !important;
  width: max-content;
  max-width: 100% !important;
  padding-right: .18em;
}
@supports (font-size: 1cqw) {
  h1.sp3d-title,
  .cc-mobile-polish .cc-hero h1.sp3d-title,
  .cc-mobile-polish.cc-personal-mobile .hero h1.sp3d-title,
  .hero h1.sp3d-title {
    font-size: clamp(1.625rem, 12cqw, 5.5rem) !important;
  }
}
.sp3d-title .sp3d-line,
.motion-ready h1.sp3d-title .sp3d-line,
html.motion-active .sp3d-title [data-scroll-ink] {
  flex: 0 0 auto;
  padding: 2px 0 13px !important;
}

/* The homepage is light: retain dimensional lettering with dark, readable faces. */
body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title,
body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-line,
html.motion-active body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-letter {
  color: #103c59 !important;
  -webkit-text-fill-color: #103c59 !important;
}
body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-line:last-child,
html.motion-active body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-line:last-child .sp3d-letter {
  color: #07566b !important;
  -webkit-text-fill-color: #07566b !important;
}
body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-letter {
  text-shadow: 1px 1px 0 #9bb7c6, 2px 2px 0 #6d91a8, 3px 3px 0 #55768d, 5px 7px 9px #163a5526 !important;
}
body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title { filter: none; }
body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-letter::after { display: none !important; }
@media (forced-colors: active) {
  body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-line,
  body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-letter,
  html.motion-active body.cc-unified:not(.cc-personal-mobile) .cc-hero h1.sp3d-title .sp3d-line:last-child .sp3d-letter {
    color: CanvasText !important; -webkit-text-fill-color: CanvasText !important; text-shadow: none !important;
  }
}
