/* Trevi design system, layer 3: service pages (Home Care, Asset Management,
 * Portfolio Acquisitions, Strategic Dispositions). Only what those pages alone
 * use: the statement, issues, capabilities, pillars, features, prose, notes,
 * offer and tiers, steps, crosslink, closing band and the photo rail.
 * Loads after trevi-tokens.css and trevi-components.css. */

.ts.ts .ts-statement { padding: var(--space-9) 0; }
.ts.ts .ts-statement-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.12fr); gap: var(--space-8); align-items: start; }
.ts.ts .ts-statement .ts-h2 { max-width: 15ch; }
.ts.ts .ts-statement .ts-rule { margin-top: var(--space-5); }

.ts.ts .ts-issues { background: var(--navy-800); padding: var(--space-9) 0; }
.ts.ts .ts-issues .ts-h2 { color: var(--champagne-100); margin: var(--space-4) 0 var(--space-5); max-width: 22ch; }
.ts.ts .ts-issues .ts-lede { color: var(--champagne-300); max-width: 64ch; }
.ts.ts .ts-issue-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 var(--space-7); margin-top: var(--space-8);
  border-top: 1px solid var(--border-on-dark);
}
.ts.ts .ts-issue { padding: var(--space-5) 0 var(--space-6); border-bottom: 1px solid var(--border-on-dark); }
.ts.ts .ts-issue h3 { text-transform: none; font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-h5); line-height: var(--lh-snug); color: var(--gold-light); margin-bottom: var(--space-3); }
.ts.ts .ts-issue p { font-size: var(--fs-body-sm); line-height: var(--lh-loose); color: var(--champagne-300); }

.ts.ts .ts-issues-head {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: var(--space-8); align-items: end;
}
.ts.ts .ts-issues-head .ts-lede { max-width: none; }
.ts.ts .ts-issues-plate { margin: 0; }
.ts.ts .ts-issues-plate img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.ts.ts .ts-issues-plate figcaption {
  margin-top: var(--space-3);
  font-family: var(--font-sans); font-size: var(--fs-meta);
  letter-spacing: 0.02em; color: var(--champagne-400);
}

.ts.ts .ts-capabilities { padding: var(--space-9) 0; }
.ts.ts .ts-capability-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0 var(--space-7); margin-top: var(--space-8);
  border-top: 1px solid var(--border);
}
.ts.ts .ts-capability { padding: var(--space-5) 0 var(--space-6); border-bottom: 1px solid var(--border); }
.ts.ts .ts-capability h3 { text-transform: none; font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-h5); line-height: var(--lh-snug); color: var(--navy-800); margin-bottom: var(--space-3); }
.ts.ts .ts-capability p { font-size: var(--fs-body-sm); line-height: var(--lh-loose); color: var(--fg-2); }

.ts.ts .ts-pillars { padding: var(--space-9) 0; background: var(--paper); }
.ts.ts .ts-pillar-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: var(--space-7); margin-top: var(--space-7); }
.ts.ts .ts-pillar { border-top: 1px solid var(--border); padding-top: var(--space-5); }
.ts.ts .ts-pillar-num { font-family: var(--font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--navy-800); }
.ts.ts .ts-pillar .ts-eyebrow { display: block; margin: var(--space-4) 0 var(--space-2); }
.ts.ts .ts-pillar h3 { font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h5); letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: var(--space-3); color: var(--fg); }
.ts.ts .ts-pillar p { font-size: var(--fs-body-sm); line-height: var(--lh-loose); color: var(--fg-2); }

.ts.ts .ts-feature { padding: var(--space-9) 0; }
.ts.ts .ts-feature + .ts-feature { padding-top: 0; }
.ts.ts .ts-feature-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: var(--space-8); align-items: center; }
.ts.ts .ts-feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.ts.ts .ts-feature-flip .ts-feature-photo { order: 2; }
.ts.ts .ts-feature .ts-h2 { margin: var(--space-3) 0 var(--space-3); }

.ts.ts .ts-sub { font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-h5); line-height: var(--lh-snug); color: var(--gold-ink); margin-bottom: var(--space-5); }

.ts.ts .ts-prose { padding: 0 0 var(--space-9); }
.ts.ts .ts-prose .ts-h2 { margin: var(--space-3) 0 var(--space-3); }
.ts.ts .ts-prose .ts-body { column-count: 2; column-gap: var(--space-8); }
.ts.ts .ts-prose .ts-body p { break-inside: avoid; }

.ts.ts .ts-notes { background: var(--bone); padding: var(--space-9) 0; }
.ts.ts .ts-note { background: var(--ivory); border-left: 3px solid var(--gold); padding: var(--space-7); }
.ts.ts .ts-note + .ts-note { margin-top: var(--space-5); }
.ts.ts .ts-note h3 { text-transform: none; font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-h4); margin-bottom: var(--space-4); color: var(--fg); }

.ts.ts .ts-offer { padding: var(--space-9) 0; }
.ts.ts .ts-offer-head { display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-8); align-items: flex-end; justify-content: space-between; }
.ts.ts .ts-offer-head > div:first-child { flex: 1 1 420px; min-width: 0; }
.ts.ts .ts-price {
  flex: 0 0 auto; text-align: right; white-space: nowrap;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-h4);
  letter-spacing: var(--tracking-display); text-transform: uppercase; color: var(--navy-800);
}
.ts.ts .ts-price span {
  display: block; margin-top: var(--space-2);
  font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--fg-3);
}
.ts.ts .ts-tier-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0 var(--space-7); margin-top: var(--space-7); border-top: 1px solid var(--border);
}
.ts.ts .ts-tier { padding: var(--space-6) 0; border-bottom: 1px solid var(--border); }
.ts.ts .ts-tier h3 { text-transform: none; font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-h5); line-height: var(--lh-snug); margin: var(--space-3) 0; max-width: 24ch; color: var(--fg); }
.ts.ts .ts-tier p { font-size: var(--fs-body-sm); line-height: var(--lh-loose); color: var(--fg-2); }

.ts.ts .ts-steps { background: var(--paper); padding: var(--space-9) 0; }
.ts.ts .ts-step-list { margin-top: var(--space-7); border-top: 1px solid var(--border); }
.ts.ts .ts-step { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: var(--space-5); padding: var(--space-5) 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.ts.ts .ts-step-num { font-family: var(--font-serif); font-style: italic; font-size: var(--fs-h5); color: var(--gold-ink); }
.ts.ts .ts-step p { color: var(--fg-2); }
.ts.ts .ts-step strong { color: var(--fg); font-weight: 600; }

.ts.ts .ts-crosslink { padding: 0 0 var(--space-9); }
.ts.ts .ts-crosslink-card {
  display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7); align-items: center; justify-content: space-between;
  background: var(--paper); border: 1px solid var(--border-gold); padding: var(--space-6) var(--space-7);
}
.ts.ts .ts-crosslink-card > div { flex: 1 1 420px; min-width: 0; }
.ts.ts .ts-crosslink-card h3 { text-transform: none; font-family: var(--font-serif); font-weight: 500; font-size: var(--fs-h4); margin-bottom: var(--space-3); color: var(--fg); }
.ts.ts .ts-crosslink-card p { font-size: var(--fs-body-sm); color: var(--fg-2); }

.ts.ts .ts-close { background: var(--navy-900); text-align: center; padding: var(--space-10) 0 var(--space-9); }
.ts.ts .ts-close .ts-rule { margin: 0 auto var(--space-6); }
.ts.ts .ts-close-line {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px); line-height: var(--lh-snug);
  color: var(--champagne-100); max-width: 24ch; margin: 0 auto;
}
.ts.ts .ts-close-sub { margin-top: var(--space-5); font-family: var(--font-serif); font-size: var(--fs-body-lg); color: var(--champagne-300); }
.ts.ts .ts-contact {
  margin-top: var(--space-7); padding-top: var(--space-5); border-top: 1px solid var(--border-on-dark);
  font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-meta);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--champagne-400);
}
.ts.ts .ts-contact span { display: inline-block; margin: var(--space-1) var(--space-4); }
.ts.ts .ts-contact a { border: 0; color: inherit; }
.ts.ts .ts-contact a:hover { color: var(--gold-light); }

.ts.ts .ts-close .ts-cta { margin-top: var(--space-7); }

@media (min-width: 1600px) {
  .ts.ts .ts-close-line { font-size: clamp(26px, 3.2vw, 48px); }
}

@media (max-width: 900px) {
  .ts.ts .ts-statement-grid, .ts.ts .ts-feature-grid { grid-template-columns: minmax(0,1fr); gap: var(--space-6); }
  .ts.ts .ts-issues-head { grid-template-columns: minmax(0,1fr); gap: var(--space-6); }
  .ts.ts .ts-issues-plate img { aspect-ratio: 16 / 10; }
  .ts.ts .ts-feature-flip .ts-feature-photo { order: 0; }
  .ts.ts .ts-prose .ts-body { column-count: 1; }
  .ts.ts .ts-statement, .ts.ts .ts-issues, .ts.ts .ts-pillars, .ts.ts .ts-feature, .ts.ts .ts-offer, .ts.ts .ts-steps, .ts.ts .ts-notes { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .ts.ts .ts-feature + .ts-feature { padding-top: 0; }
  .ts.ts .ts-prose, .ts.ts .ts-crosslink { padding-bottom: var(--space-8); }
  .ts.ts .ts-note { padding: var(--space-6) var(--space-5); }
  .ts.ts .ts-step { grid-template-columns: 44px minmax(0,1fr); gap: var(--space-3); }
  .ts.ts .ts-price { text-align: left; }
}

.ts.ts .ts-rail { padding: var(--space-9) 0; background: var(--paper); }
.ts.ts .ts-rail-head {
  display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-7);
  align-items: flex-end; justify-content: space-between;
  margin-bottom: var(--space-7);
}
.ts.ts .ts-rail-head > div:first-child { flex: 1 1 420px; min-width: 0; }
.ts.ts .ts-rail-nav { display: flex; gap: var(--space-2); flex: 0 0 auto; }
.ts.ts .ts-rail-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-strong); color: var(--navy-800);
  cursor: pointer; border-radius: var(--radius-0);
  transition: background var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out),
              color var(--dur-1) var(--ease-out), opacity var(--dur-2) var(--ease-out);
}
.ts.ts .ts-rail-btn:hover:not(:disabled) { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }
.ts.ts .ts-rail-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ts.ts .ts-rail-btn:disabled { opacity: .28; cursor: default; }
.ts.ts .ts-rail-btn svg { width: 16px; height: 16px; }

.ts.ts .ts-rail-track {
  display: flex; gap: var(--space-5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-bottom: var(--space-2);
}
.ts.ts .ts-rail-track::-webkit-scrollbar { display: none; }

.ts.ts .ts-rail-card { flex: 0 0 clamp(260px, 25vw, 340px); scroll-snap-align: start; }
.ts.ts .ts-rail-photo {
  position: relative; overflow: hidden; margin-bottom: var(--space-4);
  aspect-ratio: 4 / 5; background: var(--navy-800);
  box-shadow: var(--shadow-1);
  transition: box-shadow var(--dur-2) var(--ease-out);
}
.ts.ts .ts-rail-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 900ms var(--ease-out);
}

.ts.ts .ts-rail-card:hover .ts-rail-photo { box-shadow: var(--shadow-3); }
.ts.ts .ts-rail-card:hover .ts-rail-photo img { transform: scale(1.03); }
.ts.ts .ts-rail-photo::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease-out);
}
.ts.ts .ts-rail-card:hover .ts-rail-photo::after { transform: scaleX(1); }

.ts.ts .ts-rail-step {
  font-family: var(--font-sans); font-weight: 500; font-size: var(--fs-eyebrow);
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent-deep);
}
.ts.ts .ts-rail-card h3 {
  text-transform: none; font-family: var(--font-serif); font-weight: 500;
  font-size: var(--fs-h5); line-height: var(--lh-snug); color: var(--navy-800);
  margin: var(--space-3) 0 var(--space-2);
}
.ts.ts .ts-rail-card p { font-size: var(--fs-body-sm); line-height: var(--lh-loose); color: var(--fg-2); }
.ts.ts .ts-rail-hint {
  margin-top: var(--space-5); font-family: var(--font-sans); font-size: var(--fs-meta);
  letter-spacing: 0.02em; color: var(--fg-3);
}

@supports (animation-timeline: view()) {
  .ts.ts .ts-sub, .ts.ts .ts-statement-grid > div, .ts.ts .ts-issues-head > div, .ts.ts .ts-issue, .ts.ts .ts-capability, .ts.ts .ts-pillar, .ts.ts .ts-tier, .ts.ts .ts-step, .ts.ts .ts-note, .ts.ts .ts-feature-grid > *:not(.ts-feature-photo), .ts.ts .ts-crosslink-card, .ts.ts .ts-rail-track, .ts.ts .ts-prose .ts-body, .ts.ts .ts-offer-head .ts-price, .ts.ts .ts-close-line, .ts.ts .ts-close-sub, .ts.ts .ts-close .ts-cta {
    animation-name: var(--ts-in);
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: view();

    animation-range: cover 0% cover 34%;
  }

  .ts.ts .ts-issue-grid > :nth-child(even), .ts.ts .ts-capability-grid > :nth-child(even), .ts.ts .ts-tier-grid > :nth-child(even), .ts.ts .ts-pillar-grid > :nth-child(even) { animation-range: cover 9% cover 46%; }

  .ts.ts .ts-feature-photo, .ts.ts .ts-issues-plate { overflow: clip; }
  .ts.ts .ts-feature-photo img, .ts.ts .ts-issues-plate img {
    animation-name: var(--ts-plate-in);
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: cover 0% cover 54%;
  }

  .ts.ts [data-lines] { animation-name: none; }
  .ts.ts [data-lines] .ts-line-in {
    animation-name: ts-line;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: view();
    animation-range: cover 4% cover 32%;
  }
}

.ts.ts .ts-body p, .ts.ts .ts-issue p, .ts.ts .ts-capability p, .ts.ts .ts-pillar p, .ts.ts .ts-tier p, .ts.ts .ts-note p, .ts.ts .ts-step p, .ts.ts .ts-rail-card p, .ts.ts .ts-crosslink-card p, .ts.ts .ts-lede {
  /* Justified, never hyphenated: no word split with a dash (Gabriele, 2026-09-29, site-wide). */
  text-align: justify;
  hyphens: manual;
  text-wrap: pretty;
}

.ts.ts .ts-step .ts-step-num { text-align: left; hyphens: manual; }

.ts.ts .ts-line { display: block; overflow: clip; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.ts.ts .ts-line-in { display: block; }

@supports not (animation-timeline: view()) {
  .ts.ts[data-motion] [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition: opacity 1000ms var(--ease-out), transform 1000ms var(--ease-out);
  }
  .ts.ts[data-motion] [data-reveal].is-in { opacity: 1; transform: none; }
  .ts.ts[data-motion] [data-mask] img {
    clip-path: inset(0 0 100% 0); transform: scale(1.08);
    transition: clip-path 1300ms var(--ease-out), transform 1900ms var(--ease-out);
  }
  .ts.ts[data-motion] [data-mask].is-in img { clip-path: inset(0 0 0 0); transform: none; }
  .ts.ts[data-motion] .ts-line-in { transform: translateY(110%); transition: transform 1100ms var(--ease-out); }
  .ts.ts[data-motion] [data-lines].is-in .ts-line-in { transform: none; }
  .ts.ts[data-motion] .ts-lines-settled .ts-line-in { transform: none; transition: none; }
  @media (prefers-reduced-motion: reduce) {
    .ts.ts[data-motion] [data-reveal] { transform: none; }
    .ts.ts[data-motion] [data-mask] img { clip-path: none; transform: none; }
    .ts.ts[data-motion] .ts-line-in { transform: none; transition: none; }
  }
}

@media (prefers-reduced-motion: reduce) {
  .ts.ts .ts-rail-track { scroll-behavior: auto; }
  .ts.ts .ts-rail-card:hover .ts-rail-photo img { transform: none; }
}

@media (max-width: 900px) {
  .ts.ts .ts-rail { padding-top: var(--space-8); padding-bottom: var(--space-8); }
  .ts.ts .ts-rail-card { flex: 0 0 74vw; }
  .ts.ts .ts-rail-nav { display: none; }
}

/* services-refresh:begin */
/* Bitrix #8572. Compiled from the approved preview; native services only. */
body.trevi-services-refresh #main-wrap { padding-top: 0; }
body.trevi-services-refresh .ts { width: 100%; margin: 0; text-align: left; }
body.trevi-services-refresh .ts.ts .ts-capability-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
body.trevi-services-refresh .ts.ts .ts-issue-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
body.trevi-services-refresh .trevi-services-contact { padding: var(--space-8) 0; background: var(--paper); }
body.trevi-services-refresh .trevi-services-contact__frame { min-height: 430px; }
body.trevi-services-refresh .ts a:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
@media (max-width: 360px) { body.trevi-services-refresh .trevi-site-header__main { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; } }
body.trevi-services-refresh .ts.ts .ts-services-directory { padding: var(--space-9) 0 var(--space-10); background: var(--paper); }
body.trevi-services-refresh .ts.ts .ts-services-directory .ts-h2 { margin: var(--space-5) 0 var(--space-3); }
body.trevi-services-refresh .ts.ts .ts-services-directory-lede { color: var(--fg-2); max-width: 55ch; }
body.trevi-services-refresh .ts.ts .ts-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin-top: var(--space-8); }
body.trevi-services-refresh .ts.ts .ts-services-card { min-width: 0; background: var(--ivory); border: 1px solid var(--border); }
body.trevi-services-refresh .ts.ts .ts-services-card-link { display: block; height: 100%; color: inherit; }
body.trevi-services-refresh .ts.ts .ts-services-card-photo { position: relative; aspect-ratio: 5 / 3; overflow: clip; background: var(--navy-800); }
body.trevi-services-refresh .ts.ts .ts-services-card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
body.trevi-services-refresh .ts.ts .ts-services-card-link:hover img { transform: scale(1.035); }
body.trevi-services-refresh .ts.ts .ts-services-card-copy { padding: var(--space-6); display: flex; flex-direction: column; align-items: flex-start; min-height: 275px; }
body.trevi-services-refresh .ts.ts .ts-services-card-copy h3 { margin: var(--space-3) 0; font: 500 clamp(22px, 2vw, 28px)/1.2 var(--font-display); letter-spacing: .02em; text-transform: uppercase; color: var(--navy-800); }
body.trevi-services-refresh .ts.ts .ts-services-card-copy p { color: var(--fg-2); font-size: var(--fs-body-sm); line-height: var(--lh-loose); }
body.trevi-services-refresh .ts.ts .ts-services-card-action { margin-top: auto; padding-top: var(--space-5); color: var(--gold-ink); font: 600 11px/1.4 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
body.trevi-services-refresh .ts.ts .ts-services-card-action span { font-size: 16px; margin-left: 8px; }
body.trevi-services-refresh .ts.ts .ts-services-flag { margin-top: var(--space-4); color: var(--gold-ink); font: 600 10px/1.5 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
body.trevi-services-refresh .ts.ts .ts-services-principle { background: var(--ivory); }
body.trevi-services-refresh .ts.ts .ts-services-heading-line { display: block; }
body.trevi-services-refresh .ts.ts .ts-services-hero-line { display: block; }
body.trevi-services-refresh .ts.ts .ts-hero .ts-services-index-hero { max-width: none; font-size: clamp(31px, 4vw, 58px); }
body.trevi-services-refresh .ts.ts .ts-services-crosslink-actions { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; }
body.trevi-services-refresh .ts.ts .ts-crosslink-card > .ts-services-crosslink-actions { flex: 0 1 auto; }
body.trevi-services-refresh .ts.ts .ts-services-principle .ts-h2 { max-width: none; }
body.trevi-services-refresh .ts.ts .ts-services-principle .ts-services-heading-line { font-size: .88em; }
body.trevi-services-refresh .ts.ts .ts-services-home-care-plan-note { margin-top: var(--space-7); }
body.trevi-services-refresh .ts.ts .ts-steps .ts-h2 { margin: var(--space-4) 0 var(--space-5); }
body.trevi-services-refresh .ts.ts .ts-services-back { margin-top: var(--space-5); font: 500 11px/1.5 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; }
body.trevi-services-refresh .ts.ts .ts-services-back a { color: var(--champagne-300); border-bottom: 1px solid var(--border-on-dark); }
body.trevi-services-refresh .ts.ts .ts-services-back a:hover, body.trevi-services-refresh .ts.ts .ts-services-back a:focus-visible { color: var(--gold-light); }

body.trevi-services-refresh .ts.ts .ts-services-reading { padding: var(--space-7) 0 var(--space-8); background: var(--ivory); }
body.trevi-services-refresh .ts.ts .ts-services-reading .ts-wrap { border-top: 1px solid var(--border); padding-top: var(--space-6); }
body.trevi-services-refresh .ts.ts .ts-services-reading h2 { margin: 0 0 var(--space-4); color: var(--navy-800); font: 500 clamp(25px, 3vw, 33px)/1.2 var(--font-serif); }
body.trevi-services-refresh .ts.ts .ts-services-reading-list { list-style: none; margin: 0; padding: 0; }
body.trevi-services-refresh .ts.ts .ts-services-reading-list li { border-top: 1px solid var(--border); }
body.trevi-services-refresh .ts.ts .ts-services-reading-list li:last-child { border-bottom: 1px solid var(--border); }
body.trevi-services-refresh .ts.ts .ts-services-reading-list a { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); min-height: 48px; padding: 12px 0; color: var(--navy-800); font: 500 15px/1.5 var(--font-sans); }
body.trevi-services-refresh .ts.ts .ts-services-reading-list a:hover { color: var(--gold-ink); }
body.trevi-services-refresh .ts.ts .ts-services-reading-list a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
body.trevi-services-refresh .ts.ts .ts-services-reading-list a span:last-child { flex: none; color: var(--gold-ink); font-size: 19px; }

/* The published service pages use a scroll-driven rise/fade. In this review,
   start it above the lower edge and keep text readable during the reveal. */
@keyframes ts-services-rise {
  from { opacity: .72; transform: translateY(44px); }
  to { opacity: 1; transform: none; }
}
@keyframes ts-services-heading-fade {
  from { opacity: .5; }
  to { opacity: 1; }
}
@supports (animation-timeline: view()) {
  /* Keep split headings readable even when scrolling pauses mid-reveal. */
  body.trevi-services-refresh .ts.ts [data-lines] .ts-line-in {
    animation-name: ts-services-heading-fade;
    animation-range: cover 0% cover 70%;
  }
  body.trevi-services-refresh .ts.ts .ts-eyebrow-row, body.trevi-services-refresh .ts.ts .ts-h2, body.trevi-services-refresh .ts.ts .ts-lede,
  body.trevi-services-refresh .ts.ts .ts-sub, body.trevi-services-refresh .ts.ts .ts-statement-grid > div, body.trevi-services-refresh .ts.ts .ts-issues-head > div,
  body.trevi-services-refresh .ts.ts .ts-issue, body.trevi-services-refresh .ts.ts .ts-capability, body.trevi-services-refresh .ts.ts .ts-pillar, body.trevi-services-refresh .ts.ts .ts-tier,
  body.trevi-services-refresh .ts.ts .ts-step, body.trevi-services-refresh .ts.ts .ts-note, body.trevi-services-refresh .ts.ts .ts-feature-grid > *:not(.ts-feature-photo),
  body.trevi-services-refresh .ts.ts .ts-crosslink-card, body.trevi-services-refresh .ts.ts .ts-rail-track, body.trevi-services-refresh .ts.ts .ts-prose .ts-body,
  body.trevi-services-refresh .ts.ts .ts-offer-head .ts-price, body.trevi-services-refresh .ts.ts .ts-close-line, body.trevi-services-refresh .ts.ts .ts-close-sub,
  body.trevi-services-refresh .ts.ts .ts-close .ts-cta {
    animation-name: ts-services-rise;
    animation-range: cover 8% cover 58%;
  }
  body.trevi-services-refresh .ts.ts .ts-services-card {
    animation-name: ts-services-rise; animation-timing-function: linear;
    animation-fill-mode: both; animation-timeline: view();
    animation-range: cover 8% cover 58%;
  }
  body.trevi-services-refresh .ts.ts .ts-services-grid > :nth-child(3n+2) { animation-range: cover 13% cover 63%; }
  body.trevi-services-refresh .ts.ts .ts-services-grid > :nth-child(3n) { animation-range: cover 18% cover 68%; }
  body.trevi-services-refresh .ts.ts .ts-issue-grid > :nth-child(even), body.trevi-services-refresh .ts.ts .ts-capability-grid > :nth-child(even),
  body.trevi-services-refresh .ts.ts .ts-tier-grid > :nth-child(even), body.trevi-services-refresh .ts.ts .ts-pillar-grid > :nth-child(even) {
    animation-range: cover 13% cover 63%;
  }
  @media (prefers-reduced-motion: reduce) {
    body.trevi-services-refresh .ts.ts .ts-eyebrow-row, body.trevi-services-refresh .ts.ts .ts-h2, body.trevi-services-refresh .ts.ts .ts-lede,
    body.trevi-services-refresh .ts.ts .ts-sub, body.trevi-services-refresh .ts.ts .ts-statement-grid > div, body.trevi-services-refresh .ts.ts .ts-issues-head > div,
    body.trevi-services-refresh .ts.ts .ts-issue, body.trevi-services-refresh .ts.ts .ts-capability, body.trevi-services-refresh .ts.ts .ts-pillar, body.trevi-services-refresh .ts.ts .ts-tier,
    body.trevi-services-refresh .ts.ts .ts-step, body.trevi-services-refresh .ts.ts .ts-note, body.trevi-services-refresh .ts.ts .ts-feature-grid > *:not(.ts-feature-photo),
    body.trevi-services-refresh .ts.ts .ts-crosslink-card, body.trevi-services-refresh .ts.ts .ts-rail-track, body.trevi-services-refresh .ts.ts .ts-prose .ts-body,
    body.trevi-services-refresh .ts.ts .ts-offer-head .ts-price, body.trevi-services-refresh .ts.ts .ts-close-line, body.trevi-services-refresh .ts.ts .ts-close-sub,
    body.trevi-services-refresh .ts.ts .ts-close .ts-cta, body.trevi-services-refresh .ts.ts .ts-services-card { animation-name: ts-fade; }
  }
}

@media (max-width: 980px) {
  body.trevi-services-refresh .ts.ts .ts-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.trevi-services-refresh .ts.ts .ts-services-index-section .ts-wrap { padding-left: 16px; padding-right: 16px; }
  body.trevi-services-refresh .ts.ts .ts-hero .ts-services-index-hero { font-family: var(--font-serif); font-size: clamp(25px, 8.25vw, 33px); font-weight: 600; letter-spacing: 0; text-transform: none; }
  body.trevi-services-refresh .ts.ts .ts-services-hero-line { white-space: nowrap; }
  .ts-services-brand { font-size: 17px; }
  body.trevi-services-refresh .ts.ts .ts-services-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  body.trevi-services-refresh .ts.ts .ts-services-card-copy { min-height: 0; }
  body.trevi-services-refresh .ts.ts .ts-services-card-action { margin-top: var(--space-5); }
  body.trevi-services-refresh .ts.ts .ts-services-directory { padding: var(--space-8) 0; }
}

@media (prefers-reduced-motion: reduce) {
  body.trevi-services-refresh .ts.ts *, body.trevi-services-refresh .ts.ts *::before, body.trevi-services-refresh .ts.ts *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body.trevi-services-refresh .ts.ts .ts-hero img { transform: none !important; will-change: auto !important; }
  body.trevi-services-refresh .ts.ts .ts-services-card-link:hover img { transform: none !important; }
}
/* services-refresh:end */
