.service-actions, .guide-links { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; }
.service-email, .guide-links a, .back-services a { color:#302d81; text-decoration:underline; text-underline-offset:4px; font-weight:700; }
.service-email { font-size:14px; }
.detail-page { background:#f5f5f7; }
.detail-inner { padding-bottom:clamp(42px,6vw,88px); }
.back-services { padding:22px 0; font-size:14px; }
.detail-hero {
 display:grid; grid-template-columns:1.07fr 1fr; gap:0; align-items:stretch;
 background:#232238; color:white; border:0; border-radius:18px; overflow:hidden; z-index:auto;
 box-shadow:0 2px 14px rgba(48,45,129,.15);
}
.detail-hero > div { padding:clamp(28px,4vw,66px); align-self:center; }
.detail-hero > img { width:100%; height:100%; min-height:320px; max-height:460px; object-fit:cover; }
.detail-hero.trench-curb > img { object-position:50% 61%; }
.detail-hero h1 { font-size:clamp(54px,6.1vw,98px); margin:16px 0 20px; }
.detail-hero p { color:#f3f3fb; font-size:clamp(16px,1.35vw,20px); max-width:51ch; line-height:1.5; }
.detail-hero .service-type { text-transform:uppercase; letter-spacing:.11em; font-size:12px; font-weight:700; color:#d8d8ed; }
.detail-inner > section, .project-brief { margin-top:clamp(36px,4.8vw,76px); }
.detail-page h2 { font-size:clamp(36px,4vw,61px); margin-bottom:22px; }
.detail-page h3 { font-size:clamp(23px,2.2vw,33px); }
.detail-page p { line-height:1.55; }
.method { display:grid; grid-template-columns:minmax(0,.76fr) minmax(0,1.35fr); gap:4vw; }
.method ol { list-style:none; counter-reset:step; margin:0; padding:0; }
.method li { counter-increment:step; position:relative; padding:18px 0 20px 52px; border-top:1px solid #cfcfd9; }
.method li::before { content:counter(step,decimal-leading-zero); position:absolute; top:19px; left:0; font:700 18px/1.2 var(--display); color:var(--accent); }
.method li p, .applications article p { margin-top:8px; max-width:65ch; }
.prep-grid,.cross-pair,.flat-pair,.applications > div { display:grid; gap:18px; grid-template-columns:repeat(3,minmax(0,1fr)); }
.cross-pair,.flat-pair { grid-template-columns:repeat(2,minmax(0,1fr)); }
.detail-page figure,.applications article { margin:0; overflow:hidden; border-radius:14px; background:white; }
.detail-page figure img { width:100%; display:block; }
.prep-grid img { aspect-ratio:1; object-fit:cover; }
.flat-pair img { aspect-ratio:1.8; object-fit:cover; }
.cross-pair img { background:#eef0f3; }
.detail-page figcaption,.applications article { padding:18px 22px; }
.cross-sections > p { margin:18px 0; }
.movie,.project-brief { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; border-radius:18px; overflow:hidden; background:#24233a; color:white; }
.movie > div,.project-brief { padding:clamp(24px,4vw,64px); }
.movie video { width:100%; height:clamp(360px,42vw,540px); background:#161620; object-fit:contain; }
.movie p,.project-brief p { color:#eeedf4; max-width:56ch; }
.project-brief { background:var(--accent); grid-template-columns:1fr auto; gap:24px; }
.project-brief h2 { margin-bottom:12px; }
.email-btn { display:inline-flex; align-items:center; justify-content:center; min-height:44px; border-radius:24px; padding:9px 22px; color:var(--accent); background:white; font-weight:700; }
@media(max-width:800px) {
 .detail-hero,.method,.movie,.project-brief { grid-template-columns:1fr; }
 .detail-hero > img { height:clamp(200px,54vw,350px); min-height:0; }
 .method { gap:0; }
 .applications > div { grid-template-columns:1fr; }
 .movie video { height:440px; max-height:68svh; }
 .email-btn { justify-self:start; }
}
@media(max-width:600px) {
 .detail-hero h1 { font-size:clamp(42px,12vw,67px); }
 .prep-grid,.flat-pair,.cross-pair { grid-template-columns:1fr; }
 .prep-grid figure { display:grid; grid-template-columns:45% 1fr; align-items:center; }
 .prep-grid img { aspect-ratio:.85; }
 .detail-page figcaption { padding:15px; }
}
