/* ============================================================
   AEDO — Modern Service Pages component layer
   Builds on style.css design tokens (var(--accent) etc.)
   Used by /services/design-build/ and /services/structural-design/
   ============================================================ */

.svc-main { padding-top: 72px; }

/* Reveal animation — visible by default (no-JS / observer-fail safe);
   JS adds .svc-armed to <html> to enable the scroll-in animation. */
.svc-main .reveal { opacity: 1; transform: none; }
html.svc-armed .svc-main .reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
html.svc-armed .svc-main .reveal.visible { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding: 96px 24px 72px;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(232,97,0,0.16), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(26,58,92,0.45), transparent 60%),
    var(--bg);
}
.svc-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(122,154,181,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122,154,181,0.06) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(700px 400px at 70% 0%, #000, transparent 75%);
          mask-image: radial-gradient(700px 400px at 70% 0%, #000, transparent 75%);
  pointer-events: none;
}
.svc-hero-inner { position: relative; max-width: 1040px; margin: 0 auto; }
.svc-breadcrumb { font-size: 13px; color: var(--text2); margin-bottom: 22px; }
.svc-breadcrumb a { color: var(--text2); text-decoration: none; }
.svc-breadcrumb a:hover { color: var(--accent); }
.svc-breadcrumb .cur { color: var(--accent); }

.svc-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono, monospace);
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  background: rgba(232,97,0,0.09);
  border: 1px solid rgba(232,97,0,0.28);
  padding: 7px 14px; border-radius: 999px;
}
.svc-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(232,97,0,0.6); animation: svcPulse 2.2s infinite; }
@keyframes svcPulse { 0%{box-shadow:0 0 0 0 rgba(232,97,0,0.55);} 70%{box-shadow:0 0 0 10px rgba(232,97,0,0);} 100%{box-shadow:0 0 0 0 rgba(232,97,0,0);} }

.svc-h1 {
  font-family: var(--font2);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 22px 0 18px;
}
.svc-h1 .accent { color: var(--accent); }
.svc-lead { font-size: clamp(16px, 2.1vw, 20px); line-height: 1.62; color: var(--text2); max-width: 720px; }
.svc-lead strong { color: var(--text); }

.svc-cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- STAT STRIP (animated counters) ---------- */
.svc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(122,154,181,0.14);
  border: 1px solid rgba(122,154,181,0.14);
  border-radius: 16px; overflow: hidden;
  margin-top: 44px;
}
.svc-stat { background: var(--bg2); padding: 22px 18px; text-align: center; }
.svc-stat .num { font-family: var(--font2); font-weight: 800; font-size: clamp(26px,3.6vw,38px); color: var(--text); }
.svc-stat .num .accent { color: var(--accent); }
.svc-stat .lbl { font-size: 12.5px; color: var(--text2); margin-top: 4px; letter-spacing: 0.02em; }

/* ---------- SECTION SCAFFOLD ---------- */
.svc-section { max-width: 1040px; margin: 0 auto; padding: 64px 24px; }
.svc-section.tight { padding-top: 24px; }
.svc-kicker { font-family: var(--font-mono, monospace); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.svc-h2 { font-family: var(--font2); font-weight: 800; font-size: clamp(25px,3.4vw,36px); color: var(--text); line-height: 1.12; margin: 10px 0 16px; letter-spacing: -0.01em; }
.svc-p { color: var(--text2); line-height: 1.72; font-size: 16px; }
.svc-p a { color: var(--accent); }

/* ---------- COMPARISON DIAGRAM (design-build) ---------- */
.svc-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.cmp-card { position: relative; border-radius: 16px; padding: 26px 24px; border: 1px solid rgba(122,154,181,0.16); background: var(--bg2); }
.cmp-card.bad { border-color: rgba(120,30,30,0.4); }
.cmp-card.good { border-color: rgba(232,97,0,0.45); background: linear-gradient(180deg, rgba(232,97,0,0.07), var(--bg2)); }
.cmp-card h3 { font-family: var(--font2); font-size: 18px; color: var(--text); margin: 0 0 4px; }
.cmp-card .tag { font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.cmp-card.bad .tag { color: #e07a7a; }
.cmp-card.good .tag { color: var(--accent); }
.cmp-diagram { margin: 18px 0; }
.cmp-list { list-style: none; padding: 0; margin: 8px 0 0; }
.cmp-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text2); font-size: 14.5px; line-height: 1.5; padding: 7px 0; }
.cmp-list li .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.cmp-card.bad .ic { color: #e07a7a; }
.cmp-card.good .ic { color: var(--accent); }

/* ---------- INTERACTIVE PROCESS TIMELINE ---------- */
.svc-timeline { margin-top: 30px; }
.tl-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 10px; position: relative; }
.tl-step { position: relative; text-align: left; background: var(--bg2); border: 1px solid rgba(122,154,181,0.16); border-radius: 14px; padding: 18px 16px; cursor: pointer; transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.tl-step:hover { transform: translateY(-3px); border-color: rgba(232,97,0,0.4); }
.tl-step.active { border-color: var(--accent); background: linear-gradient(180deg, rgba(232,97,0,0.1), var(--bg2)); }
.tl-step .n { font-family: var(--font2); font-weight: 800; font-size: 14px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: rgba(232,97,0,0.14); color: var(--accent); margin-bottom: 12px; }
.tl-step.active .n { background: var(--accent); color: #fff; }
.tl-step .t { font-family: var(--font2); font-weight: 600; font-size: 14.5px; color: var(--text); }
.tl-detail { margin-top: 16px; background: var(--bg3); border: 1px solid rgba(122,154,181,0.16); border-left: 3px solid var(--accent); border-radius: 12px; padding: 22px 24px; }
.tl-detail h4 { font-family: var(--font2); color: var(--text); font-size: 18px; margin: 0 0 8px; }
.tl-detail p { color: var(--text2); line-height: 1.7; font-size: 15px; margin: 0; }

/* ---------- FEATURE / INCLUDED GRID ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; margin-top: 26px; }
.svc-tile { background: var(--bg2); border: 1px solid rgba(122,154,181,0.14); border-radius: 14px; padding: 22px; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.svc-tile:hover { transform: translateY(-4px); border-color: rgba(232,97,0,0.4); box-shadow: 0 16px 40px -24px rgba(0,0,0,0.7); }
.svc-tile .ic { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(232,97,0,0.12); color: var(--accent); margin-bottom: 14px; }
.svc-tile h3 { font-family: var(--font2); font-size: 16px; color: var(--text); margin: 0 0 6px; }
.svc-tile p { color: var(--text2); font-size: 14px; line-height: 1.6; margin: 0; }

/* ---------- INTERACTIVE STRUCTURAL DIAGRAM ---------- */
.struct-wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 26px; align-items: center; margin-top: 28px; }
.struct-svg { width: 100%; background: var(--bg2); border: 1px solid rgba(122,154,181,0.16); border-radius: 16px; padding: 14px; }
.struct-controls { display: flex; flex-direction: column; gap: 10px; }
.struct-btn { text-align: left; display: flex; gap: 13px; align-items: flex-start; background: var(--bg2); border: 1px solid rgba(122,154,181,0.16); border-radius: 12px; padding: 14px 16px; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; color: var(--text2); }
.struct-btn:hover { transform: translateX(3px); }
.struct-btn.active { border-color: var(--accent); background: linear-gradient(180deg, rgba(232,97,0,0.1), var(--bg2)); color: var(--text); }
.struct-btn .sw { flex: none; width: 14px; height: 14px; border-radius: 4px; margin-top: 3px; }
.struct-btn .stt { font-family: var(--font2); font-weight: 600; color: var(--text); font-size: 15px; display: block; }
.struct-btn .sd { font-size: 13px; line-height: 1.5; display: block; margin-top: 2px; }
/* force layer visibility toggled by JS via [data-show] on the svg wrap */
.struct-svg [data-layer] { opacity: 0.12; transition: opacity .35s ease; }
.struct-svg.show-gravity [data-layer="gravity"],
.struct-svg.show-seismic [data-layer="seismic"],
.struct-svg.show-wind [data-layer="wind"],
.struct-svg.show-foundation [data-layer="foundation"] { opacity: 1; }
.struct-svg .bld { opacity: 1 !important; }
.arrow-anim { animation: arrowFloat 1.6s ease-in-out infinite; }
@keyframes arrowFloat { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-4px);} }

/* ---------- PRICING CARDS (modernized) ---------- */
.svc-pricing { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 16px; margin-top: 26px; }
.price-card { position: relative; background: var(--bg2); border: 1px solid rgba(122,154,181,0.16); border-radius: 16px; padding: 24px; cursor: pointer; transition: transform .25s, border-color .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-5px); border-color: rgba(232,97,0,0.5); box-shadow: 0 20px 50px -28px rgba(0,0,0,0.8); }
.price-card.feat { border-color: var(--accent); }
.price-card .badge { position: absolute; top: -11px; left: 24px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; }
.price-card .pc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-card .pc-name { font-family: var(--font2); font-weight: 700; color: var(--text); font-size: 17px; }
.price-card .pc-amt { font-family: var(--font2); font-weight: 800; color: var(--accent); font-size: 22px; white-space: nowrap; }
.price-card .pc-desc { color: var(--text2); font-size: 14px; line-height: 1.65; margin: 12px 0 0; }
.price-card .pc-go { color: var(--accent); font-size: 13.5px; font-weight: 600; margin: 14px 0 0; display: inline-flex; gap: 6px; }

/* ---------- INTERACTIVE PH MAP (real geography, region highlight) ---------- */
.map-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 26px; align-items: center; margin-top: 26px; }
.map-stage { background: var(--bg2); border: 1px solid rgba(122,154,181,0.16); border-radius: 16px; padding: 14px; min-height: 260px; }
.ph-map { width: 100%; }
.ph-map svg { width: 100%; height: auto; display: block; max-height: 480px; }
.ph-map path { fill: #1a3656; stroke: var(--bg); stroke-width: 0.8; transition: fill .25s ease; }
.ph-map path.on { fill: var(--accent); }
.map-list { display: flex; flex-direction: column; gap: 8px; }
.map-list button { text-align: left; background: var(--bg2); border: 1px solid rgba(122,154,181,0.16); border-radius: 10px; padding: 11px 14px; color: var(--text2); cursor: pointer; font-size: 14px; transition: border-color .2s, color .2s; }
.map-list button:hover, .map-list button.on { border-color: var(--accent); color: var(--text); }

/* ---------- LIGHT SECTIONS (full-bleed band, single class) ---------- */
.svc-section.is-light { position: relative; isolation: isolate; }
.svc-section.is-light::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; margin-left: -50vw; width: 100vw; background: var(--bg-light); }
.svc-section.is-light .svc-h2 { color: var(--text-dark); }
.svc-section.is-light .svc-p { color: var(--text-dark2); }
.svc-section.is-light .svc-p a { color: var(--accent); }
.svc-section.is-light .svc-tile { background: #fff; border-color: #e0e8f2; box-shadow: 0 2px 10px -6px rgba(12,26,42,0.18); }
.svc-section.is-light .svc-tile:hover { border-color: rgba(232,97,0,0.5); box-shadow: 0 18px 40px -26px rgba(12,26,42,0.4); }
.svc-section.is-light .svc-tile h3 { color: var(--text-dark); }
.svc-section.is-light .svc-tile p { color: var(--text-dark2); }
.svc-section.is-light .tl-step { background: #fff; border-color: #e0e8f2; }
.svc-section.is-light .tl-step .t { color: var(--text-dark); }
.svc-section.is-light .tl-step.active { background: #fff4ee; border-color: var(--accent); }
.svc-section.is-light .tl-detail { background: #fff; border-color: #e0e8f2; }
.svc-section.is-light .tl-detail h4 { color: var(--text-dark); }
.svc-section.is-light .tl-detail p { color: var(--text-dark2); }
.svc-section.is-light .faq-list, .svc-section.is-light .faq-item { border-color: #dbe4ef; }
.svc-section.is-light .faq-q { color: var(--text-dark); }
.svc-section.is-light .faq-a-inner { color: var(--text-dark2); }
.svc-section.is-light .price-card { background: #fff; border-color: #e0e8f2; box-shadow: 0 2px 10px -6px rgba(12,26,42,0.18); }
.svc-section.is-light .price-card .pc-name { color: var(--text-dark); }
.svc-section.is-light .price-card .pc-desc { color: var(--text-dark2); }
.svc-section.is-light .price-card .pc-desc strong { color: var(--text-dark) !important; }
.svc-section.is-light .map-stage { background: #fff; border-color: #e0e8f2; }
.svc-section.is-light .ph-map path { fill: #d6e0ec; stroke: #fff; }
.svc-section.is-light .ph-map path.on { fill: var(--accent); }
.svc-section.is-light .map-list button { background: #fff; border-color: #e0e8f2; color: var(--text-dark2); }
.svc-section.is-light .map-list button:hover, .svc-section.is-light .map-list button.on { border-color: var(--accent); color: var(--text-dark); }

/* ---------- FAQ ACCORDION ---------- */
.faq-list { margin-top: 22px; border-top: 1px solid rgba(122,154,181,0.14); }
.faq-item { border-bottom: 1px solid rgba(122,154,181,0.14); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 20px 4px; display: flex; justify-content: space-between; gap: 16px; align-items: center; color: var(--text); font-family: var(--font2); font-weight: 600; font-size: 16.5px; }
.faq-q .pm { flex: none; width: 24px; height: 24px; position: relative; transition: transform .3s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-q .pm::before { top: 11px; left: 4px; right: 4px; height: 2px; }
.faq-q .pm::after { left: 11px; top: 4px; bottom: 4px; width: 2px; transition: transform .3s; }
.faq-item.open .faq-q .pm::after { transform: scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner { padding: 0 4px 20px; color: var(--text2); line-height: 1.72; font-size: 15px; }
.faq-a-inner a { color: var(--accent); }

/* ---------- FINAL CTA ---------- */
.svc-finalcta { position: relative; overflow: hidden; max-width: 1040px; margin: 24px auto 70px; border-radius: 20px; padding: 48px 32px; text-align: center;
  background: radial-gradient(700px 300px at 50% -40%, rgba(232,97,0,0.22), transparent 70%), var(--bg2);
  border: 1px solid rgba(232,97,0,0.4); }
.svc-finalcta h2 { font-family: var(--font2); font-weight: 800; font-size: clamp(22px,3vw,30px); color: var(--text); margin: 0 0 12px; }
.svc-finalcta p { color: var(--text2); margin: 0 auto 24px; max-width: 540px; line-height: 1.6; }

/* ---------- PROJECT SHOWCASE (editorial gallery + lightbox) ---------- */
.proj-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 14px;
  margin-top: 30px;
}
.pw-card {
  position: relative; margin: 0; grid-column: span 2; grid-row: span 1;
  border-radius: 16px; overflow: hidden; cursor: pointer; isolation: isolate;
  background: #0f1f33; border: 1px solid rgba(122,154,181,0.14);
}
/* First card is the editorial hero tile */
.pw-card.feat { grid-column: span 2; grid-row: span 2; }
.pw-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
  filter: saturate(1.03);
  transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease;
}
.pw-card:hover img, .pw-card:focus-visible img { transform: scale(1.07); filter: saturate(1.12); }
.pw-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(7,14,25,0.94) 4%, rgba(7,14,25,0.45) 36%, rgba(7,14,25,0) 62%);
}
.pw-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 16px 18px; }
.pw-scope {
  display: inline-block; font-family: var(--font-mono, monospace);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); background: rgba(232,97,0,0.13);
  border: 1px solid rgba(232,97,0,0.32); padding: 4px 9px; border-radius: 99px; margin-bottom: 9px;
}
.pw-cap h3 { font-family: var(--font2); font-weight: 700; font-size: 15.5px; line-height: 1.22; color: #fff; margin: 0; }
.pw-card.feat .pw-cap h3 { font-size: clamp(20px, 2.6vw, 26px); }
.pw-loc { display: block; margin-top: 5px; font-size: 12.5px; color: #aebfd0; }
.pw-view {
  margin-top: 12px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 700; color: var(--accent);
  opacity: 0; transform: translateY(8px); transition: opacity .4s ease, transform .4s ease;
}
.pw-card:hover .pw-view, .pw-card:focus-visible .pw-view { opacity: 1; transform: none; }
.pw-count {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; font-weight: 700; color: #fff;
  background: rgba(7,14,25,0.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 4px 9px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.12);
}
.pw-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Lightbox */
.pw-lb { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: 24px; background: rgba(5,10,18,0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.pw-lb.open { display: flex; }
.pw-lb-box { position: relative; width: 100%; max-width: 940px; max-height: 92vh; overflow: hidden auto;
  background: #0c1a2c; border: 1px solid rgba(122,154,181,0.18); border-radius: 18px;
  box-shadow: 0 40px 90px rgba(0,0,0,0.6); animation: pwLbIn .35s cubic-bezier(.2,.7,.2,1); }
@keyframes pwLbIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.pw-lb-stage { position: relative; background: #08101c; }
.pw-lb-stage img { width: 100%; max-height: 58vh; object-fit: contain; display: block; }
.pw-lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18);
  background: rgba(7,14,25,0.62); color: #fff; font-size: 20px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.pw-lb-arrow:hover { background: var(--accent); transform: translateY(-50%) scale(1.06); }
.pw-lb-prev { left: 14px; } .pw-lb-next { right: 14px; }
.pw-lb-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; gap: 7px; }
.pw-lb-dots b { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.4); cursor: pointer; transition: background .2s, transform .2s; }
.pw-lb-dots b.on { background: var(--accent); transform: scale(1.25); }
.pw-lb-close { position: absolute; top: 12px; right: 14px; z-index: 4; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(7,14,25,0.62); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.pw-lb-close:hover { background: var(--accent); }
.pw-lb-info { padding: 22px 26px 26px; }
.pw-lb-scope { display: inline-block; font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); background: rgba(232,97,0,0.13); border: 1px solid rgba(232,97,0,0.32);
  padding: 4px 10px; border-radius: 99px; margin-bottom: 12px; }
.pw-lb-info h3 { font-family: var(--font2); font-weight: 800; font-size: clamp(20px, 3vw, 26px); color: var(--text); margin: 0 0 10px; }
.pw-lb-info p { color: var(--text2); line-height: 1.7; font-size: 15px; margin: 0 0 16px; }
.pw-lb-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: #aebfd0; }
.pw-lb-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- SCROLL-ASSEMBLED STRUCTURE ---------- */
.svc-assembly { padding-top: 8px; }
.asm-head { max-width: 1040px; margin: 0 auto; }
/* Fallback (no GSAP): track is a normal block, building shows complete, captions stack */
.asm-track { position: relative; max-width: 1040px; margin: 0 auto; }
.asm-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.asm-visual { position: relative; }
.asm-svg { width: 100%; height: auto; max-height: 64vh; display: block; overflow: visible; }
.asm-captions { position: relative; min-height: 168px; }
.asm-cap { }
.asm-cap .asm-step { display: inline-block; font-family: var(--font-mono, monospace); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.asm-cap h3 { font-family: var(--font2); font-weight: 800; font-size: clamp(22px, 3vw, 30px); color: var(--text); margin: 0 0 10px; }
.asm-cap p { color: var(--text2); line-height: 1.7; font-size: 15.5px; margin: 0; max-width: 420px; }
.asm-bar { margin-top: 24px; height: 3px; border-radius: 99px; background: rgba(122,154,181,0.18); overflow: hidden; }
.asm-bar-fill { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--accent), #ff8a3d); }

/* Live (GSAP active): pin the visual and cross-fade captions through the scroll */
.svc-assembly.asm-live .asm-track { height: 360vh; }
.svc-assembly.asm-live .asm-sticky { position: sticky; top: 72px; height: calc(100vh - 72px); display: flex; align-items: center; }
.svc-assembly.asm-live .asm-grid { width: 100%; }
.svc-assembly.asm-live .asm-cap { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.svc-assembly.asm-live .asm-cap.active { opacity: 1; transform: none; }

/* ---------- BEFORE / AFTER SLIDER ---------- */
.ba-slider {
  position: relative; max-width: 720px; margin: 28px auto 0;
  aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(122,154,181,0.16); background: #0f1f33;
  cursor: ew-resize; user-select: none; -webkit-user-select: none; touch-action: pan-y;
}
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; pointer-events: none; }
.ba-before { clip-path: inset(0 50% 0 0); }            /* JS updates the right inset */
.ba-tag {
  position: absolute; bottom: 14px; z-index: 4; pointer-events: none;
  font-family: var(--font-mono, monospace); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(7,14,25,0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 5px 11px; border-radius: 99px; border: 1px solid rgba(255,255,255,0.14);
}
.ba-tag-before { left: 14px; } .ba-tag-after { right: 14px; }
.ba-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: 5; background: rgba(255,255,255,0.92); transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,0.25); }
.ba-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%; background: var(--accent); border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.45); cursor: ew-resize; padding: 0;
  display: flex; align-items: center; justify-content: center;
}
.ba-handle::before { content: "‹ ›"; color: #fff; font-size: 15px; font-weight: 800; letter-spacing: -1px; }
.ba-handle:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 860px) {
  .svc-stats { grid-template-columns: repeat(2,1fr); }
  .svc-compare { grid-template-columns: 1fr; }
  .struct-wrap { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .asm-grid { grid-template-columns: 1fr; gap: 20px; }
  .asm-svg { max-height: 46vh; }
  .asm-captions { min-height: 150px; }
  .svc-assembly.asm-live .asm-track { height: 320vh; }
  .proj-wall { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 168px; }
  .pw-card, .pw-card.feat { grid-column: span 1; grid-row: span 1; }
  .pw-card.feat { grid-column: span 2; grid-row: span 2; }
}
@media (max-width: 520px) {
  .proj-wall { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .pw-card, .pw-card.feat { grid-column: span 1; grid-row: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  .arrow-anim, .map-pin.on .ring, .svc-eyebrow .dot { animation: none !important; }
}
