:root {
  --x-red: #ef2b2d;
  --x-red-dark: #c8171d;
  --x-black: #08090a;
  --x-charcoal: #14171a;
  --x-steel: #5e666d;
  --x-line: #dfe3e6;
  --x-off: #f3f5f6;
  --x-white: #ffffff;
  --x-wrap: min(1240px, calc(100% - 40px));
  --x-shadow: 0 24px 70px rgba(7, 12, 16, .12);
  --x-radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #171a1d; background: #fff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
::selection { color: #fff; background: var(--x-red); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: fixed !important; z-index: 99999; top: 8px; left: 8px; width: auto; height: auto; padding: 12px 16px; clip: auto !important; color: #fff; background: var(--x-black); }
.xcell-wrap { width: var(--x-wrap); margin-inline: auto; }
.xcell-wrap--content { max-width: 900px; }
.site-shell { min-height: 100vh; overflow: clip; }

.topbar { color: #d7dade; background: #050607; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 20px; }
.topbar p { margin: 0; font-weight: 750; }
.topbar p span { margin: 0 8px; color: var(--x-red); }
.topbar__contact { display: flex; gap: 24px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; }
.topbar .xcell-icon { width: 15px; height: 15px; }

.site-header { position: relative; z-index: 100; color: #fff; background: rgba(8,9,10,.98); border-bottom: 1px solid rgba(255,255,255,.09); }
.site-header__inner { display: grid; grid-template-columns: 118px 1fr auto; align-items: center; min-height: 92px; gap: 28px; }
.site-brand { align-self: stretch; display: flex; align-items: center; width: 104px; text-decoration: none; }
.site-brand img, .site-brand .custom-logo { width: 92px; height: 76px; object-fit: contain; }
.site-brand .custom-logo-link { display: flex; }
.primary-nav { justify-self: end; }
.primary-nav .menu { display: flex; align-items: center; gap: clamp(15px, 1.8vw, 28px); padding: 0; margin: 0; list-style: none; }
.primary-nav li { position: relative; }
.primary-nav a { display: block; padding: 34px 0 31px; color: #f1f2f3; text-decoration: none; font-size: 13px; font-weight: 750; letter-spacing: .035em; white-space: nowrap; }
.primary-nav > .menu > li > a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 2px; background: var(--x-red); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav .current-menu-item > a::after, .primary-nav .current_page_item > a::after { right: 0; }
.primary-nav .sub-menu { position: absolute; top: calc(100% - 18px); left: -20px; display: none; min-width: 260px; padding: 10px 0; margin: 0; list-style: none; color: #111; background: #fff; box-shadow: var(--x-shadow); }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: block; }
.primary-nav .sub-menu a { padding: 10px 20px; color: #111; white-space: normal; }
.nav-toggle { display: none; color: #fff; background: none; border: 0; }
.nav-toggle__label { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.nav-toggle__lines { display: grid; gap: 4px; width: 24px; }
.nav-toggle__lines span { display: block; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }

.xcell-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 23px; color: #fff; background: var(--x-red); border: 2px solid var(--x-red); border-radius: 2px; text-decoration: none; font-size: 13px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease; }
.xcell-button:hover { background: var(--x-red-dark); border-color: var(--x-red-dark); transform: translateY(-2px); }
.xcell-button--small { min-height: 46px; padding: 11px 17px; font-size: 11px; }
.xcell-button--ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.xcell-button--ghost:hover { color: #111; background: #fff; border-color: #fff; }
.xcell-button--outline { color: #111; background: transparent; border-color: #111; }
.xcell-button--outline:hover { color: #fff; background: #111; border-color: #111; }
.xcell-button--light { color: #111; background: #fff; border-color: #fff; }
.xcell-button--light:hover { color: #fff; background: #111; border-color: #111; }
.xcell-icon { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.hero { position: relative; min-height: clamp(610px, 72vh, 790px); display: flex; align-items: center; color: #fff; background: #08090a; overflow: hidden; }
.hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 52%; filter: saturate(.7) contrast(1.05); }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,5,6,.96) 0%, rgba(4,5,6,.84) 38%, rgba(4,5,6,.38) 70%, rgba(4,5,6,.42) 100%); }
.hero__accent { position: absolute; z-index: 1; top: -180px; right: -180px; width: 520px; height: 980px; border-left: 2px solid rgba(239,43,45,.9); transform: rotate(27deg); }
.hero__inner { position: relative; z-index: 2; padding-block: 110px 120px; }
.hero__content { max-width: 830px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: var(--x-red); font-size: 12px; font-weight: 900; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 37px; height: 2px; background: currentColor; }
.eyebrow span { color: #fff; }
.eyebrow--dark { color: var(--x-red); }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(47px, 6.2vw, 88px); line-height: .98; letter-spacing: -.052em; text-wrap: balance; }
.hero__lead { max-width: 680px; margin: 28px 0 0; color: #dce0e3; font-size: clamp(19px, 2vw, 24px); line-height: 1.5; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.trust-strip { position: relative; z-index: 4; color: #fff; background: var(--x-red); }
.trust-strip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-strip__grid > div { display: flex; align-items: center; gap: 14px; min-height: 106px; padding: 20px clamp(16px, 2.2vw, 30px); border-right: 1px solid rgba(255,255,255,.25); }
.trust-strip__grid > div:first-child { padding-left: 0; }
.trust-strip__grid > div:last-child { border-right: 0; }
.trust-strip__grid .xcell-icon { width: 27px; height: 27px; }
.trust-strip__grid span { display: grid; color: rgba(255,255,255,.83); font-size: 12px; line-height: 1.45; }
.trust-strip__grid strong { color: #fff; font-size: 13px; letter-spacing: .03em; text-transform: uppercase; }

.section { padding-block: clamp(80px, 9vw, 132px); }
.section--light { background: var(--x-off); }
.section--dark { color: #fff; background: var(--x-black); }
.section-heading { margin-bottom: 48px; }
.section-heading h2, .capability h2, .project-band h2, .final-cta h2, .inline-cta h2 { margin: 0; font-size: clamp(36px, 4.3vw, 62px); line-height: 1.06; letter-spacing: -.042em; text-wrap: balance; }
.section-heading--split { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); align-items: end; gap: 70px; }
.section-heading--split > p { margin: 0 0 7px; color: #5b6268; font-size: 18px; }
.section-heading--dark > p { color: #b6bdc2; }
.section-heading--center { max-width: 820px; margin-inline: auto; text-align: center; }
.section-heading--center .eyebrow { justify-content: center; }
.section-heading--center .eyebrow::before { display: none; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #ccd1d4; border-left: 1px solid #ccd1d4; }
.service-card { position: relative; min-height: 360px; display: flex; flex-direction: column; padding: 32px; background: #fff; border-right: 1px solid #ccd1d4; border-bottom: 1px solid #ccd1d4; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease; }
.service-card::after { content: ""; position: absolute; right: -56px; bottom: -65px; width: 140px; height: 140px; border: 1px solid rgba(239,43,45,.22); transform: rotate(45deg); }
.service-card:hover { z-index: 2; color: #fff; background: #111315; box-shadow: var(--x-shadow); transform: translateY(-8px); }
.service-card--featured { color: #fff; background: var(--x-red); }
.service-card__number { position: absolute; top: 25px; right: 26px; color: #c2c7ca; font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.service-card--featured .service-card__number, .service-card:hover .service-card__number { color: rgba(255,255,255,.65); }
.service-card__icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 39px; color: var(--x-red); background: #f0f2f3; border-radius: 50%; }
.service-card__icon .xcell-icon { width: 26px; height: 26px; }
.service-card--featured .service-card__icon { color: #fff; background: rgba(255,255,255,.15); }
.service-card:hover .service-card__icon { color: #fff; background: rgba(255,255,255,.1); }
.service-card h2, .service-card h3 { margin: 0 0 14px; font-size: 22px; line-height: 1.18; letter-spacing: -.025em; }
.service-card p { margin: 0; color: #62696e; font-size: 15px; }
.service-card--featured p, .service-card:hover p { color: rgba(255,255,255,.78); }
.service-card a { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 30px; color: var(--x-red); text-decoration: none; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.service-card--featured a, .service-card:hover a { color: #fff; }
.service-card a .xcell-icon { width: 17px; height: 17px; transition: transform .2s ease; }
.service-card a:hover .xcell-icon { transform: translateX(4px); }
.service-grid--page .service-card { min-height: 390px; }
.service-grid--four { grid-template-columns: repeat(4, minmax(0,1fr)); }
.section-action { display: flex; justify-content: flex-end; padding-top: 34px; }
.section-action--dark { padding-top: 38px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: #111; text-decoration: none; border-bottom: 1px solid #111; font-size: 12px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.text-link--light { color: #fff; border-color: #fff; }

.capability__grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(52px, 8vw, 112px); }
.capability__grid--reverse .capability__content { order: -1; }
.capability__media { position: relative; }
.capability__media::before { content: ""; position: absolute; z-index: -1; top: -22px; left: -22px; width: 65%; height: 68%; background: var(--x-red); }
.capability__media img { width: 100%; max-height: 660px; object-fit: cover; box-shadow: var(--x-shadow); }
.capability__badge { position: absolute; right: -30px; bottom: -34px; max-width: 310px; padding: 24px 27px; color: #fff; background: #101214; box-shadow: var(--x-shadow); }
.capability__badge strong, .capability__badge span { display: block; }
.capability__badge strong { margin-bottom: 4px; color: var(--x-red); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.capability__badge span { color: #d2d6d9; font-size: 14px; }
.capability__content > p:not(.eyebrow) { margin: 25px 0 0; color: #555e64; font-size: 18px; }
.check-list { display: grid; gap: 18px; padding: 0; margin: 32px 0 38px; list-style: none; }
.check-list li { display: flex; align-items: flex-start; gap: 15px; }
.check-list li > .xcell-icon { width: 24px; height: 24px; padding: 4px; color: #fff; background: var(--x-red); border-radius: 50%; }
.check-list span { display: grid; color: #687076; font-size: 14px; }
.check-list strong { color: #171a1d; font-size: 16px; }

.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-left: 1px solid rgba(255,255,255,.15); }
.industry-card { min-height: 250px; padding: 34px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); transition: background .2s ease; }
.industry-card:hover { background: #171a1d; }
.industry-card > .xcell-icon { width: 34px; height: 34px; margin-bottom: 38px; color: var(--x-red); }
.industry-card h2, .industry-card h3 { margin: 0 0 11px; color: #fff; font-size: 20px; line-height: 1.25; }
.industry-card p { margin: 0; color: #aeb5ba; font-size: 14px; }
.industry-grid--light { color: #171a1d; border-color: #cdd2d5; }
.industry-grid--light .industry-card { background: #fff; border-color: #cdd2d5; }
.industry-grid--light .industry-card:hover { background: #111315; }
.industry-grid--light .industry-card h2 { color: #171a1d; }
.industry-grid--light .industry-card:hover h2 { color: #fff; }
.industry-grid--light .industry-card p { color: #636a70; }
.industry-grid--light .industry-card:hover p { color: #bcc2c6; }

.process-section { background: #fff; }
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.process-grid::before { content: ""; position: absolute; top: 31px; left: 8%; right: 8%; height: 1px; background: #ccd1d4; }
.process-step { position: relative; z-index: 1; padding: 0 18px; text-align: center; }
.process-step > span { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 26px; color: #fff; background: var(--x-red); border: 8px solid #fff; border-radius: 50%; font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.process-step h3 { margin: 0 0 9px; font-size: 20px; }
.process-step p { margin: 0; color: #636a70; font-size: 14px; }

.project-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 650px; color: #fff; background: #121416; }
.project-band__image img { width: 100%; height: 100%; object-fit: cover; }
.project-band__content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(54px, 7vw, 110px); background: linear-gradient(135deg, #121416 0%, #090a0b 100%); }
.project-band__content > p:not(.eyebrow) { max-width: 620px; margin: 26px 0 35px; color: #b8bec2; font-size: 18px; }
.final-cta { padding-block: clamp(70px, 8vw, 105px); color: #fff; background: var(--x-red); }
.final-cta__inner { display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 70px; }
.final-cta .eyebrow { color: #fff; }
.final-cta > p, .final-cta__inner > div:first-child > p:last-child { max-width: 720px; margin: 20px 0 0; color: rgba(255,255,255,.86); }
.final-cta__actions { display: grid; justify-items: start; gap: 20px; }
.final-cta__phone { display: inline-flex; align-items: center; gap: 13px; color: #fff; text-decoration: none; }
.final-cta__phone .xcell-icon { width: 26px; height: 26px; }
.final-cta__phone span { display: grid; font-size: 20px; font-weight: 850; }
.final-cta__phone small { font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }

.page-hero { position: relative; padding-block: clamp(90px, 10vw, 150px); color: #fff; background: linear-gradient(110deg, #070809, #111417); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; top: -120px; right: 9%; width: 240px; height: 500px; border-left: 2px solid var(--x-red); transform: rotate(26deg); }
.page-hero .xcell-wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 1000px; margin: 0; font-size: clamp(44px, 6vw, 82px); line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.page-hero p:not(.eyebrow) { max-width: 760px; margin: 24px 0 0; color: #c8cdd0; font-size: 20px; }
.page-content { padding-block: 80px; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 1.8em 0 .55em; font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; letter-spacing: -.03em; }
.entry-content h3 { margin: 1.6em 0 .55em; font-size: 25px; line-height: 1.25; }
.entry-content a { color: var(--x-red-dark); }
.entry-content ul, .entry-content ol { padding-left: 1.25em; }
.elementor-page-main { width: 100%; }
.elementor-page-main .elementor { width: 100%; }

.inline-cta { padding-block: 65px; color: #fff; background: var(--x-red); }
.inline-cta .xcell-wrap { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.inline-cta h2 { max-width: 820px; font-size: clamp(32px, 4vw, 50px); }
.inline-cta .eyebrow { color: #fff; }

.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project-card { position: relative; min-height: 480px; margin: 0; overflow: hidden; background: #111; }
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,5,6,.88), transparent 65%); }
.project-card:hover img { transform: scale(1.04); }
.project-card figcaption { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 35px; color: #fff; }
.project-card figcaption span { color: var(--x-red); font-size: 11px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.project-card h2 { margin: 8px 0 0; font-size: 27px; line-height: 1.15; }
.project-note { margin-top: 28px; padding: 22px 25px; background: #fff; border-left: 4px solid var(--x-red); }
.project-note p { margin: 0; }

.contact-layout { display: grid; grid-template-columns: minmax(300px, .75fr) minmax(0, 1.25fr); gap: 70px; }
.contact-panel { padding: 40px; background: #fff; box-shadow: var(--x-shadow); align-self: start; }
.contact-panel h2 { margin: 0 0 28px; font-size: 35px; line-height: 1.15; }
.contact-line { display: flex; align-items: center; gap: 16px; padding: 18px 0; color: #181b1e; text-decoration: none; border-top: 1px solid #e0e3e5; }
.contact-line .xcell-icon { width: 25px; height: 25px; color: var(--x-red); }
.contact-line span { display: grid; font-weight: 800; }
.contact-line small { color: #697177; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-panel .xcell-button { width: 100%; margin-top: 26px; }
.contact-prompt, .quote-email { margin-top: 35px; padding: 28px; background: #fff; border-left: 4px solid var(--x-red); }
.contact-prompt h2, .quote-email h2 { margin: 0 0 15px; font-size: 27px; }
.contact-prompt ul { margin: 0; }
.quote-checklist { display: grid; gap: 13px; padding: 0; margin: 0 0 25px; list-style: none; }
.quote-checklist li { display: flex; align-items: center; gap: 10px; }
.quote-checklist .xcell-icon { width: 21px; height: 21px; padding: 3px; color: #fff; background: var(--x-red); border-radius: 50%; }
.quote-email a { color: var(--x-red-dark); font-size: 21px; font-weight: 850; }

.wpforms-container, .forminator-ui { margin-top: 25px !important; }
.wpforms-container input, .wpforms-container textarea, .wpforms-container select, .forminator-ui input, .forminator-ui textarea, .forminator-ui select { min-height: 52px !important; border: 1px solid #cdd2d5 !important; border-radius: 0 !important; background: #fff !important; }
.wpforms-container textarea, .forminator-ui textarea { min-height: 145px !important; }
.wpforms-container button[type="submit"], .forminator-ui button[type="submit"] { min-height: 52px !important; padding: 13px 23px !important; color: #fff !important; background: var(--x-red) !important; border: 2px solid var(--x-red) !important; border-radius: 0 !important; font-weight: 850 !important; text-transform: uppercase !important; }

.site-footer { color: #c9ced1; background: #090a0b; }
.site-footer__grid { display: grid; grid-template-columns: 1.15fr .8fr .8fr 1.1fr; gap: 65px; padding-block: 76px; }
.site-footer__brand img { width: 112px; height: 112px; object-fit: contain; margin-bottom: 20px; }
.site-footer__brand p { max-width: 320px; margin: 0; color: #8e969c; font-size: 14px; }
.site-footer h2 { margin: 0 0 22px; color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.site-footer ul { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.site-footer a { color: #aeb5ba; text-decoration: none; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer__contact > a:not(.xcell-button), .site-footer__contact > p { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 14px; }
.site-footer__contact .xcell-icon { width: 19px; height: 19px; color: var(--x-red); }
.site-footer__contact .xcell-button { margin-top: 16px; color: #111; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); }
.site-footer__bottom .xcell-wrap { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer__bottom p, .site-footer__bottom a { margin: 0; color: #747d83; font-size: 12px; }

.post-card { padding: 30px 0; border-bottom: 1px solid #d7dbde; }
.post-card h2 { margin: 0 0 12px; }
.post-card h2 a { color: #111; text-decoration: none; }
.not-found { min-height: 65vh; display: grid; align-items: center; padding-block: 100px; color: #fff; background: #0a0b0c; }
.not-found h1 { max-width: 800px; margin: 0; font-size: clamp(48px, 7vw, 90px); line-height: 1; }
.not-found p { color: #bcc2c6; }

:focus-visible { outline: 3px solid #ffcc00; outline-offset: 3px; }


/* Dedicated service pages */
.service-detail__hero { position: relative; color: #fff; background: #090a0b; overflow: hidden; }
.service-detail__hero::after { content: ""; position: absolute; top: -240px; right: 17%; width: 2px; height: 900px; background: rgba(239,43,45,.75); transform: rotate(26deg); transform-origin: top; }
.service-detail__hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(380px,.95fr); align-items: stretch; min-height: 610px; }
.service-detail__hero-content { align-self: center; padding: 95px 70px 95px 0; }
.service-detail__hero h1 { max-width: 780px; margin: 0; font-size: clamp(48px,5.6vw,78px); line-height: .98; letter-spacing: -.045em; text-wrap: balance; }
.service-detail__lead { max-width: 690px; margin: 27px 0 0; color: #d7dce0; font-size: clamp(19px,1.8vw,24px); line-height: 1.5; }
.service-detail__hero-media { position: relative; min-height: 610px; overflow: hidden; }
.service-detail__hero-media::before { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg,#090a0b 0%,rgba(9,10,11,.08) 24%,rgba(9,10,11,.06) 100%); pointer-events: none; }
.service-detail__hero-media img { width: 100%; height: 100%; object-fit: cover; }
.service-detail__intro-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(45px,8vw,110px); align-items: start; }
.service-detail__intro h2 { margin: 0; font-size: clamp(38px,4.5vw,60px); line-height: 1.05; letter-spacing: -.035em; }
.service-detail__intro-grid > div:last-child > p:first-child { margin-top: 0; color: #33383c; font-size: 20px; }
.service-detail__note { margin: 30px 0 0; padding: 22px 24px; background: var(--x-off); border-left: 4px solid var(--x-red); }
.service-detail__columns { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); box-shadow: var(--x-shadow); }
.service-detail__panel { position: relative; min-height: 620px; padding: clamp(38px,5vw,70px); background: #fff; }
.service-detail__panel--dark { color: #fff; background: #111315; }
.service-detail__panel-icon { display: grid; place-items: center; width: 62px; height: 62px; margin-bottom: 32px; color: #fff; background: var(--x-red); }
.service-detail__panel-icon .xcell-icon { width: 30px; height: 30px; }
.service-detail__panel h2 { margin: 0 0 28px; font-size: clamp(31px,3vw,45px); line-height: 1.08; letter-spacing: -.025em; }
.service-detail__list { display: grid; gap: 15px; padding: 0; margin: 0; list-style: none; }
.service-detail__list li { display: flex; gap: 13px; align-items: flex-start; padding-bottom: 15px; border-bottom: 1px solid #e2e5e7; }
.service-detail__panel--dark .service-detail__list li { border-color: rgba(255,255,255,.13); }
.service-detail__list .xcell-icon { width: 22px; height: 22px; padding: 3px; color: #fff; background: var(--x-red); border-radius: 50%; }
.service-detail__planning-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(45px,8vw,110px); align-items: start; }
.service-detail__planning h2 { margin: 0; font-size: clamp(38px,4.5vw,58px); line-height: 1.05; letter-spacing: -.035em; }
.service-detail__planning-grid > div:first-child > p:last-child { color: #5f676d; }
.service-detail__planning-list { display: grid; }
.service-detail__planning-list > div { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 18px; min-height: 105px; border-top: 1px solid #d8dde0; }
.service-detail__planning-list > div:last-child { border-bottom: 1px solid #d8dde0; }
.service-detail__planning-list span { color: var(--x-red); font-size: 15px; font-weight: 900; letter-spacing: .12em; }
.service-detail__planning-list p { margin: 0; font-size: 18px; font-weight: 750; line-height: 1.4; }

/* Native project enquiry forms */
.quote-layout { display: grid; grid-template-columns: minmax(300px,390px) minmax(0,1fr); gap: clamp(34px,5vw,70px); align-items: start; }
.quote-sidebar { position: sticky; top: 25px; }
.quote-form-card { padding: clamp(28px,4vw,52px); background: #fff; box-shadow: var(--x-shadow); }
.quote-form-card > h2 { margin: 0 0 12px; font-size: clamp(34px,4vw,50px); line-height: 1.05; letter-spacing: -.03em; }
.quote-form-card__intro { margin: 0 0 28px; color: #697177; }
.xcell-form-notice { margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid; }
.xcell-form-notice--success { color: #174c2f; background: #e8f6ee; border-color: #2d8a57; }
.xcell-form-notice--error { color: #6f171a; background: #fff0f0; border-color: var(--x-red); }
.xcell-form-notice a { font-weight: 800; }
.xcell-form__grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.xcell-field { min-width: 0; }
.xcell-field--full { grid-column: 1 / -1; }
.xcell-field label:not(.xcell-checkbox) { display: block; margin-bottom: 7px; color: #262a2d; font-size: 13px; font-weight: 800; letter-spacing: .025em; }
.xcell-field label span[aria-hidden="true"] { color: var(--x-red); }
.xcell-field input:not([type="checkbox"]):not([type="file"]), .xcell-field select, .xcell-field textarea { width: 100%; min-height: 54px; padding: 12px 14px; color: #171a1d; background: #fff; border: 1px solid #cbd1d5; border-radius: 0; transition: border-color .2s ease, box-shadow .2s ease; }
.xcell-field textarea { min-height: 170px; resize: vertical; }
.xcell-field input:focus, .xcell-field select:focus, .xcell-field textarea:focus { border-color: var(--x-red); outline: none; box-shadow: 0 0 0 3px rgba(239,43,45,.12); }
.xcell-field input[type="file"] { width: 100%; padding: 15px; background: var(--x-off); border: 1px dashed #aab1b6; }
.xcell-field__help { margin: 7px 0 0; color: #727b81; font-size: 12px; }
.xcell-checkbox { display: flex; gap: 11px; align-items: flex-start; color: #4e565c; font-size: 13px; line-height: 1.45; }
.xcell-checkbox input { width: 19px; height: 19px; margin-top: 2px; accent-color: var(--x-red); }
.xcell-form__actions { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 28px; }
.xcell-form__actions p { margin: 0; color: #697177; font-size: 13px; }
.xcell-form__actions p a { color: #171a1d; font-weight: 850; }
.xcell-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

@media (max-width: 1160px) {
  .site-header__inner { grid-template-columns: 96px 1fr auto; }
  .header-quote { display: none; }
  .service-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .site-footer__contact { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); align-items: start; gap: 20px; }
  .site-footer__contact h2 { grid-column: 1 / -1; }
  .site-footer__contact .xcell-button { width: max-content; margin-top: 0; }
}

@media (max-width: 1080px) {
  .topbar__contact a:first-child { display: none; }
  .site-header__inner { grid-template-columns: 1fr auto; min-height: 82px; }
  .site-brand { width: 85px; }
  .site-brand img, .site-brand .custom-logo { width: 76px; height: 64px; }
  .nav-toggle { display: flex; align-items: center; gap: 12px; }
  .primary-nav { position: fixed; z-index: 999; top: 120px; right: 0; bottom: 0; width: min(420px, 92vw); padding: 28px; background: #0c0e10; transform: translateX(105%); transition: transform .25s ease; overflow-y: auto; }
  .nav-open .primary-nav { transform: translateX(0); }
  .primary-nav .menu { display: grid; gap: 0; }
  .primary-nav a { padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 16px; }
  .primary-nav > .menu > li > a::after { display: none; }
  .primary-nav .sub-menu { position: static; display: block; min-width: 0; padding: 0 0 0 17px; background: transparent; box-shadow: none; }
  .primary-nav .sub-menu a { color: #bec4c8; }
  .nav-open .nav-toggle__lines span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle__lines span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle__lines span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip__grid > div { border-bottom: 1px solid rgba(255,255,255,.25); }
  .trust-strip__grid > div:nth-child(2) { border-right: 0; }
  .section-heading--split { grid-template-columns: 1fr; gap: 20px; }
  .capability__grid { gap: 55px; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 45px 20px; }
  .process-grid::before { display: none; }
  .project-band { min-height: 580px; }
  .final-cta__inner { grid-template-columns: 1fr; gap: 35px; }
  .contact-layout { gap: 40px; }
}

@media (max-width: 780px) {
  :root { --x-wrap: min(100% - 28px, 1240px); }
  body { font-size: 16px; }
  .topbar__inner { min-height: 34px; }
  .topbar__contact { display: none; }
  .topbar p { width: 100%; text-align: center; font-size: 10px; }
  .primary-nav { top: 116px; }
  .hero { min-height: 670px; align-items: flex-end; }
  .hero__image { object-position: 67% center; }
  .hero__scrim { background: linear-gradient(0deg, rgba(4,5,6,.98) 0%, rgba(4,5,6,.83) 63%, rgba(4,5,6,.45) 100%); }
  .hero__inner { padding-block: 130px 70px; }
  .hero h1 { font-size: clamp(43px, 13vw, 64px); }
  .hero__lead { font-size: 18px; }
  .hero__actions { display: grid; }
  .hero__actions .xcell-button { width: 100%; }
  .trust-strip__grid { grid-template-columns: 1fr; }
  .trust-strip__grid > div { min-height: 85px; padding-inline: 0; border-right: 0; }
  .section { padding-block: 75px; }
  .section-heading h2, .capability h2, .project-band h2, .final-cta h2, .inline-cta h2 { font-size: clamp(34px, 10vw, 48px); }
  .service-grid, .service-grid--four { grid-template-columns: 1fr; }
  .service-card { min-height: 325px; }
  .capability__grid, .capability__grid--reverse { grid-template-columns: 1fr; }
  .capability__grid--reverse .capability__content { order: 0; }
  .capability__media::before { top: -12px; left: -12px; }
  .capability__badge { right: 12px; bottom: -34px; left: 12px; max-width: none; }
  .capability__content { padding-top: 35px; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card { min-height: 220px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { display: grid; grid-template-columns: 62px 1fr; column-gap: 15px; text-align: left; }
  .process-step > span { grid-row: 1 / 3; margin: 0; }
  .process-step h3 { align-self: end; }
  .project-band { grid-template-columns: 1fr; }
  .project-band__image { min-height: 400px; }
  .project-band__content { padding: 55px 24px; }
  .page-hero { padding-block: 82px; }
  .page-hero h1 { font-size: clamp(42px, 12vw, 62px); }
  .inline-cta .xcell-wrap { display: grid; }
  .inline-cta .xcell-button { width: 100%; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 420px; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-panel { padding: 28px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 45px 30px; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__contact { display: block; grid-column: 1 / -1; }
  .site-footer__contact .xcell-button { width: 100%; margin-top: 20px; }
  .site-footer__bottom .xcell-wrap { flex-direction: column; justify-content: center; padding-block: 18px; }
}

@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 960px) {
  .service-detail__hero-grid { grid-template-columns: 1fr; }
  .service-detail__hero-content { padding: 82px 0 55px; }
  .service-detail__hero-media { min-height: 450px; margin-inline: calc((100vw - var(--x-wrap)) / -2); }
  .service-detail__hero-media::before { background: linear-gradient(180deg,#090a0b 0%,rgba(9,10,11,.05) 25%); }
  .service-detail__intro-grid, .service-detail__planning-grid { grid-template-columns: 1fr; gap: 34px; }
  .service-detail__columns { grid-template-columns: 1fr; }
  .service-detail__panel { min-height: 0; }
  .quote-layout { grid-template-columns: 1fr; }
  .quote-sidebar { position: static; }
}

@media (max-width: 680px) {
  .service-detail__hero-media { min-height: 360px; }
  .service-detail__hero h1 { font-size: clamp(42px,13vw,60px); }
  .service-detail__hero-content .hero__actions { display: grid; }
  .service-detail__hero-content .xcell-button { width: 100%; }
  .service-detail__panel { padding: 34px 25px; }
  .service-detail__planning-list > div { grid-template-columns: 48px 1fr; }
  .quote-form-card { padding: 26px 20px; }
  .xcell-form__grid { grid-template-columns: 1fr; }
  .xcell-field--full { grid-column: auto; }
  .xcell-form__actions { align-items: stretch; flex-direction: column; }
  .xcell-form__actions .xcell-button { width: 100%; }
}

/* =========================================================
   Xcell v1.1 — genuine-project-photo policy
   No stock or generic photography is used by the templates.
   ========================================================= */

.hero--graphic {
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 44%, rgba(239,43,45,.11), transparent 22%),
    linear-gradient(118deg, #050607 0%, #0a0c0e 52%, #13171a 100%);
}
.hero--graphic .hero__scrim {
  z-index: 0;
  background: linear-gradient(90deg, rgba(4,5,6,.98) 0%, rgba(4,5,6,.88) 47%, rgba(4,5,6,.26) 78%, rgba(4,5,6,.38) 100%);
}
.hero__mesh {
  position: absolute;
  z-index: 0;
  top: -12%;
  right: -9%;
  width: min(66vw, 980px);
  height: 128%;
  opacity: .48;
  transform: skewX(-5deg);
  background:
    repeating-linear-gradient(58deg, transparent 0 28px, rgba(255,255,255,.18) 29px 31px, transparent 32px 58px),
    repeating-linear-gradient(-58deg, transparent 0 28px, rgba(255,255,255,.12) 29px 31px, transparent 32px 58px),
    linear-gradient(90deg, transparent, rgba(255,255,255,.03));
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 24%, #000 100%);
}
.hero__mesh::before,
.hero__mesh::after {
  content: "";
  position: absolute;
  top: -5%;
  bottom: -5%;
  width: 14px;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.26), rgba(255,255,255,.04));
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.hero__mesh::before { left: 31%; }
.hero__mesh::after { right: 19%; }
.hero__mesh span {
  position: absolute;
  display: block;
  height: 2px;
  background: var(--x-red);
  opacity: .8;
  transform: rotate(-63deg);
  transform-origin: right center;
}
.hero__mesh span:nth-child(1) { top: 18%; right: 16%; width: 44%; }
.hero__mesh span:nth-child(2) { top: 63%; right: 9%; width: 29%; opacity: .45; }
.hero__mesh span:nth-child(3) { bottom: 7%; right: 26%; width: 21%; opacity: .28; }

/* Generic internal-page photography removed in favour of a technical line pattern. */
.page-hero,
.page-hero--graphic {
  isolation: isolate;
  background:
    radial-gradient(circle at 82% 40%, rgba(239,43,45,.09), transparent 23%),
    linear-gradient(110deg, #070809 0%, #111417 100%);
}
.page-hero__mesh {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  width: min(56vw, 850px);
  opacity: .34;
  background:
    repeating-linear-gradient(58deg, transparent 0 23px, rgba(255,255,255,.17) 24px 26px, transparent 27px 50px),
    repeating-linear-gradient(-58deg, transparent 0 23px, rgba(255,255,255,.10) 24px 26px, transparent 27px 50px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 36%);
  mask-image: linear-gradient(90deg, transparent, #000 36%);
}
.page-hero .xcell-wrap { position: relative; z-index: 2; }

/* Project-scope board used instead of a generic capability photograph. */
.capability__media--board::before { width: 72%; height: 72%; }
.scope-board {
  position: relative;
  min-height: 570px;
  display: flex;
  flex-direction: column;
  padding: 36px;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    #0b0d0f;
  background-size: 38px 38px;
  box-shadow: var(--x-shadow);
  overflow: hidden;
}
.scope-board::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -80px;
  width: 320px;
  height: 650px;
  border-left: 2px solid var(--x-red);
  transform: rotate(29deg);
}
.scope-board::after {
  content: "XCELL";
  position: absolute;
  right: -20px;
  bottom: -45px;
  color: rgba(255,255,255,.035);
  font-size: clamp(100px, 14vw, 190px);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: 1;
}
.scope-board__head,
.scope-board__line,
.scope-board__footer { position: relative; z-index: 1; }
.scope-board__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 25px;
  border-bottom: 1px solid rgba(255,255,255,.22);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.scope-board__head strong { color: var(--x-red); }
.scope-board__line {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 16px;
  min-height: 93px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.scope-board__line > span {
  color: var(--x-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
}
.scope-board__line div { display: grid; }
.scope-board__line strong { font-size: 20px; letter-spacing: -.015em; }
.scope-board__line small { color: #aeb5ba; font-size: 13px; }
.scope-board__footer {
  display: flex;
  gap: 22px;
  margin-top: auto;
  padding-top: 24px;
  color: #858e94;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* Graphic project band—no decorative stock image. */
.project-band__graphic {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: clamp(40px, 6vw, 90px);
  color: #0b0d0f;
  background: #e9edef;
  overflow: hidden;
}
.project-band__gridlines {
  position: absolute;
  inset: 0;
  opacity: .52;
  background:
    linear-gradient(rgba(12,15,17,.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12,15,17,.09) 1px, transparent 1px);
  background-size: 42px 42px;
}
.project-band__gridlines::after {
  content: "";
  position: absolute;
  top: -18%;
  left: 54%;
  width: 2px;
  height: 140%;
  background: var(--x-red);
  transform: rotate(25deg);
}
.project-band__words {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}
.project-band__words span {
  display: block;
  font-size: clamp(45px, 5.7vw, 94px);
  font-weight: 950;
  letter-spacing: -.065em;
  line-height: .9;
}
.project-band__words span:nth-child(2) { color: var(--x-red); }
.project-band__mark {
  position: absolute;
  z-index: 1;
  right: 35px;
  bottom: 30px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
}

/* Honest capability presentation for Projects—no pretend portfolio images. */
.capability-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  border-top: 1px solid #cbd1d4;
  border-left: 1px solid #cbd1d4;
}
.capability-card {
  position: relative;
  min-height: 455px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 4vw, 52px);
  background: #fff;
  border-right: 1px solid #cbd1d4;
  border-bottom: 1px solid #cbd1d4;
  overflow: hidden;
  transition: color .22s ease, background .22s ease, transform .22s ease;
}
.capability-card::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -90px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(239,43,45,.22);
  transform: rotate(45deg);
}
.capability-card:hover { z-index: 1; color: #fff; background: #0b0d0f; transform: translateY(-5px); }
.capability-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 52px;
  color: #8a9297;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .15em;
}
.capability-card__top .xcell-icon { width: 38px; height: 38px; color: var(--x-red); }
.capability-card .eyebrow { margin-bottom: 14px; }
.capability-card .eyebrow::before { width: 24px; }
.capability-card h2 { max-width: 560px; margin: 0; font-size: clamp(28px, 3vw, 43px); line-height: 1.07; letter-spacing: -.04em; }
.capability-card > p:not(.eyebrow) { margin: 20px 0 30px; color: #5f676d; }
.capability-card:hover > p:not(.eyebrow) { color: #b8c0c5; }
.capability-card__list { display: grid; gap: 12px; padding: 0; margin: auto 0 0; list-style: none; }
.capability-card__list li { display: flex; align-items: center; gap: 11px; color: #3e454a; font-size: 14px; font-weight: 700; }
.capability-card:hover .capability-card__list li { color: #e4e7e9; }
.capability-card__list .xcell-icon { width: 19px; height: 19px; padding: 3px; color: #fff; background: var(--x-red); border-radius: 50%; }
.project-proof { color: #fff; background: #0a0c0e; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.17); border-left: 1px solid rgba(255,255,255,.17); }
.proof-grid > div { min-height: 255px; padding: 34px; border-right: 1px solid rgba(255,255,255,.17); border-bottom: 1px solid rgba(255,255,255,.17); }
.proof-grid span { color: var(--x-red); font-size: 11px; font-weight: 900; letter-spacing: .15em; }
.proof-grid h3 { margin: 62px 0 12px; font-size: 21px; }
.proof-grid p { margin: 0; color: #aeb6bb; font-size: 14px; }

/* About-page principle board. */
.about-principles {
  position: relative;
  min-height: 610px;
  padding: clamp(30px, 4vw, 48px);
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px),
    #0b0d0f;
  background-size: 42px 42px;
  box-shadow: var(--x-shadow);
  overflow: hidden;
}
.about-principles::after {
  content: "";
  position: absolute;
  top: -90px;
  right: 8%;
  width: 2px;
  height: 820px;
  background: var(--x-red);
  transform: rotate(26deg);
}
.about-principles__head,
.about-principles > div:not(.about-principles__head):not(.about-principles__foot),
.about-principles__foot { position: relative; z-index: 1; }
.about-principles__head { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.2); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.about-principles__head strong { color: var(--x-red); }
.about-principles > div:not(.about-principles__head):not(.about-principles__foot) { display: grid; grid-template-columns: 50px 1fr; column-gap: 18px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.about-principles > div > span { grid-row: 1 / 3; color: var(--x-red); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.about-principles h3 { margin: 0; font-size: 22px; }
.about-principles p { margin: 5px 0 0; color: #abb3b8; font-size: 14px; }
.about-principles__foot { position: absolute; right: 42px; bottom: 30px; left: 42px; color: #70797f; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

/* Service-page technical graphic in place of a stock photograph. */
.service-detail__hero--graphic {
  background:
    radial-gradient(circle at 77% 40%, rgba(239,43,45,.10), transparent 25%),
    #090a0b;
}
.service-detail__hero-graphic {
  position: relative;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(34px, 4vw, 58px);
  color: #fff;
  background:
    repeating-linear-gradient(58deg, transparent 0 27px, rgba(255,255,255,.08) 28px 30px, transparent 31px 58px),
    repeating-linear-gradient(-58deg, transparent 0 27px, rgba(255,255,255,.05) 28px 30px, transparent 31px 58px),
    #14171a;
  overflow: hidden;
}
.service-detail__hero-graphic::before {
  content: "";
  position: absolute;
  top: -120px;
  right: 15%;
  width: 2px;
  height: 850px;
  background: var(--x-red);
  transform: rotate(27deg);
}
.service-graphic__label,
.service-graphic__icon,
.service-graphic__rows,
.service-graphic__footer { position: relative; z-index: 1; }
.service-graphic__label { font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.service-graphic__icon { display: grid; place-items: center; width: 150px; height: 150px; margin: auto; color: var(--x-red); background: rgba(8,9,10,.88); border: 1px solid rgba(255,255,255,.16); border-radius: 50%; }
.service-graphic__icon .xcell-icon { width: 78px; height: 78px; stroke-width: 1.35; }
.service-graphic__rows { display: grid; grid-template-columns: repeat(2,1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.service-graphic__rows div { display: flex; gap: 12px; padding: 16px; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.service-graphic__rows span { color: var(--x-red); font-size: 10px; font-weight: 900; }
.service-graphic__rows strong { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.service-graphic__footer { color: #8d969c; font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }

@media (max-width: 1080px) {
  .hero__mesh { right: -24%; width: 85vw; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .service-detail__hero-graphic { min-height: 470px; margin-inline: calc((100vw - var(--x-wrap)) / -2); }
  .service-graphic__icon { width: 130px; height: 130px; }
  .service-graphic__icon .xcell-icon { width: 66px; height: 66px; }
}

@media (max-width: 780px) {
  .hero__mesh { top: -2%; right: -70%; width: 165vw; height: 106%; opacity: .38; }
  .hero--graphic .hero__scrim { background: linear-gradient(0deg, rgba(4,5,6,.99) 0%, rgba(4,5,6,.86) 63%, rgba(4,5,6,.42) 100%); }
  .scope-board { min-height: 535px; padding: 27px; }
  .project-band__graphic { min-height: 410px; }
  .project-band__words span { font-size: clamp(43px, 14vw, 72px); }
  .capability-matrix { grid-template-columns: 1fr; }
  .capability-card { min-height: 410px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 210px; }
  .proof-grid h3 { margin-top: 38px; }
  .about-principles { min-height: 580px; }
  .page-hero__mesh { width: 100%; opacity: .22; }
}

@media (max-width: 680px) {
  .service-detail__hero-graphic { min-height: 400px; padding: 27px 20px; }
  .service-graphic__icon { width: 105px; height: 105px; }
  .service-graphic__icon .xcell-icon { width: 52px; height: 52px; }
  .service-graphic__rows div { padding: 13px 10px; }
  .service-graphic__rows strong { font-size: 10px; }
  .about-principles__head { display: grid; }
}

/* =========================================================
   Xcell v1.4 — service enquiry and third-party form legibility
   Prevent inherited white text from hiding labels on white cards.
   ========================================================= */
.service-enquiry { border-top: 1px solid var(--x-line); }
.service-enquiry .quote-sidebar { top: 128px; }
.service-enquiry .quote-form-card { border-top: 5px solid var(--x-red); }

/* WPForms labels and helper text. */
.wpforms-container .wpforms-field-label,
div.wpforms-container-full .wpforms-form .wpforms-field-label,
.wpforms-container .wpforms-field-sublabel,
.wpforms-container .wpforms-field-description,
.wpforms-container .wpforms-field-label-inline,
div.wpforms-container-full .wpforms-form .wpforms-field-sublabel,
div.wpforms-container-full .wpforms-form .wpforms-field-description {
  color: #262a2d !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}
.wpforms-container .wpforms-field-label,
div.wpforms-container-full .wpforms-form .wpforms-field-label {
  margin-bottom: 7px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: .025em !important;
}
.wpforms-container .wpforms-required-label,
div.wpforms-container-full .wpforms-form .wpforms-required-label { color: var(--x-red) !important; }

/* Forminator labels and helper text. */
.forminator-ui .forminator-label,
.forminator-ui .forminator-description,
.forminator-ui .forminator-checkbox__label,
.forminator-ui .forminator-radio__label,
.forminator-ui .forminator-consent__label,
.forminator-ui .forminator-error-message,
.forminator-ui .forminator-field > label {
  color: #262a2d !important;
  opacity: 1 !important;
  visibility: visible !important;
  text-shadow: none !important;
}
.forminator-ui .forminator-label,
.forminator-ui .forminator-field > label {
  margin-bottom: 7px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  letter-spacing: .025em !important;
}
.forminator-ui .forminator-required { color: var(--x-red) !important; }

/* Clear input text and placeholders for either form plugin. */
.wpforms-container input,
.wpforms-container textarea,
.wpforms-container select,
.forminator-ui input,
.forminator-ui textarea,
.forminator-ui select {
  color: #171a1d !important;
  caret-color: #171a1d !important;
}
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder,
.forminator-ui input::placeholder,
.forminator-ui textarea::placeholder {
  color: #727b81 !important;
  opacity: 1 !important;
}

@media (max-width: 960px) {
  .service-enquiry .quote-sidebar { position: static; }
}

/* =========================================================
   Xcell v1.5 — genuine project photography and gallery
   ========================================================= */
.capability--real-work { background: #fff; }
.xcell-work-mosaic {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(180px, .82fr);
  grid-template-rows: 1fr 1fr;
  gap: 14px;
  isolation: isolate;
}
.xcell-work-mosaic::before {
  top: -22px;
  left: -22px;
  width: 62%;
  height: 70%;
  background: var(--x-red);
}
.xcell-work-mosaic figure { margin: 0; overflow: hidden; background: #111; box-shadow: var(--x-shadow); }
.xcell-work-mosaic img { width: 100%; height: 100%; max-height: none; object-fit: cover; box-shadow: none; transition: transform .55s ease; }
.xcell-work-mosaic figure:hover img { transform: scale(1.035); }
.xcell-work-mosaic__main { grid-row: 1 / 3; min-height: 650px; }
.xcell-work-mosaic__main img { object-position: 54% 53%; }
.xcell-work-mosaic__detail,
.xcell-work-mosaic__mixed { min-height: 318px; }
.xcell-work-mosaic__detail img { object-position: 36% 52%; }
.xcell-work-mosaic__mixed img { object-position: 42% 55%; }
.capability__badge--photo { right: -26px; bottom: -28px; border-left: 4px solid var(--x-red); }

.project-band__image--real { position: relative; min-height: 650px; overflow: hidden; }
.project-band__image--real::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,7,.52), transparent 58%); }
.project-band__image--real img { object-position: 58% 42%; filter: saturate(.92) contrast(1.04); transition: transform .7s ease; }
.project-band--real:hover .project-band__image--real img { transform: scale(1.02); }
.project-band__tag {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 30px;
  left: 32px;
  max-width: 520px;
  padding: 22px 24px;
  color: #fff;
  background: rgba(8,9,10,.9);
  border-left: 4px solid var(--x-red);
  backdrop-filter: blur(8px);
}
.project-band__tag span,
.project-band__tag strong { display: block; }
.project-band__tag span { margin-bottom: 4px; color: var(--x-red); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.project-band__tag strong { font-size: 18px; line-height: 1.3; }

.project-page-hero { min-height: clamp(560px, 66vh, 760px); display: flex; align-items: flex-end; padding-block: 0; }
.project-page-hero::after { z-index: 2; }
.project-page-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; filter: saturate(.8) contrast(1.08); }
.project-page-hero__scrim { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(4,5,6,.96) 0%, rgba(4,5,6,.78) 47%, rgba(4,5,6,.28) 78%, rgba(4,5,6,.38) 100%); }
.project-page-hero__inner { position: relative; z-index: 3; padding-block: clamp(90px, 11vw, 145px); }
.project-page-hero h1 { max-width: 880px; }
.project-page-hero p:not(.eyebrow) { max-width: 690px; }

.project-profile { background: #fff; }
.project-profile__layout { display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.14fr); align-items: center; gap: clamp(55px, 8vw, 115px); }
.project-profile__copy h2 { margin: 0; font-size: clamp(39px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.05em; }
.project-profile__lead { margin: 28px 0 0; color: #535b60; font-size: 19px; }
.project-profile__facts { display: grid; gap: 0; margin-top: 35px; border-top: 1px solid #d4d9dc; }
.project-profile__facts > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 17px; padding: 20px 0; border-bottom: 1px solid #d4d9dc; }
.project-profile__facts span { grid-row: 1 / 3; color: var(--x-red); font-size: 11px; font-weight: 900; letter-spacing: .13em; }
.project-profile__facts strong { font-size: 17px; }
.project-profile__facts p { margin: 4px 0 0; color: #60686d; font-size: 14px; }
.project-profile__privacy { margin: 24px 0 0; padding: 15px 17px; color: #4e565b; background: var(--x-off); border-left: 3px solid var(--x-red); font-size: 13px; }
.project-profile__visual { position: relative; min-height: 675px; }
.project-profile__visual::before { content: ""; position: absolute; z-index: 0; top: -20px; left: -20px; width: 62%; height: 64%; background: var(--x-red); }
.project-profile__wide { position: absolute; z-index: 1; inset: 0 74px 54px 0; width: calc(100% - 74px); height: calc(100% - 54px); object-fit: cover; object-position: 53% 53%; box-shadow: var(--x-shadow); }
.project-profile__detail { position: absolute; z-index: 2; right: 0; bottom: 0; width: 44%; aspect-ratio: 1; object-fit: cover; object-position: 36% 52%; border: 10px solid #fff; box-shadow: 0 25px 55px rgba(7,12,16,.22); }
.project-profile__stamp { position: absolute; z-index: 3; top: 26px; right: 38px; padding: 15px 18px; color: #fff; background: rgba(8,9,10,.9); border-left: 3px solid var(--x-red); }
.project-profile__stamp span,
.project-profile__stamp strong { display: block; }
.project-profile__stamp span { color: var(--x-red); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.project-profile__stamp strong { margin-top: 3px; font-size: 12px; letter-spacing: .08em; }

.gallery-section { overflow: hidden; }
.xcell-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.xcell-gallery__item { min-width: 0; margin: 0; background: #fff; border: 1px solid #d7dcdf; }
.xcell-gallery__button { position: relative; display: block; width: 100%; padding: 0; color: inherit; background: #111; border: 0; overflow: hidden; }
.xcell-gallery__button::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,4,5,.25), transparent 48%); opacity: 0; transition: opacity .25s ease; }
.xcell-gallery__button img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .45s ease, filter .3s ease; }
.xcell-gallery__button:hover img,
.xcell-gallery__button:focus-visible img { transform: scale(1.035); filter: saturate(1.04) contrast(1.03); }
.xcell-gallery__button:hover::after,
.xcell-gallery__button:focus-visible::after { opacity: 1; }
.xcell-gallery__zoom { position: absolute; z-index: 2; right: 15px; bottom: 15px; width: 42px; height: 42px; display: grid; place-items: center; color: #fff; background: var(--x-red); font-size: 27px; line-height: 1; transform: translateY(8px); opacity: 0; transition: opacity .25s ease, transform .25s ease; }
.xcell-gallery__button:hover .xcell-gallery__zoom,
.xcell-gallery__button:focus-visible .xcell-gallery__zoom { transform: translateY(0); opacity: 1; }
.xcell-gallery__item figcaption { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 12px; min-height: 82px; padding: 17px 18px 18px; color: #303539; font-size: 13px; line-height: 1.4; }
.xcell-gallery__item figcaption span { color: var(--x-red); font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.xcell-gallery--service { grid-template-columns: repeat(3, minmax(0,1fr)); }
.xcell-gallery--service .xcell-gallery__item figcaption { min-height: 72px; }

.xcell-lightbox { position: fixed; z-index: 99999; inset: 0; display: none; align-items: center; justify-content: center; padding: 28px; }
.xcell-lightbox.is-open { display: flex; }
.xcell-lightbox__backdrop { position: absolute; inset: 0; background: rgba(2,3,4,.94); backdrop-filter: blur(7px); }
.xcell-lightbox__dialog { position: relative; z-index: 1; width: min(1120px, calc(100vw - 48px)); max-height: calc(100vh - 48px); display: grid; grid-template-columns: 58px minmax(0,1fr) 58px; align-items: center; }
.xcell-lightbox__dialog figure { min-width: 0; max-height: calc(100vh - 58px); display: flex; flex-direction: column; margin: 0; }
.xcell-lightbox__dialog img { max-width: 100%; max-height: calc(100vh - 120px); margin: auto; object-fit: contain; box-shadow: 0 30px 90px rgba(0,0,0,.55); }
.xcell-lightbox__dialog figcaption { min-height: 38px; padding-top: 12px; color: #d7dbde; text-align: center; font-size: 13px; }
.xcell-lightbox__close,
.xcell-lightbox__nav { display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); transition: background .2s ease; }
.xcell-lightbox__close:hover,
.xcell-lightbox__nav:hover { background: var(--x-red); }
.xcell-lightbox__close { position: absolute; z-index: 3; top: -5px; right: -5px; width: 48px; height: 48px; font-size: 29px; }
.xcell-lightbox__nav { width: 48px; height: 70px; font-size: 40px; }
.xcell-lightbox__nav--prev { justify-self: start; }
.xcell-lightbox__nav--next { justify-self: end; }
body.xcell-lightbox-open { overflow: hidden; }

.project-capabilities .capability-matrix { border-color: rgba(255,255,255,.17); }
.capability-matrix--compact { grid-template-columns: repeat(4, minmax(0,1fr)); }
.capability-card--dark { min-height: 360px; padding: 32px; color: #fff; background: #0f1113; border-color: rgba(255,255,255,.17); }
.capability-card--dark:hover { background: #171a1d; }
.capability-card--dark h2 { color: #fff; font-size: clamp(24px, 2vw, 31px); }
.capability-card--dark > p:not(.eyebrow) { color: #aab2b7; }
.capability-card--dark .capability-card__top { margin-bottom: 34px; }

@media (max-width: 1080px) {
  .project-profile__layout { grid-template-columns: 1fr; }
  .project-profile__visual { min-height: 620px; }
  .capability-matrix--compact { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 900px) {
  .xcell-gallery { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .xcell-work-mosaic { min-height: 560px; grid-template-columns: 1.12fr .88fr; }
  .xcell-work-mosaic__main { min-height: 560px; }
  .xcell-work-mosaic__detail,
  .xcell-work-mosaic__mixed { min-height: 273px; }
}

@media (max-width: 780px) {
  .xcell-work-mosaic { min-height: 0; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .xcell-work-mosaic__main { grid-column: 1 / -1; grid-row: auto; min-height: 430px; }
  .xcell-work-mosaic__detail,
  .xcell-work-mosaic__mixed { min-height: 230px; }
  .capability__badge--photo { right: 10px; bottom: -30px; left: 10px; }
  .project-band__image--real { min-height: 430px; }
  .project-band__tag { right: 18px; bottom: 18px; left: 18px; }
  .project-page-hero { min-height: 650px; }
  .project-page-hero__scrim { background: linear-gradient(0deg, rgba(4,5,6,.98) 0%, rgba(4,5,6,.78) 62%, rgba(4,5,6,.38) 100%); }
  .project-profile__visual { min-height: 520px; }
  .project-profile__wide { right: 45px; bottom: 42px; width: calc(100% - 45px); height: calc(100% - 42px); }
  .project-profile__detail { width: 43%; border-width: 7px; }
  .project-profile__stamp { top: 17px; right: 18px; }
  .xcell-gallery { gap: 12px; }
  .xcell-gallery__item figcaption { min-height: 78px; padding: 14px; }
  .xcell-lightbox { padding: 10px; }
  .xcell-lightbox__dialog { width: calc(100vw - 20px); grid-template-columns: 42px minmax(0,1fr) 42px; }
  .xcell-lightbox__nav { width: 38px; height: 58px; }
  .xcell-lightbox__close { top: 2px; right: 2px; width: 42px; height: 42px; }
}

@media (max-width: 560px) {
  .xcell-work-mosaic { grid-template-columns: 1fr; }
  .xcell-work-mosaic__main { grid-column: auto; min-height: 390px; }
  .xcell-work-mosaic__detail,
  .xcell-work-mosaic__mixed { min-height: 300px; }
  .xcell-gallery,
  .xcell-gallery--service { grid-template-columns: 1fr; }
  .project-profile__visual { min-height: 430px; }
  .project-profile__wide { inset: 0 30px 34px 0; width: calc(100% - 30px); height: calc(100% - 34px); }
  .project-profile__detail { width: 46%; }
  .project-profile__stamp { display: none; }
  .capability-matrix--compact { grid-template-columns: 1fr; }
  .xcell-lightbox__dialog { grid-template-columns: 1fr; }
  .xcell-lightbox__nav { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); }
  .xcell-lightbox__nav--prev { left: 4px; }
  .xcell-lightbox__nav--next { right: 4px; }
}


/* Xcell v1.6 — commercial timber service and real bollard work */
.timber-service-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr);
  margin-top: 34px;
  background: #fff;
  border: 1px solid #ccd1d4;
  box-shadow: 0 24px 65px rgba(10, 15, 19, .12);
  overflow: hidden;
}
.timber-service-feature__image {
  position: relative;
  min-height: 430px;
  background: #17191b;
  overflow: hidden;
}
.timber-service-feature__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 54%, rgba(6, 7, 8, .22) 100%);
  pointer-events: none;
}
.timber-service-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 54%;
  transition: transform .55s ease;
}
.timber-service-feature:hover .timber-service-feature__image img { transform: scale(1.018); }
.timber-service-feature__number {
  position: absolute;
  z-index: 2;
  top: 24px;
  left: 24px;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #fff;
  background: var(--x-red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .13em;
}
.timber-service-feature__content {
  align-self: center;
  padding: clamp(38px, 5vw, 72px);
}
.timber-service-feature__content h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(38px, 4.3vw, 58px);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.timber-service-feature__content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: #596166;
  font-size: 17px;
}
.timber-service-feature__benefits {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 26px 0 30px;
  list-style: none;
}
.timber-service-feature__benefits li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: #2e3438;
  font-size: 14px;
  font-weight: 750;
}
.timber-service-feature__benefits .xcell-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  padding: 3px;
  color: #fff;
  background: var(--x-red);
  border-radius: 50%;
}
.service-work-preview .xcell-gallery__button img {
  background: #e9edef;
}
@media (max-width: 960px) {
  .timber-service-feature { grid-template-columns: 1fr; }
  .timber-service-feature__image { min-height: 360px; }
}
@media (max-width: 600px) {
  .timber-service-feature { margin-top: 24px; }
  .timber-service-feature__image { min-height: 280px; }
  .timber-service-feature__content { padding: 34px 24px 38px; }
  .timber-service-feature__content h2 { font-size: clamp(34px, 11vw, 48px); }
}
