/* ==========================================================================
   Fortune Group — "Industries we serve": heading cut by a laser, cards cut from the sheet
   ========================================================================== */
@property --cutp { syntax: "<percentage>"; inherits: true; initial-value: 0%; }

.gf-ind {
  --i-ink: #1b1f24;
  --i-soft: #5a636d;
  --i-line: rgba(27, 31, 36, 0.1);
  --i-mist: #f3f5f7;
  --i-red: #d90a0a;
  --i-grad: linear-gradient(100deg, #ff3b2f 0%, #d90a0a 45%, #7e0606 100%);
  --i-font: "Archivo", "Manrope", system-ui, sans-serif;
  --i-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* label */
.gf-ind .laser-label {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 0; margin-bottom: 20px;
  background: none; border: 0; border-radius: 0;
  font: 600 15px/1 var(--i-font);
  letter-spacing: 0; text-transform: none;
  color: var(--i-red);
}
.gf-ind .laser-label::before, .gf-ind .laser-label::after { content: ""; width: 34px; height: 2px; background: var(--i-grad); }
.gf-ind .laser-label::after { transform: scaleX(-1); }

/* ------------------------------------------------------------ cut heading */
.gf-ind .gf-cut {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin: 0 auto 22px;
  font-family: var(--i-font);
  font-variation-settings: "wdth" 112;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--i-ink);
}
.gf-ind .gf-cut span { color: inherit; }
.gf-cut__text { display: block; }
.gf-cut__text > span {
  background: var(--i-grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent !important;
}
/* the sheet before cutting: everything right of the laser is masked */
.gf-ind .gf-cut__text { clip-path: inset(-12% calc(100% - var(--cutp)) -12% 0); }
/* red-hot band just behind the laser — "lighten" turns only the dark letters red */
.gf-cut__heat {
  position: absolute; top: -6%; bottom: -6%;
  left: calc(var(--cutp) - 22%); width: 22%;
  background: linear-gradient(90deg, rgba(255, 40, 20, 0) 0%, rgba(255, 50, 25, 0.75) 70%, rgba(255, 210, 190, 1) 100%);
  mix-blend-mode: lighten;
  opacity: 0;
  pointer-events: none;
}
.gf-cut__laser {
  position: absolute; top: -14%; bottom: -14%;
  left: var(--cutp);
  width: 2px; margin-left: -1px;
  background: linear-gradient(180deg, rgba(255, 59, 47, 0), #ff3b2f 14%, #fff 50%, #d90a0a 86%, rgba(217, 10, 10, 0));
  box-shadow: 0 0 10px 2px rgba(255, 40, 20, 0.6), 0 0 34px 8px rgba(217, 10, 10, 0.25);
  opacity: 0;
  pointer-events: none;
}
.gf-cut__laser i { /* sparks thrown off the cut */
  position: absolute; left: 0; top: 50%;
  width: 3px; height: 3px; border-radius: 50%;
  background: #ff5a3c;
  box-shadow: 0 0 6px #ff3b2f;
  opacity: 0;
}
.gf-ind.is-in .gf-cut { --cutp: 100%; transition: --cutp 2s cubic-bezier(0.5, 0.05, 0.3, 1) 0.15s; }
.gf-ind.is-in .gf-cut__laser { animation: gf-cut-show 2s linear 0.15s both; }
.gf-ind.is-in .gf-cut__heat { animation: gf-heat 2.6s ease-out 0.15s both; }
.gf-ind.is-in .gf-cut__laser i { animation: gf-spark 0.5s ease-out infinite; animation-iteration-count: 4; }
.gf-cut__laser i:nth-child(1) { --sx: -26px; --sy: -18px; animation-delay: 0.2s !important; }
.gf-cut__laser i:nth-child(2) { --sx: -34px; --sy: 10px; animation-delay: 0.35s !important; }
.gf-cut__laser i:nth-child(3) { --sx: -18px; --sy: 26px; animation-delay: 0.5s !important; }
.gf-cut__laser i:nth-child(4) { --sx: -40px; --sy: -4px; animation-delay: 0.65s !important; }
.gf-cut__laser i:nth-child(5) { --sx: -22px; --sy: -30px; animation-delay: 0.8s !important; }
.gf-cut__laser i:nth-child(6) { --sx: -30px; --sy: 22px; animation-delay: 0.95s !important; }
@keyframes gf-cut-show { 0% { opacity: 0; } 5% { opacity: 1; } 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes gf-heat { 0% { opacity: 0; } 8% { opacity: 1; } 75% { opacity: 1; } 100% { opacity: 0; } }
@keyframes gf-spark { 0% { opacity: 1; transform: translate(0, 0); } 100% { opacity: 0; transform: translate(var(--sx), var(--sy)); } }

.gf-ind .gf-ind__sub {
  margin: 0 auto;
  max-width: 62ch;
  font-size: 17px; line-height: 1.7;
  color: var(--i-soft);
  opacity: 0; transform: translateY(14px);
}
.gf-ind.is-in .gf-ind__sub { opacity: 1; transform: none; transition: opacity 0.8s ease 1.6s, transform 0.9s var(--i-ease) 1.6s; }

/* ---------------------------------------------------------------- cards */
.gf-ind .li-cards { gap: 16px; }
.gf-ind .li-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 26px 24px 24px;
  background: #fff;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  isolation: isolate;
  transition: transform 0.45s var(--i-ease), box-shadow 0.45s var(--i-ease);
}
.gf-ind .li-card::before { /* sheet texture: faint grid at the top of the card */
  content: "";
  position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background-image: linear-gradient(rgba(27, 31, 36, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(27, 31, 36, 0.045) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%);
  opacity: 0; transition: opacity 0.4s;
}
/* kerf: the laser traces the card outline, glowing red, then cools to steel grey */
.gf-kerf { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 2; }
.gf-kerf rect {
  x: 0.75px; y: 0.75px;
  width: calc(100% - 1.5px); height: calc(100% - 1.5px);
  rx: 6px;
  fill: none;
  stroke: rgba(27, 31, 36, 0.12);
  stroke-width: 1.5;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.gf-ind.is-in .gf-kerf rect {
  animation: gf-kerf 1.6s cubic-bezier(0.45, 0, 0.3, 1) calc(var(--d) * 0.13s + 0.9s) both;
}
@keyframes gf-kerf {
  0% { stroke-dashoffset: 1; stroke: #ff3b2f; filter: drop-shadow(0 0 4px rgba(255, 40, 20, 0.9)); }
  70% { stroke-dashoffset: 0; stroke: #ff3b2f; filter: drop-shadow(0 0 4px rgba(255, 40, 20, 0.9)); }
  100% { stroke-dashoffset: 0; stroke: rgba(27, 31, 36, 0.12); filter: none; }
}
.gf-ind .gf-ind-card > :not(.gf-kerf) { opacity: 0; transform: translateY(10px); }
.gf-ind.is-in .gf-ind-card > :not(.gf-kerf) {
  opacity: 1; transform: none;
  transition: opacity 0.6s ease calc(var(--d) * 0.13s + 1.6s), transform 0.7s var(--i-ease) calc(var(--d) * 0.13s + 1.6s);
}

.gf-ind .li-card-icon {
  width: 52px; height: 52px; margin-bottom: 22px;
  display: grid; place-items: center;
  border-radius: 6px;
  background: var(--i-mist);
  color: var(--i-ink);
  font-size: 20px;
  transition: background 0.35s, color 0.35s, transform 0.45s var(--i-ease);
}
.gf-ind .li-card-title { font: 700 19px/1.25 var(--i-font); letter-spacing: -0.01em; color: var(--i-ink); margin-bottom: 10px; }
.gf-ind .li-card-desc { font-size: 14px; line-height: 1.65; color: var(--i-soft); margin-bottom: 18px; }
.gf-ind .li-card-tag {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 0; background: none; border: 0; border-radius: 0;
  font: 700 13px/1 var(--i-font);
  letter-spacing: 0; text-transform: none;
  color: var(--i-red);
}
.gf-ind .li-card-tag::before { content: ""; width: 18px; height: 2px; background: var(--i-grad); transition: width 0.35s var(--i-ease); }

.gf-ind .gf-ind-card:hover { transform: translateY(-5px); box-shadow: 0 30px 56px -34px rgba(27, 31, 36, 0.45); }
.gf-ind .gf-ind-card:hover::before { opacity: 1; }
.gf-ind .gf-ind-card:hover .gf-kerf rect { stroke: var(--i-red); stroke-dasharray: 0.04 0.02; animation: gf-kerf-run 1.4s linear infinite; }
.gf-ind .gf-ind-card:hover .li-card-icon { background: var(--i-grad); color: #fff; transform: rotate(-6deg); }
.gf-ind .gf-ind-card:hover .li-card-tag::before { width: 32px; }
@keyframes gf-kerf-run { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -0.06; } }

/* CTA card */
.gf-ind .gf-ind-cta {
  justify-content: center; align-items: flex-start;
  color: #fff;
  background:
    radial-gradient(70% 60% at 85% 10%, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0) 70%),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 20px 20px,
    var(--i-grad);
  opacity: 0; transform: translateY(14px);
}
.gf-ind.is-in .gf-ind-cta { opacity: 1; transform: none; transition: opacity 0.7s ease calc(var(--d) * 0.13s + 1.4s), transform 0.8s var(--i-ease) calc(var(--d) * 0.13s + 1.4s); }
.gf-ind-cta__kicker { font: 600 14px/1 var(--i-font); color: rgba(255, 255, 255, 0.8); margin-bottom: 12px; }
.gf-ind-cta__title { font: 800 24px/1.15 var(--i-font); font-variation-settings: "wdth" 110; letter-spacing: -0.02em; margin-bottom: 22px; }
.gf-ind-cta__btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  background: #fff; color: var(--i-red);
  font: 700 14px/1 var(--i-font); text-decoration: none;
  transition: transform 0.25s var(--i-ease);
}
.gf-ind-cta__btn:hover { color: var(--i-red); transform: translateX(3px); }
.gf-ind-cta__tel { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: rgba(255, 255, 255, 0.9); font: 700 14px/1 var(--i-font); text-decoration: none; }
.gf-ind-cta__tel:hover { color: #fff; }

/* static fallback (no JS observer / reduced motion) */
.gf-ind.is-static .gf-cut { --cutp: 100%; }
.gf-ind.is-static .gf-cut__laser, .gf-ind.is-static .gf-cut__heat { display: none; }
@media (prefers-reduced-motion: reduce) {
  .gf-ind .gf-cut { --cutp: 100% !important; transition: none !important; }
  .gf-cut__laser, .gf-cut__heat { display: none; }
  .gf-ind .gf-ind__sub, .gf-ind .gf-ind-card > :not(.gf-kerf), .gf-ind .gf-ind-cta { opacity: 1 !important; transform: none !important; transition: none !important; }
  .gf-kerf rect { stroke-dashoffset: 0 !important; animation: none !important; }
}

/* press brake "What you gain" grid (was a fixed 3-column inline grid that crushed text on phones) */
.pb-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }
@media (max-width: 991px) { .pb-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (max-width: 600px) { .pb-benefits { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; } }

/* FAQ headings: two tidy lines instead of four */
.lf-layout { grid-template-columns: 1.15fr 1.45fr; }
.lf-left .laser-heading {
  font-family: "Archivo", "Manrope", system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
  font-weight: 800;
  font-size: clamp(26px, 2.15vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

/* match the site-wide card style (22px corners, red icon tile, red top bar on hover) */
.gf-ind .li-card { border-radius: 22px; border: 1.5px solid rgba(188, 0, 0, 0.10); }
.gf-kerf rect { rx: 22px; }
.gf-ind .li-card-icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(188, 0, 0, 0.10); color: #BC0000; font-size: 24px; transform: none !important; }
.gf-ind .li-card-icon i { color: #BC0000; }
.gf-ind .gf-ind-card:hover .li-card-icon { background: #BC0000; transform: none !important; }
.gf-ind .gf-ind-card:hover .li-card-icon i { color: #fff; }
.gf-ind .gf-ind-card:hover { transform: translateY(-8px); box-shadow: 0 12px 40px rgba(188, 0, 0, 0.18); border-color: rgba(188, 0, 0, 0.22); }
.gf-ind .gf-ind-card::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #BC0000; transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); z-index: 3; }
.gf-ind .gf-ind-card:hover::after { transform: scaleX(1); }
.gf-ind .gf-ind-cta { border-radius: 22px; }
