/**
 * NYCDS Service page template styles.
 * Ported from the approved Vercel prototype's design system, scoped under
 * .nycds-service so it can never bleed into the theme's own header/footer/nav.
 * Fonts: Marcellus (display) + Inter (body), loaded via Google Fonts in
 * nycds-services.php. "Area Normal" is listed as a fallback ahead of Inter —
 * it's a licensed font the practice may already own; swap it in via
 * @font-face here once the files are supplied, no other change needed.
 */
:root { --plum: #6F5060; --plum-deep: #5A4050; --plum-ink: #3E2C36; --bluegray: #8FA1A6; --taupe: #A6968D; --rose: #D9C5C1; --sand: #D9CCC1; --sand-40: #F2EDE9; --sand-20: #F8F5F3; --gray: #5F6267; --white: #fff; --gray-soft: #68696C; --gray-onsand: #515358; --taupe-text: #746963; --rose-text: #E6D9D7; --rule: rgba(111,80,96,.14); --rule-soft: rgba(111,80,96,.08); --display: 'Marcellus','Cormorant Garamond','Times New Roman',serif; --body: 'Inter','Area Normal','Helvetica Neue',Helvetica,Arial,sans-serif; --r-chip: 4px; --r-btn: 12px; --r-media: 24px; --max: 1240px; --pad: clamp(20px,5vw,64px); --sec: clamp(56px,7vw,112px); --ease: cubic-bezier(.22,1,.36,1); }
.nycds-service *, .nycds-service ::before, .nycds-service ::after { box-sizing: border-box; }
.nycds-service { margin: 0px; background: var(--white); color: var(--gray); font-family: var(--body); font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.nycds-service img { max-width: 100%; display: block; }
.nycds-service a { color: inherit; }
.nycds-service button { font: inherit; color: inherit; cursor: pointer; }
.nycds-service h1, .nycds-service h2, .nycds-service h3, .nycds-service h4 { font-family: var(--display); font-weight: 400; color: var(--plum); margin: 0px; text-wrap: balance; text-transform: none !important; letter-spacing: normal !important; }
.nycds-service h1 { font-size: clamp(32px, 4.6vw, 54px) !important; line-height: 1.08 !important; letter-spacing: 0.01em !important; }
.nycds-service h2 { font-size: clamp(27px, 3.4vw, 40px) !important; line-height: 1.15 !important; }
.nycds-service h3 { font-size: clamp(20px, 2.1vw, 25px) !important; line-height: 1.25 !important; }
.nycds-service p { margin: 0px 0px 1.15em; }
.nycds-service p:last-child { margin-bottom: 0px; }
.nycds-service .eyebrow { font-family: var(--body); font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); line-height: 1.4; margin: 0px; }
.nycds-service .lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.6; }
.nycds-service .meta { font-size: 15px; line-height: 1.55; color: var(--gray-soft); }
.nycds-service .wrap { max-width: var(--max); margin: 0px auto; padding-left: var(--pad); padding-right: var(--pad); }
.nycds-service .section { padding-top: var(--sec); padding-bottom: var(--sec); }
.nycds-service .section--sand { background: var(--sand-40); }
.nycds-service .section--sandfull { background: var(--sand); }
.nycds-service .section--sandfull p, .nycds-service .section--sandfull .meta { color: var(--gray-onsand); }
.nycds-service .section--plum { background: var(--plum); }
.nycds-service .section--plum h2, .nycds-service .section--plum h3 { color: var(--white); }
.nycds-service .section--plum .eyebrow { color: var(--rose-text); }
.nycds-service .section-head { margin-bottom: clamp(28px, 3.6vw, 48px); }
.nycds-service .section-head .eyebrow { margin-bottom: 14px; }
.nycds-service .section-head p { margin-top: 16px; max-width: 56ch; }
.nycds-service .measure { max-width: 660px; }
.nycds-service .btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0px 30px; border-radius: var(--r-btn); font-size: 14px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; background: var(--plum); color: var(--white); transition: background .22s var(--ease), transform .22s var(--ease), box-shadow .22s var(--ease); }
.nycds-service .btn:hover { background: var(--plum-deep); transform: translateY(-1px); box-shadow: rgba(111, 80, 96, 0.2) 0px 4px 16px; }
.nycds-service .btn--ghost { background: transparent; color: var(--plum); border-color: var(--plum); }
.nycds-service .btn--ghost:hover { background: rgba(111, 80, 96, 0.07); box-shadow: none; }
.nycds-service .btn--sand { background: var(--sand); color: var(--plum-ink); }
.nycds-service .btn--sand:hover { background: var(--rose); color: var(--plum-ink); }
.nycds-service .btn--sm { min-height: 46px; padding: 0px 20px; font-size: 12px; }
.nycds-service .btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.nycds-service .tlink { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 0.09em; text-transform: uppercase; color: var(--plum); border-bottom: 1px solid var(--rule); padding-bottom: 5px; transition: border-color .22s var(--ease); }
.nycds-service .tlink .arw { transition: transform .22s var(--ease); }
.nycds-service .tlink:hover { border-color: var(--plum); }
.nycds-service .tlink:hover .arw { transform: translateX(4px); }
.nycds-service :focus { outline: none; }
.nycds-service :focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 2px; }
.nycds-service .section--plum :focus-visible, .nycds-service .nav :focus-visible { outline-color: var(--sand); }
.nycds-service .skip { position: absolute; left: -9999px; top: 0px; z-index: 200; background: var(--white); color: var(--plum); padding: 14px 20px; border-radius: 0 0 var(--r-btn) 0; }
.nycds-service .skip:focus { left: 0px; }
.nycds-service .ph { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum-ink); background: rgba(217, 204, 193, 0.55); border: 1px dashed var(--taupe); padding: 5px 10px; border-radius: var(--r-chip); line-height: 1; }
.nycds-service .ph::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--taupe); }
.nycds-service .ph-field { background: repeating-linear-gradient(135deg,transparent 0 9px,rgba(166,150,141,.16) 9px 10px),var(--sand-20); border: 1px solid var(--rule-soft); display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; }
.nycds-service .nav { background: var(--plum); position: relative; z-index: 60; }
.nycds-service .nav-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }
.nycds-service .nav-logo img { height: 52px; width: auto; }
.nycds-service .nav-links { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 42px); list-style: none; margin: 0px; padding: 0px; }
.nycds-service .nav-links a { text-decoration: none; color: var(--white); font-family: var(--display); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; padding: 8px 0px; border-bottom: 1px solid transparent; transition: border-color .22s var(--ease); }
.nycds-service .nav-links a:hover, .nycds-service .nav-links a[aria-current] { border-color: var(--sand); }
.nycds-service .nav-cta { background: var(--sand); color: var(--plum-ink); text-decoration: none; font-family: var(--display); font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; padding: 13px 24px; border-radius: var(--r-btn); }
.nycds-service .nav-cta:hover { background: var(--rose); }
.nycds-service .nav-burger { display: none; background: none; border: 0px; padding: 10px; color: var(--white); }
@media (max-width: 1080px) {
.nycds-service .nav-links, .nycds-service .nav-cta { display: none; }
.nycds-service .nav-burger { display: block; }
.nycds-service .nav-logo img { height: 44px; }
.nycds-service .nav-in { min-height: 72px; }
}
.nycds-service .shero { position: relative; background: var(--plum-ink); }
.nycds-service .shero-media { position: relative; height: clamp(340px, 52vw, 580px); overflow: hidden; }
.nycds-service .shero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.nycds-service .shero-media::after { content: ""; position: absolute; inset: 0px; background: linear-gradient(90deg, rgba(62, 44, 54, 0.86) 0%, rgba(62, 44, 54, 0.62) 46%, rgba(62, 44, 54, 0.18) 100%); }
.nycds-service .shero-in { position: absolute; inset: 0px; display: flex; align-items: center; z-index: 1; }
.nycds-service .shero-copy { max-width: 640px; }
.nycds-service .shero .eyebrow { color: var(--rose-text); margin-bottom: 18px; }
.nycds-service .shero h1 { color: var(--white); margin-bottom: 20px; }
.nycds-service .shero-sub { font-family: var(--display); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; color: rgb(240, 231, 228); max-width: 34ch; margin-bottom: 30px; }
.nycds-service .crumbs { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.84); margin-bottom: 22px; }
.nycds-service .crumbs a { text-decoration: none; }
.nycds-service .crumbs a:hover { color: var(--white); }
.nycds-service .crumbs span { opacity: 0.5; padding: 0px 8px; }
@media (max-width: 820px) {
.nycds-service .shero { display: flex; flex-direction: column; background: var(--plum-ink); }
.nycds-service .shero-media { height: auto; aspect-ratio: 16 / 10; max-height: 34vh; order: -1; }
.nycds-service .shero-media::after { background: linear-gradient(rgba(62, 44, 54, 0.15) 0%, rgba(62, 44, 54, 0.55) 100%); }
.nycds-service .shero-in { position: static; padding: clamp(28px, 6vw, 40px) 0px clamp(32px, 7vw, 44px); }
.nycds-service .shero-copy { max-width: 100%; }
.nycds-service .shero-sub { margin-bottom: 24px; max-width: 100%; }
.nycds-service .crumbs { margin-bottom: 16px; }
}
.nycds-service .intro { padding-top: clamp(40px, 4.6vw, 68px); padding-bottom: clamp(44px, 5vw, 76px); }
.nycds-service .intro-grid { display: grid; grid-template-columns: minmax(0px, 1.5fr) minmax(0px, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.nycds-service .intro p { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.65; }
.nycds-service .intro-aside { border-left: 2px solid var(--bluegray); padding-left: 24px; }
.nycds-service .intro-aside .eyebrow { margin-bottom: 12px; }
.nycds-service .intro-aside p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.nycds-service .intro-aside .btn { margin-top: 8px; }
@media (max-width: 860px) {
.nycds-service .intro-grid { grid-template-columns: 1fr; gap: 32px; }
}
.nycds-service .pos { background: var(--sand-40); }
.nycds-service .pos-grid { display: grid; grid-template-columns: minmax(0px, 1fr) minmax(0px, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.nycds-service .pos-grid h2 { margin-bottom: 0px; }
@media (max-width: 860px) {
.nycds-service .pos-grid { grid-template-columns: 1fr; gap: 24px; }
}
.nycds-service .jump { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(30px, 3.6vw, 48px); }
.nycds-service .jump a { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0px 16px; border: 1px solid var(--rule); border-radius: var(--r-chip); text-decoration: none; font-size: 13px; letter-spacing: 0.02em; color: var(--plum); background: var(--white); transition: background .2s var(--ease), border-color .2s var(--ease); }
.nycds-service .jump a:hover { background: var(--sand-40); border-color: var(--taupe); }
.nycds-service .jump a .n { font-family: var(--display); font-size: 12px; color: var(--taupe-text); }
@media (max-width: 620px) {
.nycds-service .jump { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-left: calc(var(--pad)*-1); margin-right: calc(var(--pad)*-1); padding: 0 var(--pad) 4px; }
.nycds-service .jump::-webkit-scrollbar { display: none; }
.nycds-service .jump a { flex: 0 0 auto; scroll-snap-align: start; }
}
.nycds-service [id] { scroll-margin-top: 24px; }
.nycds-service .treat[id] { scroll-margin-top: 32px; }
.nycds-service .treat { border-top: 1px solid var(--rule); padding-top: clamp(26px, 3vw, 38px); margin-top: clamp(30px, 3.6vw, 48px); }
.nycds-service .treat:first-of-type { margin-top: 0px; }
.nycds-service .treat-grid { display: grid; grid-template-columns: minmax(0px, 0.42fr) minmax(0px, 1fr); gap: clamp(24px, 5vw, 64px); }
.nycds-service .treat-num { font-family: var(--display); font-size: 15px; letter-spacing: 0.14em; color: var(--taupe-text); margin-bottom: 14px; display: block; }
.nycds-service .treat h3 { margin-bottom: 0px; }
.nycds-service .treat-body > p:first-child { font-size: 18px; line-height: 1.6; color: var(--plum-ink); margin-bottom: 24px; }
.nycds-service .tlist { list-style: none; margin: 0px 0px 24px; padding: 0px; display: grid; gap: 2px; }
.nycds-service .tlist li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 0px; border-bottom: 1px solid var(--rule-soft); align-items: baseline; }
.nycds-service .tlist li:first-child { border-top: 1px solid var(--rule-soft); }
.nycds-service .tlist .mk { width: 5px; height: 5px; border-radius: 50%; background: var(--bluegray); transform: translateY(-3px); }
.nycds-service .tlist b { font-weight: 500; color: var(--plum-ink); }
.nycds-service .treat-close { font-family: var(--display); font-size: 19px; line-height: 1.45; color: var(--plum); }
@media (max-width: 820px) {
.nycds-service .treat-grid { grid-template-columns: 1fr; gap: 18px; }
}
.nycds-service .cta-inline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; background: var(--sand); border-radius: var(--r-media); padding: clamp(22px, 2.6vw, 32px) clamp(24px, 3.4vw, 44px); margin-top: clamp(32px, 4vw, 52px); }
.nycds-service .cta-inline h3 { margin-bottom: 6px; }
.nycds-service .cta-inline p { margin: 0px; max-width: 46ch; font-size: 16px; color: var(--gray-onsand); }
.nycds-service .cta-inline--urgent { background: var(--plum); }
.nycds-service .cta-inline--urgent h3 { color: var(--white); }
.nycds-service .cta-inline--urgent p { color: var(--rose-text); }
.nycds-service .provs { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.nycds-service .prov { text-decoration: none; display: block; }
.nycds-service .prov-photo { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-btn); overflow: hidden; margin-bottom: 16px; background: var(--sand-20); transition: transform .3s var(--ease); }
.nycds-service .prov:hover .prov-photo { transform: translateY(-4px); }
.nycds-service .prov--pending .prov-photo { opacity: 0.72; }
.nycds-service .prov--pending h3 { color: var(--gray-soft); }
.nycds-service .pending-note { display: block; margin-top: 8px; font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--taupe-text); }
.nycds-service .prov-photo img { width: 100%; height: 100%; object-fit: cover; }
.nycds-service .prov h3 { display: block; font-size: 20px; margin-bottom: 5px; }
.nycds-service .prov .role { display: block; font-size: 14px; color: var(--gray-soft); margin: 0px 0px 10px; }
.nycds-service .prov .lead-flag { display: block; min-height: 17px; font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe-text); }
.nycds-service .provs-foot { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.nycds-service .filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.nycds-service .filter { border: 1px solid var(--rule); background: none; border-radius: var(--r-chip); padding: 11px 16px; min-height: 46px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); transition: all .2s var(--ease); }
.nycds-service .filter:hover { border-color: var(--taupe); color: var(--plum); }
.nycds-service .filter[aria-pressed="true"] { background: var(--plum); border-color: var(--plum); color: var(--white); }
.nycds-service .case-grid { display: grid; grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.nycds-service .case { border-top: 1px solid var(--rule); padding-top: 22px; }
.nycds-service .case-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--r-btn); overflow: hidden; }
.nycds-service .case-half { aspect-ratio: 4 / 5; position: relative; display: flex; align-items: center; justify-content: center; }
.nycds-service .case-tag { position: absolute; left: 12px; top: 12px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); background: rgba(255, 255, 255, 0.86); padding: 6px 9px; border-radius: var(--r-chip); }
.nycds-service .case-half .ph-note { font-size: 12px; color: var(--taupe-text); line-height: 1.5; letter-spacing: 0.04em; max-width: 16ch; }
.nycds-service .case-meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.nycds-service .case h3 { font-size: 21px; }
.nycds-service .case-treat { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--taupe-text); text-align: right; }
.nycds-service .case-by { font-size: 13px; color: var(--gray-soft); margin-top: 12px; }
.nycds-service .case-by a { color: var(--plum); }
.nycds-service .case p.meta { margin-top: 14px; }
.nycds-service .case-open { margin-top: 16px; }
@media (max-width: 820px) {
.nycds-service .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
.nycds-service .filters { flex-wrap: nowrap; overflow-x: auto; margin-left: calc(var(--pad)*-1); margin-right: calc(var(--pad)*-1); padding: 0 var(--pad) 4px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.nycds-service .filters::-webkit-scrollbar { display: none; }
.nycds-service .filter { flex: 0 0 auto; scroll-snap-align: start; }
}
.nycds-service dialog { border: 0px; padding: 0px; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0px; }
.nycds-service dialog::backdrop { background: rgba(62, 44, 54, 0.72); }
.nycds-service .modal { width: min(940px, -32px + 100vw); background: var(--white); border-radius: var(--r-media); padding: clamp(20px, 3vw, 32px); max-height: calc(-32px + 100vh); overflow: auto; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.nycds-service .modal-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.nycds-service .modal-close { background: none; border: 1px solid var(--rule); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; color: var(--plum); flex: 0 0 auto; }
.nycds-service .modal-close:hover { background: var(--sand-40); }
.nycds-service .compare { position: relative; margin-inline: auto; border-radius: var(--r-btn); overflow: hidden; aspect-ratio: 3 / 2; max-height: 52vh; touch-action: none; user-select: none; }
.nycds-service .compare-layer { position: absolute; inset: 0px; display: flex; align-items: center; text-align: center; padding: 24px; }
.nycds-service .compare-layer.before { justify-content: flex-start; padding-left: 9%; }
.nycds-service .compare-layer.after { clip-path: inset(0 0 0 var(--split,50%)); justify-content: flex-end; padding-right: 9%; }
.nycds-service .compare-tag { position: absolute; top: 14px; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); background: rgba(255, 255, 255, 0.88); padding: 6px 10px; border-radius: var(--r-chip); }
.nycds-service .compare-tag.l { left: 14px; }
.nycds-service .compare-tag.r { right: 14px; }
.nycds-service .compare-handle { position: absolute; top: 0px; bottom: 0px; left: var(--split,50%); width: 44px; transform: translateX(-50%); background: none; border: 0px; display: grid; place-items: center; cursor: ew-resize; }
.nycds-service .compare-handle::before { content: ""; position: absolute; top: 0px; bottom: 0px; width: 2px; background: var(--white); box-shadow: rgba(111, 80, 96, 0.25) 0px 0px 0px 1px; }
.nycds-service .compare-knob { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--white); box-shadow: rgba(62, 44, 54, 0.28) 0px 2px 12px; display: grid; place-items: center; color: var(--plum); }
.nycds-service .compare-side { margin-inline: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; border-radius: var(--r-btn); overflow: hidden; }
.nycds-service .compare-side .case-half { max-height: 52vh; }
.nycds-service .modal-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }
.nycds-service .why { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(24px, 3vw, 40px); }
.nycds-service .why-item { border-top: 1px solid rgba(255, 255, 255, 0.25); padding-top: 22px; }
.nycds-service .why-item h3 { font-size: 19px; margin-bottom: 8px; }
.nycds-service .why-item p { font-size: 15px; line-height: 1.6; color: var(--rose-text); margin: 0px; }
.nycds-service .why-close { margin-top: clamp(30px, 3.6vw, 48px); font-family: var(--display); font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; color: rgb(239, 230, 227); max-width: 30ch; }
.nycds-service .faq { max-width: 840px; }
.nycds-service .faq-item { border-top: 1px solid var(--rule); }
.nycds-service .faq-item:last-child { border-bottom: 1px solid var(--rule); }
.nycds-service .faq-q { width: 100%; background: none; border: 0px; text-align: left; padding: 24px 44px 24px 0px; position: relative; font-family: var(--display); font-size: clamp(18px, 1.7vw, 21px); line-height: 1.35; color: var(--plum); min-height: 64px; }
.nycds-service .faq-q .pm { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); color: var(--bluegray); transition: transform .3s var(--ease), color .3s var(--ease); }
.nycds-service .faq-q[aria-expanded="true"] .pm { transform: translateY(-50%) rotate(45deg); color: var(--plum); }
.nycds-service .faq-a { overflow: hidden; height: 0px; transition: height .38s var(--ease); }
.nycds-service .faq-a > div { padding: 0px 44px 26px 0px; max-width: 66ch; }
.nycds-service .book { position: relative; overflow: hidden; text-align: center; padding-top: clamp(56px, 6.5vw, 96px); padding-bottom: clamp(56px, 6.5vw, 96px); }
.nycds-service .book-mono { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: min(620px, 90%); opacity: 0.07; pointer-events: none; }
.nycds-service .book-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.nycds-service .book h2 { margin-bottom: 18px; }
.nycds-service .book p { color: var(--rose-text); max-width: 48ch; margin-bottom: 34px; }
.nycds-service .book .btn-row { justify-content: center; }
.nycds-service .book-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; margin-top: 36px; font-size: 13px; color: rgba(255, 255, 255, 0.9); }
.nycds-service .book-assure span { display: inline-flex; align-items: center; gap: 8px; }
.nycds-service .rel { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(20px, 2.6vw, 32px); }
.nycds-service .rel-card { text-decoration: none; display: block; }
.nycds-service .rel-photo { display: block; aspect-ratio: 16 / 9; border-radius: var(--r-btn); overflow: hidden; margin-bottom: 16px; background: var(--sand-20); }
.nycds-service .rel-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.nycds-service .rel-card:hover .rel-photo img { transform: scale(1.03); }
.nycds-service .rel-card h3 { font-size: 20px; margin-bottom: 6px; }
.nycds-service .foot { background: var(--plum-ink); color: rgba(255, 255, 255, 0.86); padding: clamp(48px, 6vw, 72px) 0px; }
.nycds-service .foot-in { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; }
.nycds-service .foot img { height: 56px; width: auto; }
.nycds-service .foot-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; list-style: none; margin: 0px; padding: 0px; font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; }
.nycds-service .foot-nav a { text-decoration: none; }
.nycds-service .foot-nav a:hover { color: var(--white); }
.nycds-service .foot small { display: block; width: 100%; margin-top: 28px; font-size: 12px; color: rgba(255, 255, 255, 0.7); }
.nycds-service .dock { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%); z-index: 80; display: flex; align-items: center; gap: 18px; padding: 12px 12px 12px 18px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--r-btn); box-shadow: rgba(62, 44, 54, 0.16) 0px 12px 40px; max-width: calc(-32px + 100vw); transition: transform .4s var(--ease), opacity .3s var(--ease); opacity: 0; pointer-events: none; }
.nycds-service .dock[data-show="true"] { transform: translate(-50%, 0px); opacity: 1; pointer-events: auto; }
.nycds-service .dock-txt { line-height: 1.3; white-space: nowrap; }
.nycds-service .dock-txt b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 400; font-size: 16px; color: var(--plum); }
.nycds-service .dock-txt span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--taupe-text); }
.nycds-service .dock-call { width: 52px; height: 52px; border-radius: var(--r-btn); border: 1px solid var(--rule); display: grid; place-items: center; color: var(--plum); text-decoration: none; flex: 0 0 auto; }
.nycds-service .dock-call:hover { background: var(--sand-40); }
@media (max-width: 700px) {
.nycds-service .dock { left: 0px; right: 0px; bottom: 0px; transform: translateY(120%); max-width: none; border-radius: 0px; border-left: 0px; border-right: 0px; border-bottom: 0px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--sand-20); box-shadow: 0 -1px 0 var(--rule); }
.nycds-service .dock[data-show="true"] { transform: translateY(0px); }
.nycds-service .dock-txt { display: none; }
.nycds-service .dock .btn { flex: 1 1 0%; padding: 0px 14px; font-size: 12px; white-space: nowrap; }
.nycds-service .tlink { min-height: 46px; padding-top: 12px; padding-bottom: 12px; align-items: center; }
.nycds-service .crumbs a { display: inline-flex; align-items: center; min-height: 46px; }
.nycds-service .case-by a { display: inline-flex; align-items: center; min-height: 46px; }
.nycds-service .foot-nav a, .nycds-service .nav-links a { display: inline-flex; align-items: center; min-height: 46px; }
}
@media (max-width: 560px) {
.nycds-service .btn-row .btn { flex: 1 1 100%; }
}
@media (min-width: 701px) and (max-width: 1023px) {
.nycds-service .provs:has(.prov:nth-child(4)) { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
.nycds-service .rel:has(.rel-card:nth-child(4)) { grid-template-columns: repeat(2, minmax(0px, 1fr)); }
}
@media (max-width: 860px) {
.nycds-service .dock-txt span { display: none; }
}
.nycds-service .dock .btn { white-space: nowrap; }
@media (max-width: 1024px) {
.nycds-service .chip { min-height: 46px; }
.nycds-service .tlink { min-height: 46px; padding-top: 12px; padding-bottom: 12px; align-items: center; }
.nycds-service .crumbs a { display: inline-flex; align-items: center; min-height: 46px; }
.nycds-service .case-by a { display: inline-flex; align-items: center; min-height: 46px; }
.nycds-service .foot-nav a, .nycds-service .nav-links a { display: inline-flex; align-items: center; min-height: 46px; }
.nycds-service .case-tag { font-size: 11px; }
.nycds-service .ph { font-size: 11px; }
.nycds-service .case-treat { font-size: 11px; }
.nycds-service .prov .lead-flag { font-size: 11px; letter-spacing: 0.08em; min-height: 16px; }
.nycds-service .eyebrow { font-size: 11.5px; }
}
@media (max-width: 700px) {
.nycds-service .provs { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 20px 16px; }
.nycds-service .prov h3 { font-size: 17px; line-height: 1.25; min-height: 2.5em; }
.nycds-service .prov .role { font-size: 13px; }
.nycds-service .prov .lead-flag { min-height: 16px; font-size: 11px; letter-spacing: 0.08em; }
.nycds-service .rel { grid-template-columns: repeat(2, minmax(0px, 1fr)); gap: 20px 16px; }
.nycds-service .rel-card h3 { font-size: 17px; }
.nycds-service .provs-foot { margin-top: 26px; gap: 14px; }
}
@media (max-width: 379px) {
.nycds-service .provs { grid-template-columns: 1fr; gap: 24px; }
.nycds-service .rel { grid-template-columns: 1fr; }
.nycds-service .prov-photo { aspect-ratio: 3 / 2; }
.nycds-service .prov-photo img { object-position: center 12%; }
.nycds-service .prov h3 { min-height: 0px; }
}
@media (max-width: 700px) {
.nycds-service .case-tag { font-size: 11px; padding: 6px 10px; }
.nycds-service .ph { font-size: 11px; }
.nycds-service .case-treat { font-size: 11px; }
.nycds-service .eyebrow { font-size: 11.5px; }
.nycds-service .treat-num { font-size: 13px; }
}
@media (max-width: 379px) {
.nycds-service .crumbs span:last-of-type { display: none; }
.nycds-service .crumbs span[aria-hidden]:nth-last-of-type(2) { display: none; }
}
@media (max-width: 420px) {
.nycds-service .case-half .ph-note { font-size: 11px; max-width: 13ch; }
.nycds-service .case-tag { left: 8px; top: 8px; padding: 5px 7px; font-size: 11px; letter-spacing: 0.1em; }
.nycds-service .case h3 { font-size: 19px; }
.nycds-service .case-meta { flex-wrap: wrap; gap: 2px 12px; }
}
@media (min-width: 821px) and (max-width: 1023px) {
.nycds-service .treat-grid { grid-template-columns: minmax(0px, 0.38fr) minmax(0px, 1fr); gap: 32px; }
}
@media (max-width: 900px) and (orientation: landscape) {
.nycds-service .shero-media { max-height: 52vh; }
}
/* ---------- Services Hub page (plain text hero, no photo — verified against the live prototype, which has no .shero on this page) ---------- */
.nycds-service .hub-hero { padding-top: clamp(56px, 8vw, 112px); padding-bottom: clamp(40px, 5vw, 72px); }
.nycds-service .hub-hero h1 { max-width: 16ch; margin-bottom: 24px; }
.nycds-service .hub-hero .lead { max-width: 60ch; color: var(--gray); }
.nycds-service .hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: clamp(24px, 3vw, 44px); }
.nycds-service .svc { text-decoration: none; display: block; border-top: 1px solid var(--rule); padding-top: 20px; }
.nycds-service .svc-photo { display: block; aspect-ratio: 16 / 10; border-radius: var(--r-btn); overflow: hidden; margin-bottom: 20px; background: var(--sand-20); }
.nycds-service .svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.nycds-service .svc:hover .svc-photo img { transform: scale(1.035); }
.nycds-service .svc h2 { font-size: clamp(23px, 2.2vw, 27px); margin-bottom: 10px; }
.nycds-service .svc p { font-size: 16px; line-height: 1.6; color: var(--gray); margin-bottom: 16px; }
.nycds-service .svc .who { display: block; font-size: 13px; color: var(--gray-soft); margin-bottom: 14px; }
.nycds-service .svc .go { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--plum); }
.nycds-service .svc .go .arw { transition: transform .22s var(--ease); }
.nycds-service .svc:hover .go .arw { transform: translateX(5px); }

.nycds-service .rise { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.nycds-service .rise.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
.nycds-service *, .nycds-service ::before, .nycds-service ::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
.nycds-service .rise { opacity: 1; transform: none; }
}
