/* FY services: scoped to the service directory and the services page. */
.services-kicker { margin: 0 0 22px; color: var(--accent-700); font-size: .68rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.services-directory { padding-block: 96px 48px; scroll-margin-top: var(--header-h); }
.services-intro { margin-bottom: 48px; }
.services-intro h2 { font-size: clamp(2.3rem, 3.7vw, 3.4rem); line-height: 1.15; letter-spacing: -.035em; }
.services-directory-layout { display: grid; grid-template-columns: 1fr 1.18fr; gap: 6%; align-items: start; }
.services-preview { position: sticky; top: calc(var(--header-h) + 24px); height: min(620px, 78vh); min-height: 420px; overflow: hidden; background: var(--bone-3); }
.services-frame { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.services-frame.is-active { opacity: 1; }
.services-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s var(--ease-out); }
.services-preview:hover .services-frame.is-active img { transform: scale(1.012); }
.services-entry { display: grid; grid-template-columns: 22px 1fr 30px; gap: 18px; align-items: start; padding: 28px 0; }
.services-entry-number { font-size: .75rem; padding-top: 6px; color: var(--text-muted); }
.services-entry-copy h3 { font-size: clamp(1.2rem, 1.8vw, 1.65rem); line-height: 1.3; font-weight: 400; margin-bottom: 10px; transition: color .2s; }
.services-entry-copy > span { display: block; font-size: .83rem; line-height: 1.65; color: var(--text-muted); }
.services-entry-arrow { padding-top: 6px; transition: transform .25s; }
.services-entry-arrow svg, .services-text-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.services-entry.is-active h3, .services-entry:hover h3, .services-entry:focus-visible h3 { color: var(--accent-700); }
.services-entry:hover .services-entry-arrow { transform: translateX(4px); }
.services-entry-thumb { display: none; }
.services-foot { margin-top: 36px; padding-top: 8px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.services-foot > span { font-size: .8rem; color: var(--text-muted); }
.services-text-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; font-size: .79rem; font-weight: 700; color: var(--ink-800); padding-block: 7px; border-bottom: 1px solid var(--ink-800); }
.services-text-link:hover { color: var(--accent-700); border-color: currentColor; }
.services-page-intro { padding-block: 68px 58px; }
.services-page-intro-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 10%; align-items: end; }
.services-page-intro h1 { font-size: clamp(2.8rem, 4.7vw, 4.4rem); line-height: 1.12; letter-spacing: -.035em; }
.services-page-intro-grid p { margin: 0 0 20px; max-width: 46ch; font-size: .95rem; }
.services-page-layout { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 5%; align-items: start; padding-bottom: 100px; }
.services-sidebar { position: sticky; top: calc(var(--header-h) + 28px); padding-top: 30px; border-top: 1px solid var(--ink-800); }
.services-sidebar .services-kicker { font-size: .61rem; margin-bottom: 17px; }
.services-sidebar nav a { display: flex; gap: 13px; font-size: .73rem; line-height: 1.5; padding: 12px 0; color: var(--text-muted); }
.services-sidebar nav a span { color: var(--accent-700); width: 10px; flex-shrink: 0; font-size: .65rem; }
.services-sidebar nav a { transform-origin: left center; transition: color .2s ease, transform .2s ease; }
.services-sidebar nav a:hover, .services-sidebar nav a[aria-current] { color: var(--ink-800); text-decoration: none; }
.services-sidebar nav a:hover { transform: scale(1.018); }
.services-sidebar nav a[aria-current] { font-weight: 700; }
.services-sidebar-note { margin: 30px 0 0; border-top: 1px solid var(--border); padding-top: 22px; font-size: .7rem; line-height: 1.8; color: var(--text-muted); }
.services-sidebar-note a { display: block; margin-top: 8px; color: var(--ink-800); }
.service-detail { border-top: 1px solid var(--ink-800); padding: 30px 0 64px; scroll-margin-top: calc(var(--header-h) + 20px); }
.service-detail:last-child { padding-bottom: 0; }
.service-detail-heading { display: flex; align-items: baseline; gap: 22px; margin-bottom: 28px; }
.service-detail-number { color: var(--accent-700); font-size: .85rem; }
.service-detail-heading h2 { font-size: clamp(1.8rem, 2.7vw, 2.6rem); font-weight: 400; letter-spacing: -.03em; }
.service-detail-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 32px; align-items: start; }
.service-detail-photo { margin: 0; min-width: 0; overflow: hidden; }
.service-detail-photo img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; background: var(--bone-3); transition: transform .45s var(--ease-out); }
.service-detail-photo:hover img { transform: scale(1.018); }
.service-detail-photo figcaption { color: var(--text-muted); font-size: .65rem; line-height: 1.6; padding-top: 12px; }
.service-detail-lead { margin: -4px 0 27px; font-size: .88rem; line-height: 1.85; }
.service-detail-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-detail-specs h3 { border-top: 1px solid var(--border-strong); padding-top: 14px; margin-bottom: 14px; font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; line-height: 1.6; }
.service-detail-specs li { font-size: .75rem; line-height: 1.65; margin-bottom: 9px; }
.service-detail-actions { margin-top: 25px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.service-detail-actions .services-text-link { font-size: .72rem; }
.services-closing { padding: 64px 0 76px; background: var(--bone-2); border-top: 1px solid var(--border); }
.services-closing > .container > div { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 10%; }
.services-closing h2 { font-size: clamp(2.2rem, 3.4vw, 3.2rem); letter-spacing: -.035em; }
.services-closing p:not(.services-kicker) { font-size: .9rem; margin: 0 0 24px; }
@media (max-width: 1100px) {
 .services-page-layout { grid-template-columns: 170px minmax(0, 1fr); gap: 4%; }
 .service-detail-layout { grid-template-columns: 1fr; }
 .service-detail-photo img { aspect-ratio: 16 / 10; }
 .service-detail-body { max-width: 65ch; }
}
@media (max-width: 800px) {
 .services-directory { padding-block: 64px 44px; }
 .services-page-intro-grid { grid-template-columns: 1fr; gap: 22px; }
 .services-intro { margin-bottom: 34px; }
 .services-intro h2 { max-width: 10ch; font-size: clamp(2.45rem, 11vw, 3.35rem); line-height: 1.1; }
 .services-directory-layout { display: block; }
 .services-preview { display: block; position: relative; top: auto; width: calc(100% + var(--pad-side) + var(--pad-side)); height: auto; min-height: 0; aspect-ratio: 4 / 5; margin-left: calc(0px - var(--pad-side)); margin-bottom: 32px; }
 .services-entry { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 15px; padding-block: 17px; align-items: start; }
 .services-entry-number { display: block; padding-top: 4px; color: var(--accent-700); font-size: .68rem; }
 .services-entry-thumb { display: none; }
 .services-entry-copy h3 { font-size: clamp(1.16rem, 5vw, 1.35rem); line-height: 1.35; margin-bottom: 5px; }
 .services-entry-copy > span { max-width: 31ch; font-size: .72rem; line-height: 1.55; }
 .services-entry-arrow { padding-top: 4px; }
 .services-entry-arrow svg { width: 17px; height: 17px; }
 .services-entry.is-active h3 { color: var(--ink-800); }
 .services-foot { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 22px; padding-top: 0; }
 .services-foot > span { max-width: 30ch; line-height: 1.65; }
 .services-page-intro { padding-block: 44px 34px; }
 .services-page-intro h1 { font-size: clamp(2.6rem, 8vw, 3.8rem); }
 .services-page-intro-grid p { font-size: .87rem; }
 .services-page-layout { grid-template-columns: 1fr; gap: 32px; padding-bottom: 56px; }
 .services-sidebar { position: static; padding-top: 20px; }
 .services-sidebar nav { display: grid; grid-template-columns: 1fr 1fr; column-gap: 22px; }
 .services-sidebar .services-kicker { grid-column: 1 / -1; margin-bottom: 8px; }
 .services-sidebar nav a { font-size: .7rem; gap: 10px; border-bottom: 1px solid var(--border); }
 .services-sidebar-note { display: none; }
 .service-detail { padding: 24px 0 46px; }
 .service-detail-heading { gap: 16px; margin-bottom: 24px; }
 .service-detail-heading h2 { font-size: clamp(1.7rem, 5vw, 2.2rem); }
 .service-detail-layout { gap: 26px; }
 .service-detail-photo img { aspect-ratio: 4 / 3; }
 .service-detail-lead { font-size: .88rem; }
 .service-detail-specs { gap: 24px; }
 .service-detail-specs li { font-size: .76rem; }
 .services-closing { padding-block: 44px 54px; }
 .services-closing > .container > div { grid-template-columns: 1fr; gap: 24px; }
}
@media (min-width: 600px) and (max-width: 800px) {
 .services-intro h2 { max-width: 13ch; font-size: 3.35rem; }
 .services-preview { aspect-ratio: 16 / 9; margin-bottom: 38px; }
 .services-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }
 .services-entry { grid-template-columns: 22px minmax(0, 1fr) 18px; gap: 12px; }
 .services-entry-copy h3 { font-size: 1.24rem; }
}
@media (max-width: 380px) {
 .services-entry { grid-template-columns: 21px minmax(0,1fr) 17px; gap: 11px; }
 .services-entry-copy h3 { font-size: 1.08rem; }
 .service-detail-specs { grid-template-columns: 1fr; gap: 18px; }
}
@media (prefers-reduced-motion: reduce) {
 .services-frame, .services-frame img, .service-detail-photo img, .services-sidebar nav a { transition: none; }
 .services-preview:hover .services-frame.is-active img, .service-detail-photo:hover img, .services-sidebar nav a:hover { transform: none; }
}
@media print {
 .services-sidebar, .services-preview { display: none; }
 .services-page-layout, .services-directory-layout { display: block; }
 .service-detail { break-inside: avoid; }
}

.services-view .site-header .nav-cta { background: var(--accent-500); color: var(--white); border-color: var(--accent-500); }
