/* Infrastructure pages and the repeat transformer case study.
   Builds on fscs-* (main stylesheet), fsi-* (iso-v2.css) and fsf-* (forms-v1.css). */
.fsin-hero{position:relative;display:flex;align-items:flex-end;min-height:clamp(440px,68vh,680px);overflow:hidden;background:#20250f;color:#fff}
.fscs .fsin-hero{padding:0}
.fsin-hero-media,.fsin-hero-media img{position:absolute;inset:0;width:100%;height:100%}
.fsin-hero-media img{object-fit:cover;object-position:52% 42%}
.fsin-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(14,17,7,.78) 0%,rgba(14,17,7,.55) 38%,rgba(14,17,7,.12) 72%,rgba(14,17,7,0) 100%),linear-gradient(180deg,rgba(14,17,7,0) 35%,rgba(14,17,7,.55) 100%)}
@media (max-width:767px){.fsin-hero::after{background:linear-gradient(180deg,rgba(14,17,7,0) 0%,rgba(14,17,7,.05) 18rem,rgba(14,17,7,.78) 26rem,rgba(14,17,7,.9) 100%)}.fscs .fsin-hero .fscs-wrap{padding-top:17rem}.fscs .fsin-hero-media img{object-position:50% 0}.fsin-hero-media{height:100%}}
.fsin-hero .fscs-lede,.fsin-hero .fscs-h1{text-shadow:0 1px 2px rgba(0,0,0,.35)}
.fsin-hero .fscs-wrap{position:relative;z-index:1;padding-top:6rem;padding-bottom:2.75rem}
.fsin-hero .fscs-h1{color:#fff;max-width:24ch;text-wrap:balance}
.fsin-hero .fscs-lede{color:rgba(255,255,255,.92);max-width:66ch}
.fsin-hero .fscs-eyebrow{color:hsl(42 85% 76%)}
.fsin-crumb .fscs-crumb-link,.fsin-crumb .fscs-crumb-sep,.fsin-crumb .fscs-crumb-current{color:rgba(255,255,255,.88)}
.fsin-crumb .fscs-crumb-link:focus-visible{outline:2px solid #fff;outline-offset:2px}
.fsin-facts{display:grid;grid-template-columns:1fr;gap:0;margin:0 0 2rem;border:1px solid hsl(var(--border));border-radius:.75rem;background:hsl(var(--card));overflow:hidden}
@media (min-width:768px){.fsin-facts{grid-template-columns:repeat(3,1fr)}}
@media (min-width:1024px){.fsin-facts{grid-template-columns:repeat(5,1fr)}}
.fsin-facts>div{padding:1rem 1.1rem;border-bottom:1px solid hsl(var(--border))}
@media (min-width:1024px){.fsin-facts>div{border-bottom:0;border-right:1px solid hsl(var(--border))}.fsin-facts>div:last-child{border-right:0}}
.fsin-facts dt{font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:hsl(var(--muted-foreground));margin:0 0 .3rem}
.fsin-facts dd{margin:0;font-weight:600;color:hsl(var(--primary));line-height:1.4}
.fsin-facts .fsin-facts-logo{display:block;height:28px;width:120px;object-fit:contain;object-position:left center;margin:.2rem 0 .45rem}
.fsin-stages{list-style:none;margin:1.25rem 0 2rem;padding:0;position:relative}
.fsin-stages::before{content:"";position:absolute;left:1.1rem;top:.5rem;bottom:.5rem;width:2px;background:hsl(var(--border))}
.fsin-stage{position:relative;display:flex;gap:1rem;margin:0 0 1.5rem}
.fsin-stage-n{position:relative;z-index:1;flex:0 0 2.2rem;height:2.2rem;border-radius:999px;background:hsl(var(--primary));color:hsl(var(--primary-foreground));font-weight:700;display:flex;align-items:center;justify-content:center}
.fsin-stage-body{min-width:0;flex:1}
.fsin-stage-label{margin:.35rem 0 0;font-size:.75rem;letter-spacing:.06em;text-transform:uppercase;font-weight:700;color:hsl(var(--accent))}
.fsin-stage .fscs-h3{margin-top:.15rem}
.fsin-figure{margin:1rem 0 0}
.fsin-figure img{display:block;width:100%;height:auto;border-radius:.75rem;background:hsl(var(--secondary))}
.fsin-figure figcaption{margin-top:.5rem;font-size:.8125rem;line-height:1.5;color:hsl(var(--muted-foreground))}
.fsin-statement{border-left:4px solid hsl(var(--primary));background:hsl(var(--secondary));padding:1rem 1.15rem;border-radius:.5rem;font-weight:600;color:hsl(var(--primary));line-height:1.6;max-width:74ch}
.fsin-gallery{list-style:none;margin:1rem 0 0;padding:0;display:grid;grid-template-columns:1fr;gap:1.25rem}
@media (min-width:640px){.fsin-gallery{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){.fsin-gallery{grid-template-columns:repeat(3,1fr)}}
.fsin-gallery img{aspect-ratio:4/3;object-fit:cover}
.fsin-band{padding:2rem 0 0;background:hsl(var(--background))}
.fsin-band-figure img{aspect-ratio:16/7;object-fit:cover;object-position:50% 60%}
@media (max-width:639px){.fsin-band-figure img{aspect-ratio:4/3}}
/* Homepage: repeat infrastructure appointments */
.fsin-repeat{background:hsl(var(--secondary));padding:3.5rem 0}
.fsin-repeat-wrap{width:100%;max-width:1100px;margin:0 auto;padding:0 1.25rem}
.fsin-repeat-eyebrow{color:hsl(var(--primary));text-transform:uppercase;letter-spacing:.08em;font-size:.75rem;font-weight:700;margin:0 0 .6rem}
.fsin-repeat-h2{font-family:var(--font-heading,inherit);color:hsl(var(--primary));font-size:1.75rem;line-height:1.2;font-weight:700;margin:0 0 .75rem}
.fsin-repeat-lede{color:hsl(66 16% 26%);font-size:1.0625rem;line-height:1.7;max-width:70ch;margin:0 0 1.75rem}
.fsin-repeat-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr;gap:1.25rem}
@media (min-width:768px){.fsin-repeat-grid{grid-template-columns:1fr 1fr}}
.fsin-repeat-card{background:hsl(var(--card));border:1px solid hsl(var(--border));border-radius:.9rem;overflow:hidden;display:flex;flex-direction:column}
.fsin-repeat-card img{display:block;width:100%;height:auto;aspect-ratio:16/10;object-fit:cover}
.fsin-repeat-body{padding:1.15rem 1.25rem 1.3rem;display:flex;flex-direction:column;gap:.45rem;flex:1}
.fsin-repeat-tag{align-self:flex-start;font-size:.75rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:hsl(var(--primary));background:hsl(var(--secondary));border-radius:999px;padding:.25rem .65rem}
.fsin-repeat-title{font-family:var(--font-heading,inherit);font-weight:700;font-size:1.125rem;line-height:1.35;color:hsl(var(--primary));margin:0}
.fsin-repeat-title a{color:inherit;text-decoration:none}
.fsin-repeat-title a:hover,.fsin-repeat-title a:focus-visible{text-decoration:underline}
.fsin-repeat-text{margin:0;color:hsl(var(--muted-foreground));font-size:.9375rem;line-height:1.6;flex:1}
.fsin-repeat-ctas{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;align-items:center;margin-top:1.75rem}
.fsin-repeat-ctas .fscs-btn{text-decoration:none}
.fsin-link{color:hsl(var(--primary));font-weight:600;text-decoration:underline;text-underline-offset:3px}
/* Merged into the featured project block above it: same background, a divider instead of a new band. */
.fsin-repeat-merged{padding:0 1.25rem 3.5rem}
.fsin-repeat-merged .fsin-repeat-wrap{max-width:1120px;padding:2.25rem 0 0;border-top:1px solid hsl(var(--border))}
.fsin-repeat-merged .fsin-repeat-h2{font-size:1.5rem}
.fsin-repeat-card .fsin-repeat-logo{display:block;height:24px;width:103px;max-width:60%;aspect-ratio:auto;object-fit:contain;object-position:left center;margin:0 0 .35rem}
/* Case studies index card image */
.fsin-cardimg{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:.6rem;margin:0 0 .9rem}
.fscs-card .fsin-card-logo{display:block;height:24px;width:103px;max-width:60%;object-fit:contain;object-position:left center;margin:0 0 .6rem}
/* First transformer case study: "requested back" panel */
.fsin-next{background:hsl(var(--card));border:1px solid hsl(var(--border));border-left:4px solid hsl(var(--accent));border-radius:.75rem;padding:1.25rem 1.4rem;max-width:78ch}
.fsin-next h2{margin-top:0}
