/* 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; }
}
