/* 01 / Foundation and shared navigation adjustments */
.services-page { background: radial-gradient(ellipse at 90% 5%, #123f9138, transparent 35%), #05070b; overflow-x: clip; }
.services-page::before { z-index: 0; opacity: .5; }
main, .site-footer, .top-bar { position: relative; }
main { overflow: clip; }
section[id], article[id] { scroll-margin-top: 150px; }
.services-page h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.05; letter-spacing: -.055em; max-width: 850px; }
.services-page h1 span { color: var(--orange); }
.services-page .section-title { font-size: clamp(2rem, 3.5vw, 3.2rem); }
.services-page .nav { min-height: 110px; gap: 1rem; }
.nav-links [aria-current=page] { color: var(--orange); }
.services-page .footer-logo { min-width: 0; }
.services-page .brand-text strong { white-space: normal; }
.services-page .brand-lockup { min-width: 0; }
.services-page a, summary, button { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffad69; outline-offset: 5px; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: white; color: black; z-index: 100; }
.skip-link:focus { top: 10px; }
.text-link { display: inline-block; color: #ffad69; font-weight: 700; margin-top: 1.25rem; text-underline-offset: 5px; }
.text-link:hover { text-decoration: underline; }
.section-lead + .section-lead { margin-top: 1rem; }
/* 02 / Hero and architectural illustration */
.services-hero { padding: 28px 0 90px; border-bottom: 1px solid var(--line); }
.breadcrumbs { display: flex; gap: 14px; font-size: .85rem; color: var(--muted); margin-bottom: 55px; }
.breadcrumbs a:hover { color: white; }
.hero-layout { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 50px; }
.services-page .eyebrow { font-size: .7rem; }
.services-page .hero-copy { max-width: 570px; }
.blueprint { color: #7295c9; border: 1px solid #5273a344; background: linear-gradient(135deg,#123f9129,#10182780); border-radius: 4px 48px 4px 48px; padding: 26px; transform: perspective(900px) rotateY(-8deg); box-shadow: 0 30px 80px #0006; }
.blueprint svg { width: 100%; height: auto; }
.blueprint-label, .blueprint-bottom { font-family: monospace; font-size: .68rem; letter-spacing: .12em; }
.blueprint-bottom { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #5273a344; padding-top: 18px; }
.intro-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
/* 03 / Service cards and native, keyboard-accessible disclosures */
.service-jumps { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.service-jumps a { font-size: .8rem; padding: 8px 12px; border: 1px solid var(--line); border-radius: 4px; color: #c3cbd7; transition: border-color .2s, background .2s; }
.service-jumps a:hover { border-color: var(--orange); background: var(--orange-soft); }
.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.capability { border: 1px solid var(--line); background: linear-gradient(135deg,#111d30e6,#0b111ce6); padding: 30px; border-radius: 20px; position: relative; transition: border-color .2s, transform .2s; }
.capability:hover { border-color: #f9731680; transform: translateY(-3px); }
.card-index { font: .7rem monospace; letter-spacing: .16em; color: var(--orange); display: block; margin-bottom: 30px; }
.capability h3 { font-size: 1.45rem; letter-spacing: -.035em; margin-bottom: 12px; }
.capability p, .approach-grid p { color: var(--muted); }
.capability details { border-top: 1px solid var(--line); margin-top: 24px; padding-top: 16px; }
.capability summary { cursor: pointer; font-size: .85rem; font-weight: 700; padding: 4px 0; color: #e1e7f0; }
.capability summary::marker { color: var(--orange); }
.service-detail { padding-top: 16px; font-size: .93rem; }
/* 04 / Identity and project approach */
.why-section { background: linear-gradient(120deg,#123f912b,transparent); border-block: 1px solid var(--line); }
.identity-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 40px; }
.identity { padding: 24px 20px; border-top: 2px solid #f9731699; background: #10182799; }
.identity span { color: var(--orange); font-size: 1.5rem; }
.identity h3 { font-size: 1rem; margin-top: 18px; }
.safety-statement { font-size: 1.4rem; font-weight: 700; margin: 35px 0 10px; }
.approach-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; list-style: none; margin-top: 42px; counter-reset: step; }
.approach-grid li { border-top: 1px solid var(--line); padding-top: 24px; }
.step-number { color: var(--orange); font: 1.1rem monospace; }
.approach-grid h3 { margin: 15px 0 10px; }
/* 05 / Work image and estimate CTA */
.work-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.project-photo { border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--panel-solid); }
.project-photo img { width: 100%; height: 440px; object-fit: cover; }
.project-photo figcaption { padding: 16px 22px; color: #cbd5e1; font-size: .85rem; }
.work-layout .btn { margin-top: 26px; }
.estimate-panel { padding: clamp(28px,6vw,72px); border: 1px solid #4e6586; border-radius: 28px; background: linear-gradient(120deg,#123f9160,#101827 70%,#f973161c); }
.estimate-panel p { max-width: 640px; margin: 22px 0 28px; color: #b8c2d1; }
.call-link { display: inline-block; margin: 16px 0 0 24px; color: #d0d8e4; }
.reveal.pending { opacity: 0; transform: translateY(18px); }
.reveal { transition: opacity .6s ease, transform .6s ease; }
/* 06 / Responsive layout and motion preferences */
@media(max-width:980px) {
  .services-page .nav-links { top: 100%; }
  .services-page .nav-links.open { display: flex; flex-direction: column; align-items: stretch; }
  .hero-layout { grid-template-columns: 1fr; }
  .blueprint { display: none; }
  .identity-grid { grid-template-columns: 1fr 1fr; }
  .intro-layout, .work-layout { gap: 30px; }
}
@media(max-width:760px) {
  .services-page .section { padding: 60px 0; }
  .services-page .nav { min-height: 90px; }
  .intro-layout, .work-layout, .capability-grid { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr 1fr; }
  .breadcrumbs { margin-bottom: 36px; }
  .services-hero { padding-bottom: 60px; }
  .services-page .footer-grid { grid-template-columns: 1fr 1fr; }
  .project-photo img { height: auto; max-height: 520px; }
  .call-link { display: block; margin-left: 0; }
  section[id], article[id] { scroll-margin-top: 110px; }
}
@media(max-width:480px) {
  .identity-grid, .approach-grid, .services-page .footer-grid { grid-template-columns: 1fr; }
  .capability { padding: 24px; }
  .services-page .hero-actions { align-items: stretch; flex-direction: column; }
  .services-page .brand-text strong { font-size: .88rem; }
  .services-page .brand-lockup { gap: .6rem; }
}
@media(prefers-reduced-motion:reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal.pending { opacity: 1; transform: none; }
}
