/* Faith Engineers
   Palette: mill-finish steel, graphite, brand red, maroon.
   Type: Archivo (width axis) for everything, Cinzel for the wordmark to match the logo lockup. */

:root {
  --steel: #EFF2F3;
  --paper: #FFFFFF;
  --graphite: #1F2428;
  --graphite-2: #2A3036;
  --slate: #56606A;
  --line: #D3D9DD;
  --silver: #AEB5BA;
  --red: #DC2420;
  --red-deep: #B81B18;
  --maroon: #7A1315;
  --maroon-dark: #4A0A0C;
  --tint: #FBECEB;

  --gutter: clamp(20px, 4.5vw, 56px);
  --max: 1280px;
  --radius: 6px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(31,36,40,.06), 0 12px 32px -12px rgba(31,36,40,.18);
  --grad: linear-gradient(118deg, var(--maroon-dark) 0%, var(--maroon) 48%, #A81A19 100%);
  --header-h: 114px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--steel); color: var(--graphite);
  font-family: var(--font); font-size: 1.0625rem; line-height: 1.55;
  font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.hero :focus-visible, .page-hero :focus-visible, .quality :focus-visible, .cta :focus-visible, .process :focus-visible, .footer :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 860px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--graphite); color: #fff; padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }

.ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Type */
h1, h2 { font-variation-settings: "wdth" 112; font-weight: 600; letter-spacing: -0.022em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.3vw, 2.8rem); }
h3 { font-variation-settings: "wdth" 108; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.012em; line-height: 1.2; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; max-width: 34em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .ic { width: 18px; height: 18px; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--graphite); color: var(--graphite); }
.btn-ghost:hover { background: var(--graphite); color: #fff; }
.btn-light { background: #fff; color: var(--maroon); }
.btn-light:hover { background: var(--tint); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--maroon); border-color: #fff; }
.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.text-link:hover { color: var(--red-deep); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: #fff; transition: background-color .25s, color .25s, box-shadow .25s; }
.topbar { height: 38px; overflow: hidden; background: rgba(0,0,0,.24); font-size: .84rem; transition: height .25s var(--ease); }
.topbar-row { height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar-row span, .topbar-row a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar-right { gap: 26px !important; }
.topbar .ic { width: 15px; height: 15px; }
.topbar a:hover { text-decoration: underline; }
.header-row { height: 76px; display: flex; align-items: center; gap: 28px; transition: height .25s var(--ease); }
.site-header.is-stuck { background: #fff; color: var(--graphite); box-shadow: 0 1px 0 var(--line), 0 8px 24px -16px rgba(31,36,40,.3); }
.is-stuck .topbar { height: 0; }
.is-stuck .header-row { height: 66px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark {
  width: 30px; height: 44px; flex: none; background: linear-gradient(180deg, #fff, #C9CED2);
  -webkit-mask: url(assets/logo-mark.png) center / contain no-repeat; mask: url(assets/logo-mark.png) center / contain no-repeat;
}
.is-stuck .brand-mark, .drawer .brand-mark { background: linear-gradient(180deg, var(--red), var(--maroon)); }
.brand-text { display: grid; line-height: 1.15; }
.brand-name { font-family: "Cinzel", Georgia, serif; font-weight: 600; font-size: 1.22rem; letter-spacing: .02em; white-space: nowrap; }
.brand-tag { font-size: .72rem; opacity: .8; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 30px); }
.nav > a, .has-menu > a { display: inline-flex; align-items: center; gap: 5px; text-decoration: none; font-size: .96rem; font-weight: 500; padding: 10px 0; position: relative; white-space: nowrap; }
.nav > a::after, .has-menu > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.is-stuck .nav > a::after, .is-stuck .has-menu > a::after { background: var(--red); }
.nav > a:hover::after, .has-menu:hover > a::after, .nav [aria-current="page"]::after { transform: scaleX(1); }
.caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .2s; }
.has-menu { position: relative; }
.has-menu:hover .caret, .has-menu:focus-within .caret { transform: rotate(180deg); }
.menu {
  position: absolute; top: 100%; left: -18px; width: 330px; padding: 8px; background: #fff; color: var(--graphite);
  border-radius: var(--radius-lg); box-shadow: var(--shadow), 0 0 0 1px var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-size: .95rem; font-weight: 500; }
.menu a:hover { background: var(--steel); }
.menu .ic { width: 20px; height: 20px; color: var(--red); }
.header-cta { min-height: 44px; padding: 0 18px; font-size: .95rem; background: #fff; color: var(--maroon); }
.header-cta:hover { background: var(--tint); }
.is-stuck .header-cta { background: var(--red); color: #fff; }
.is-stuck .header-cta:hover { background: var(--red-deep); }

.menu-btn { display: none; width: 46px; height: 46px; border: 1.5px solid rgba(255,255,255,.4); border-radius: var(--radius); background: none; cursor: pointer; color: inherit; }
.is-stuck .menu-btn { border-color: var(--line); }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-icon { position: relative; margin: auto; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; } .menu-icon::after { top: 6px; }

/* Drawer (phone and tablet menu) */
.scrim { position: fixed; inset: 0; z-index: 59; background: rgba(31,36,40,.5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(420px, 100%);
  display: flex; flex-direction: column; background: #fff; color: var(--graphite);
  transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; overflow-y: auto;
}
.menu-open .drawer { transform: none; visibility: visible; transition-delay: 0s; }
.menu-open .scrim { opacity: 1; visibility: visible; transition-delay: 0s; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; height: 66px; padding-inline: 20px; border-bottom: 1px solid var(--line); flex: none; }
.drawer-close { width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: var(--radius); background: none; cursor: pointer; display: grid; place-items: center; }
.drawer-close svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.drawer-nav { padding: 8px 20px; flex: 1; }
.drawer-nav a { display: flex; align-items: center; justify-content: space-between; min-height: 58px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.2rem; font-weight: 600; font-variation-settings: "wdth" 108; }
.drawer-nav a .ic { width: 20px; height: 20px; color: var(--silver); }
.drawer-nav a[aria-current="page"] { color: var(--red-deep); }
.drawer-nav a[aria-current="page"] .ic { color: var(--red); }
.drawer-foot { padding: 20px; display: grid; gap: 14px; background: var(--steel); flex: none; }
.drawer-foot > a:not(.btn) { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 500; overflow-wrap: anywhere; }
.drawer-foot .ic { width: 20px; height: 20px; color: var(--red); }

/* Phone bottom dock */
.dock { display: none; }

/* ---------- Hero ---------- */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: var(--grad); }
.hero { padding: calc(var(--header-h) + clamp(28px, 5vw, 72px)) 0 clamp(120px, 12vw, 170px); }
.hero-bands { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(118deg, transparent 0 70%, rgba(238,37,36,.34) 70% 79%, transparent 79%),
    linear-gradient(118deg, transparent 0 83%, rgba(238,37,36,.2) 83% 87%, transparent 87%),
    linear-gradient(118deg, rgba(0,0,0,.18) 0 9%, transparent 9%),
    radial-gradient(60% 80% at 80% 20%, rgba(255,120,100,.2), transparent 70%);
}
.hero-mark { position: absolute; right: 3%; top: 50%; width: min(38vw, 520px); aspect-ratio: 590 / 870; background: #fff; opacity: .06; transform: translateY(-46%);
  -webkit-mask: url(assets/logo-mark.png) center / contain no-repeat; mask: url(assets/logo-mark.png) center / contain no-repeat; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); font-size: .88rem; font-weight: 500; margin-bottom: 22px; }
.pill-mark { width: 13px; height: 19px; background: #fff; -webkit-mask: url(assets/logo-mark.png) center / contain no-repeat; mask: url(assets/logo-mark.png) center / contain no-repeat; }
.hero .lead, .page-hero .lead { margin-top: 22px; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.sheet { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), 0 30px 60px -30px rgba(0,0,0,.5); border-radius: var(--radius-lg); padding: clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px) 0; backdrop-filter: blur(2px); }
.sheet-foot { display: flex; justify-content: space-between; gap: 12px; margin: 8px calc(clamp(12px, 2vw, 24px) * -1) 0; padding: 11px clamp(12px, 2vw, 24px); border-top: 1px solid rgba(255,255,255,.18); font-size: .82rem; color: rgba(255,255,255,.75); }
.iso { width: 100%; height: auto; overflow: visible; display: block; }
.iso-gridline { fill: none; stroke: rgba(255,255,255,.2); stroke-width: .5; }
.iso-tank > * { fill: rgba(255,255,255,.07); stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.iso-tank .thin { fill: none; stroke-width: 1; stroke: rgba(255,255,255,.5); }
.iso-pipe, .iso-branch { fill: none; stroke: #fff; stroke-width: 3.4; stroke-linejoin: round; stroke-linecap: round; }
.iso-branch { stroke-width: 2; }
.iso-flow { fill: none; stroke: #FF7A6B; stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1 30; }
.weld { fill: #fff; }
.valve { fill: var(--maroon); stroke: #FF9A8E; stroke-width: 2; stroke-linejoin: round; }
.valve-stem { fill: none; stroke: #FF9A8E; stroke-width: 2; stroke-linecap: round; }
.flange { fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.gauge { fill: var(--maroon); stroke: #fff; stroke-width: 2; }
.gauge-t { font-size: 11px; font-weight: 700; fill: #fff; }
.arrow { fill: #fff; }
.iso-labels text { font-size: 11.5px; font-weight: 500; fill: rgba(255,255,255,.8); }
.leader { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1; }

/* Hero load sequence */
.js .iso-tank > * { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.1s var(--ease) .2s forwards; }
.js .iso-pipe { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2s cubic-bezier(.5,.1,.3,1) .7s forwards; }
.js .iso-branch { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .4s ease-out 2.3s forwards; }
.js .iso-fit, .js .iso-labels { opacity: 0; animation: fade .6s ease-out 2.5s forwards; }
.js .iso-labels { animation-delay: 2.8s; }
.js .iso-flow { opacity: 0; animation: fade .8s ease-out 2.9s forwards, flow 2.4s linear 2.9s infinite; }
.js .hero-copy > *, .js .page-hero .wrap > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
.js .hero-copy > :nth-child(2), .js .page-hero .wrap > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3), .js .page-hero .wrap > :nth-child(3) { animation-delay: .2s; }
.js .hero-copy > :nth-child(4) { animation-delay: .3s; }
.js .sheet { opacity: 0; animation: fade .9s ease-out .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes flow { to { stroke-dashoffset: -31; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Page hero (inner pages) */
.page-hero { padding: calc(var(--header-h) + clamp(36px, 5vw, 64px)) 0 clamp(48px, 6vw, 84px); }
.page-hero .wrap { position: relative; }
.page-hero h1 { max-width: 18em; font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
.crumb { display: flex; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.75); margin-bottom: 18px; }
.crumb a { text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

/* Trust cards */
.trust-wrap { position: relative; z-index: 2; margin-top: clamp(-84px, -6vw, -60px); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.trust li { display: flex; gap: 16px; align-items: flex-start; padding: clamp(20px, 2.4vw, 30px); }
.trust li + li { border-left: 1px solid var(--line); }
.trust .ic { width: 46px; height: 46px; padding: 11px; border-radius: 10px; background: var(--tint); color: var(--red-deep); }
.trust strong { display: block; font-variation-settings: "wdth" 110; font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; }
.trust span { display: block; margin-top: 4px; font-size: .92rem; color: var(--slate); line-height: 1.4; }

/* Clients marquee */
.clients { padding-block: clamp(36px, 5vw, 60px) clamp(8px, 2vw, 20px); overflow: hidden; }
.clients-label { text-align: center; font-size: .95rem; color: var(--slate); margin-bottom: 18px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track li { padding: 8px 30px; font-variation-settings: "wdth" 110; font-weight: 600; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -0.01em; white-space: nowrap; color: var(--graphite); display: flex; align-items: center; gap: 60px; }
.marquee-track li::after { content: ""; width: 7px; height: 7px; background: var(--red); transform: rotate(45deg); margin-right: -30px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-alt { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px 64px; align-items: end; margin-bottom: clamp(32px, 4.5vw, 60px); }
.section-head p { color: var(--slate); max-width: 30em; }
.section-head.on-dark p { color: rgba(255,255,255,.72); }

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px clamp(40px, 7vw, 110px); align-items: center; }
.split-copy > p { margin-top: 20px; color: var(--slate); max-width: 34em; }
.split-copy > .btn, .split-copy > .text-link { margin-top: 30px; }
.checks { margin-top: 24px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; }
.checks .ic { width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: var(--red); color: #fff; stroke-width: 2.6; }
.checks.big { margin-top: 32px; gap: 0; }
.checks.big li { font-size: 1.15rem; padding: 18px 0; border-top: 1px solid var(--line); }

.collage { position: relative; padding: 0 12% 14% 0; }
.collage img { border-radius: var(--radius-lg); object-fit: cover; filter: saturate(.92) contrast(1.04); }
.collage .c1 { width: 100%; aspect-ratio: 5 / 4; }
.collage .c2 { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3 / 4; border: 6px solid var(--steel); box-shadow: var(--shadow); }
.section-alt .collage .c2 { border-color: var(--paper); }
.collage-badge { position: absolute; left: -14px; bottom: 6%; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; max-width: 230px; padding: 16px 18px; border-radius: var(--radius-lg); background: var(--grad); color: #fff; box-shadow: var(--shadow); }
.collage-badge .ic { grid-row: span 2; width: 34px; height: 34px; }
.collage-badge strong { font-variation-settings: "wdth" 112; font-size: 1.6rem; font-weight: 700; line-height: 1; }
.collage-badge span { font-size: .84rem; line-height: 1.3; opacity: .9; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s, transform .4s var(--ease); }
.section-alt .card { background: var(--steel); box-shadow: none; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--line); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(1.04); transition: transform .9s var(--ease); }
.card:hover .card-photo img { transform: scale(1.06); }
.card-icon { position: absolute; left: 22px; top: 0; margin-top: calc(62.5% - 28px); width: 56px; height: 56px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #fff; box-shadow: 0 8px 20px -8px rgba(122,19,21,.7); }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 42px 22px 24px; flex: 1; }
.card-body strong { font-variation-settings: "wdth" 108; font-weight: 600; font-size: 1.25rem; letter-spacing: -0.012em; line-height: 1.2; }
.card-body > span { color: var(--slate); font-size: .98rem; }
.card-body em { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 8px; font-style: normal; font-weight: 600; font-size: .95rem; color: var(--red-deep); }
.card-body em .ic { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.card:hover em .ic { transform: translateX(5px); }

/* Industry chips and cards */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px 12px 14px; background: var(--paper); border-radius: 999px; box-shadow: 0 0 0 1px var(--line); font-weight: 600; font-size: 1.05rem; font-variation-settings: "wdth" 106; }
.chips .ic { width: 20px; height: 20px; color: var(--red); }
.ind-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ind-card { background: var(--paper); border-radius: var(--radius-lg); padding: 26px; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.ind-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad); transform: scaleY(0); transform-origin: top; transition: transform .4s var(--ease); }
.ind-card:hover::after { transform: scaleY(1); }
.ind-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--tint); color: var(--red-deep); margin-bottom: 18px; }
.ind-card h2 { font-size: 1.3rem; letter-spacing: -0.012em; }
.ind-card p { margin-top: 8px; color: var(--slate); font-size: .97rem; }

/* Tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tile { background: var(--steel); border-radius: var(--radius-lg); padding: 28px 24px; }
.tile .ic { width: 50px; height: 50px; padding: 12px; border-radius: 12px; background: var(--grad); color: #fff; margin-bottom: 20px; }
.tile p { margin-top: 8px; color: var(--slate); font-size: .97rem; }
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.client-grid li { background: var(--paper); padding: 24px; font-variation-settings: "wdth" 108; font-weight: 600; font-size: 1.08rem; display: flex; align-items: center; min-height: 84px; }

/* ---------- Process ---------- */
.process { background: var(--graphite); color: #fff; padding-block: clamp(72px, 9vw, 128px); position: relative; overflow: hidden; }
.process::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 85% 0%, rgba(220,36,32,.22), transparent 70%); pointer-events: none; }
.process .wrap { position: relative; }
.flow { --p: 0; position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; padding-top: 74px; }
.flow::before, .flow::after { content: ""; position: absolute; left: 0; right: 0; top: 21px; height: 10px; border-radius: 5px; }
.flow::before { background: var(--graphite-2); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.2); }
.flow::after { background: linear-gradient(90deg, var(--red-deep), #FF5A4D); transform-origin: left center; transform: scaleX(var(--p)); box-shadow: 0 0 18px rgba(220,36,32,.6); }
.step { position: relative; }
.step-node { position: absolute; top: -74px; left: 22px; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: var(--graphite); box-shadow: inset 0 0 0 2px rgba(255,255,255,.28); font-variation-settings: "wdth" 112; font-weight: 700; font-size: 1.15rem; color: rgba(255,255,255,.6); transition: background-color .35s, color .35s, box-shadow .35s, transform .35s var(--ease); }
.step.is-on .step-node { background: var(--red); color: #fff; box-shadow: inset 0 0 0 2px #fff, 0 0 0 6px rgba(220,36,32,.25); transform: scale(1.06); }
.step-card { height: 100%; padding: 24px 22px 26px; border-radius: var(--radius-lg); background: var(--graphite-2); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); transition: background-color .35s, box-shadow .35s, transform .5s var(--ease); }
.step-card .ic { width: 30px; height: 30px; color: rgba(255,255,255,.45); margin-bottom: 16px; transition: color .35s; }
.step-card p { margin-top: 8px; color: rgba(255,255,255,.66); font-size: .96rem; }
.step.is-on .step-card { background: #323941; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transform: translateY(-4px); }
.step.is-on .step-card .ic { color: #FF7A6B; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.filters button { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .95rem; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.filters button:hover { border-color: var(--graphite); }
.filters button.is-active { background: var(--graphite); border-color: var(--graphite); color: #fff; }
.gallery { columns: 3; column-gap: 20px; }
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.strip .shot img { aspect-ratio: 4 / 5; object-fit: cover; height: auto; }
.shot { break-inside: avoid; margin-bottom: 26px; }
.shot[hidden] { display: none; }
.shot button { display: block; width: 100%; padding: 0; border: 0; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; cursor: zoom-in; }
.shot img { width: 100%; filter: saturate(.9) contrast(1.04); transition: transform .9s var(--ease), clip-path 1s var(--ease); }
.shot button:hover img { transform: scale(1.04); }
.shot figcaption { margin-top: 10px; font-size: .92rem; color: var(--slate); }
.js .shot img { clip-path: inset(0 0 100% 0); }
.js .shot.in img { clip-path: inset(0); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1100px); max-height: 94vh; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgba(20, 23, 26, .92); }
.lightbox img { max-height: 80vh; width: auto; max-width: 100%; margin-inline: auto; border-radius: var(--radius); }
.lightbox p { margin-top: 12px; text-align: center; font-size: .95rem; }
.lightbox-close { display: block; margin: 0 0 10px auto; background: none; border: 1.5px solid rgba(255,255,255,.6); color: #fff; border-radius: var(--radius); min-height: 40px; padding: 0 14px; cursor: pointer; font-weight: 600; }
.lightbox-close:hover { background: #fff; color: var(--graphite); }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: 66px; z-index: 30; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.subnav-row { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; }
.subnav-row::-webkit-scrollbar { display: none; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; white-space: nowrap; color: var(--slate); transition: background-color .2s, color .2s; }
.subnav a .ic { width: 18px; height: 18px; }
.subnav a:hover { background: var(--steel); color: var(--graphite); }
.subnav a.is-current { background: var(--tint); color: var(--red-deep); }
.svc-detail { padding-top: clamp(40px, 6vw, 80px); }
.svc-block { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px clamp(36px, 6vw, 96px); align-items: center; padding-block: clamp(36px, 5vw, 64px); scroll-margin-top: 140px; }
.svc-block + .svc-block { border-top: 1px solid var(--line); }
.svc-block.flip .svc-figure { order: 2; }
.svc-figure { position: relative; }
.svc-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); filter: saturate(.92) contrast(1.04); }
.svc-badge { position: absolute; left: 20px; bottom: -22px; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 14px; background: var(--grad); color: #fff; box-shadow: 0 10px 24px -8px rgba(122,19,21,.7); }
.svc-badge .ic { width: 30px; height: 30px; }
.svc-copy > p { margin-top: 18px; color: var(--slate); max-width: 34em; }
.svc-copy .text-link { display: inline-block; margin-top: 28px; }

/* ---------- Quality band ---------- */
.quality { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding-block: clamp(72px, 10vw, 140px); }
.quality-mark { position: absolute; right: -4%; top: 50%; width: min(46vw, 560px); aspect-ratio: 590 / 870; background: #fff; opacity: .07;
  -webkit-mask: url(assets/logo-mark.png) center / contain no-repeat; mask: url(assets/logo-mark.png) center / contain no-repeat;
  transform: translate3d(0, calc(-50% + var(--shift, 0px)), 0); }
.quality-grid { position: relative; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px clamp(32px, 6vw, 96px); align-items: center; }
.quality-head p { margin-top: 22px; color: rgba(255,255,255,.84); max-width: 30em; font-size: 1.1rem; }
.quality-head .btn { margin-top: 30px; }
.qlist { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qlist li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: var(--radius-lg); background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); }
.qlist .ic { width: 30px; height: 30px; }
.qlist span { color: rgba(255,255,255,.82); font-size: .95rem; line-height: 1.4; }
.qlist strong { display: block; color: #fff; font-variation-settings: "wdth" 110; font-size: 1.15rem; margin-bottom: 4px; }

/* ---------- CTA band ---------- */
.cta { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 80px); }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px 48px; flex-wrap: wrap; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--grad); color: #fff; position: relative; overflow: hidden; max-width: calc(var(--max) - 2 * var(--gutter)); }
.cta-row::after { content: ""; position: absolute; right: 4%; top: -20%; width: 180px; aspect-ratio: 590 / 870; background: #fff; opacity: .08; -webkit-mask: url(assets/logo-mark.png) center / contain no-repeat; mask: url(assets/logo-mark.png) center / contain no-repeat; }
.cta-row > * { position: relative; z-index: 1; }
.cta-row p { margin-top: 10px; color: rgba(255,255,255,.84); max-width: 32em; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta > .wrap { padding-inline: var(--gutter); }
.cta .cta-row { width: auto; margin-inline: var(--gutter); }
@media (min-width: 1392px) { .cta .cta-row { margin-inline: auto; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 5vw, 72px); align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-cards li { display: flex; gap: 18px; padding: 24px; background: var(--paper); border-radius: var(--radius-lg); box-shadow: 0 0 0 1px var(--line); }
.contact-cards .ic { width: 48px; height: 48px; padding: 12px; border-radius: 12px; background: var(--tint); color: var(--red-deep); }
.contact-cards div { display: grid; gap: 4px; min-width: 0; }
.contact-cards strong { font-size: .92rem; color: var(--slate); font-weight: 500; }
.contact-cards a:not(.text-link) { text-decoration: none; font-weight: 600; font-size: 1.08rem; overflow-wrap: anywhere; }
.contact-cards a:not(.text-link):hover { color: var(--red-deep); }
.contact-cards .text-link { margin-top: 8px; justify-self: start; }
.form { background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(22px, 3vw, 40px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form h2 { grid-column: 1 / -1; font-size: 1.6rem; margin-bottom: 4px; }
.field { display: grid; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: .92rem; font-weight: 600; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--steel); transition: border-color .2s, background-color .2s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--silver); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--graphite); background: #fff; }
.field .is-invalid { border-color: var(--red); }
.form-error { grid-column: 1 / -1; color: var(--red-deep); font-weight: 500; font-size: .95rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form-note { font-size: .88rem; color: var(--slate); flex: 1 1 220px; }
.map-wrap { height: clamp(300px, 40vw, 460px); background: var(--line); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.3); }

/* ---------- Footer ---------- */
.footer { background: var(--graphite); color: rgba(255,255,255,.72); padding-top: clamp(48px, 6vw, 80px); font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.5fr; gap: 40px 48px; }
.footer .brand { color: #fff; margin-bottom: 18px; }
.footer .brand-mark { background: linear-gradient(180deg, #fff, #BFC4C8); }
.footer-about p { max-width: 26em; }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer ul { display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .ic { width: 18px; height: 18px; margin-top: 3px; color: #FF7A6B; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(36px, 5vw, 60px); padding-block: 22px; border-top: 1px solid rgba(255,255,255,.14); font-size: .88rem; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(3n+2), .js .tiles .reveal:nth-child(2), .js .ind-cards .reveal:nth-child(even) { transition-delay: .08s; }
.js .cards .reveal:nth-child(3n), .js .tiles .reveal:nth-child(3) { transition-delay: .16s; }
.js .tiles .reveal:nth-child(4) { transition-delay: .24s; }

/* ================= Responsive ================= */
@media (max-width: 1180px) {
  .brand-tag { display: none; }
  .nav { gap: 18px; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust li:nth-child(3) { border-left: 0; }
  .trust li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1020px) {
  :root { --header-h: 66px; }
  .topbar, .nav, .header-cta { display: none; }
  .header-row { height: 66px; }
  .menu-btn { display: block; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: 1fr; gap: 16px; padding-top: 0; padding-left: 72px; }
  .flow::before, .flow::after { left: 21px; right: auto; top: 0; bottom: 0; width: 10px; height: auto; }
  .flow::after { background: linear-gradient(180deg, var(--red-deep), #FF5A4D); transform-origin: center top; transform: scaleY(var(--p)); }
  .step-node { top: 18px; left: -72px; }
  .step.is-on .step-card { transform: translateX(4px); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .hero-grid, .split, .quality-grid, .contact-grid, .svc-block { grid-template-columns: 1fr; }
  .section-head { grid-template-columns: 1fr; align-items: start; }
  .hero { padding-bottom: 120px; }
  .hero-mark { width: 70vw; right: -20%; opacity: .05; }
  .svc-block.flip .svc-figure { order: 0; }
  .svc-copy { padding-top: 14px; }
  .quality-mark { width: 70vw; right: -18%; }
  .gallery { columns: 2; column-gap: 14px; }
  .collage { max-width: 560px; }
  .split .collage { order: -1; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .brand-mark { width: 26px; height: 38px; }
  .brand-name { font-size: 1.08rem; }
  .hero-actions .btn, .cta-actions .btn, .cta-actions { width: 100%; }
  .pill { font-size: .8rem; }
  .iso-labels text { font-size: 14px; }
  .sheet-foot span:last-child { display: none; }
  .trust { grid-template-columns: 1fr; }
  .trust li, .trust li + li { border-left: 0; border-top: 1px solid var(--line); padding: 18px 20px; align-items: center; }
  .trust li:first-child { border-top: 0; }
  .cards, .tiles { grid-template-columns: 1fr; }
  .qlist { grid-template-columns: 1fr 1fr; gap: 10px; }
  .qlist li { padding: 16px; }
  .collage-badge { left: 8px; }
  .form { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .chips li { font-size: .95rem; padding: 10px 16px 10px 12px; }
  .contact-cards li { padding: 18px; gap: 14px; }
  .subnav { top: 66px; }

  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: auto auto 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 0 var(--line), 0 -10px 24px -14px rgba(31,36,40,.3); }
  .dock a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: var(--radius); text-decoration: none; font-weight: 600; font-size: .95rem; box-shadow: inset 0 0 0 1.5px var(--line); }
  .dock .ic { width: 19px; height: 19px; color: var(--red); }
  .dock .dock-primary { background: var(--red); color: #fff; box-shadow: none; }
}

@media (max-width: 420px) {
  .gallery { columns: 1; }
  .strip { grid-template-columns: 1fr 1fr; gap: 12px; }
  .qlist { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .iso-tank > *, .js .iso-pipe, .js .iso-branch { stroke-dashoffset: 0; }
  .js .iso-fit, .js .iso-labels, .js .sheet, .js .hero-copy > *, .js .page-hero .wrap > *, .js .reveal { opacity: 1; transform: none; }
  .js .shot img { clip-path: none; }
  .iso-flow { display: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track li[aria-hidden] { display: none; }
}
