/* ==========================================================================
   Fortune Group — inner page banner ("laser-cut sheet")
   White engineering sheet on the left with the title; the page's photo is
   cut in on the right along a glowing red diagonal kerf.
   ========================================================================== */
section.page-title {
  --pt-ink: #1b1f24;
  --pt-soft: #5a636d;
  --pt-red: #d90a0a;
  --pt-grad: linear-gradient(100deg, #ff3b2f 0%, #d90a0a 45%, #7e0606 100%);
  --pt-font: "Archivo", "Manrope", system-ui, sans-serif;
  position: relative;
  min-height: clamp(420px, 44vw, 560px);
  padding: 150px 0 70px !important;
  display: flex; align-items: center;
  background: linear-gradient(180deg, #fff 0%, #eef1f4 100%) !important; /* photo moves into the cut-out panel */
  overflow: hidden;
  isolation: isolate;
}
section.page-title::before { /* drawing-sheet grid instead of the old dark wash */
  opacity: 1 !important;
  background: none !important;
  background-image: linear-gradient(rgba(27, 31, 36, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 31, 36, 0.05) 1px, transparent 1px) !important;
  background-size: 48px 48px !important;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 70%); mask-image: linear-gradient(90deg, #000 0%, #000 40%, transparent 70%);
  z-index: -2;
}
section.page-title > .auto-container { position: relative; z-index: 2; width: 100%; }

/* title */
section.page-title h2, section.page-title h1 {
  max-width: 11ch;
  margin: 0 0 26px !important;
  font-family: var(--pt-font) !important;
  font-variation-settings: "wdth" 118;
  font-weight: 800 !important;
  font-size: clamp(42px, 5.6vw, 92px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.035em;
  color: var(--pt-ink) !important;
  text-transform: none !important;
}
.gf-pt__kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; font: 600 15px/1 var(--pt-font); color: var(--pt-red); }
.gf-pt__kicker::before { content: ""; width: 34px; height: 2px; background: var(--pt-grad); }

/* breadcrumb as a small path */
section.page-title .bread-crumb { display: inline-flex !important; align-items: center; gap: 0; padding: 10px 18px; margin: 0; border-radius: 999px; background: #fff; border: 1px solid rgba(27, 31, 36, 0.1); box-shadow: 0 14px 30px -22px rgba(27, 31, 36, 0.5); }
section.page-title .bread-crumb li { font: 600 14px/1 var(--pt-font) !important; color: var(--pt-red) !important; margin-right: 12px !important; padding-right: 22px !important; }
section.page-title .bread-crumb li:last-child { margin-right: 0 !important; padding-right: 0 !important; }
section.page-title .bread-crumb li:before { content: "" !important; right: 0 !important; top: 50% !important; width: 8px; height: 8px; margin-top: -4px; border-top: 2px solid rgba(27, 31, 36, 0.35); border-right: 2px solid rgba(27, 31, 36, 0.35); transform: rotate(45deg); }
section.page-title .bread-crumb li a { color: var(--pt-ink) !important; }
section.page-title .bread-crumb li a:hover { color: var(--pt-red) !important; }

.gf-pt__coords { display: flex; align-items: center; gap: 10px; margin-top: 26px; font: 500 13px/1.3 var(--pt-font); color: var(--pt-soft); font-variant-numeric: tabular-nums; }
.gf-pt__coords::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--pt-red); box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--pt-red); }

/* the photo, cut in along a diagonal with a red-hot kerf */
.gf-pt__media {
  position: absolute; z-index: 1;
  top: 0; right: 0; bottom: 0;
  width: 56%;
  background: var(--pt-grad);           /* shows as the red edge of the cut */
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%);
  animation: gf-pt-cut 1.2s cubic-bezier(0.6, 0.05, 0.3, 1) 0.15s forwards;
}
.gf-pt__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  clip-path: polygon(calc(20% + 6px) 0, 100% 0, 100% 100%, 6px 100%);
  transform: scale(1.1);
  animation: gf-pt-zoom 9s ease-out forwards;
}
.gf-pt__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(27, 31, 36, 0.35), rgba(27, 31, 36, 0) 45%); }
.gf-pt__spark { /* a hot point that travels down the cut once */
  position: absolute; z-index: 2; left: 20%; top: 0;
  width: 14px; height: 14px; margin: -7px 0 0 -4px; border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, #ff5a3c 45%, rgba(255, 40, 20, 0) 70%);
  box-shadow: 0 0 18px 6px rgba(255, 40, 20, 0.55);
  opacity: 0;
  animation: gf-pt-spark 1.2s cubic-bezier(0.6, 0.05, 0.3, 1) 0.15s forwards;
}
@keyframes gf-pt-cut { to { clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); } }
@keyframes gf-pt-zoom { to { transform: scale(1); } }
@keyframes gf-pt-spark { 0% { left: 20%; top: 0; opacity: 1; } 92% { opacity: 1; } 100% { left: 0; top: 100%; opacity: 0; } }

/* tablets & phones: photo on top with the cut along its bottom edge */
@media (max-width: 991px) {
  section.page-title { flex-direction: column; align-items: stretch; min-height: 0; padding: 0 0 46px !important; }
  .gf-pt__media { position: relative; width: 100%; height: clamp(200px, 42vw, 320px); margin-top: 72px; margin-bottom: 30px; animation-name: gf-pt-cut-m; }
  .gf-pt__img { clip-path: polygon(0 0, 100% 0, 100% calc(78% - 5px), 0 calc(100% - 5px)); }
  .gf-pt__spark { display: none; }
  section.page-title h2, section.page-title h1 { max-width: none; font-size: clamp(36px, 9vw, 60px) !important; }
}
@keyframes gf-pt-cut-m { from { clip-path: polygon(0 0, 0 0, 0 100%, 0 100%); } to { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); } }
@media (prefers-reduced-motion: reduce) {
  .gf-pt__media { animation: none; clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%); }
  .gf-pt__img { animation: none; transform: none; }
  .gf-pt__spark { display: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 991px) { .gf-pt__media { clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); } }

/* keep the copy on the white sheet, clear of the photo */
@media (min-width: 992px) {
  section.page-title > .auto-container > * { max-width: min(44vw, 640px); }
}
section.page-title > .auto-container > .d-flex { flex-direction: column; align-items: flex-start !important; gap: 18px; }
/* long service titles: smaller, wider measure */
section.page-title.gf-pt--long h2, section.page-title.gf-pt--long h1 { max-width: 20ch; font-size: clamp(32px, 3.3vw, 54px) !important; line-height: 1.02 !important; }
/* intro text and spec pills that some service pages carry in the banner */
section.page-title .page-title_text { max-width: 52ch; margin: 0; font-size: 16px !important; line-height: 1.65 !important; color: var(--pt-soft) !important; }
section.page-title .hero-pills { margin-top: 22px !important; }
section.page-title .hero-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff !important; border: 1px solid rgba(27, 31, 36, 0.12) !important; color: var(--pt-ink) !important; font: 600 13px/1 var(--pt-font) !important; box-shadow: none !important; }
section.page-title .hero-pill i { color: var(--pt-red) !important; }
@media (max-width: 991px) { section.page-title.gf-pt--long h2, section.page-title.gf-pt--long h1 { font-size: clamp(30px, 7.4vw, 44px) !important; } }
