/* ============================================================
   Chronos — additional page styles
   Builds on team.css; only the bits unique to Home/System/Contact.
   ============================================================ */

/* ---------- Reusable: section eyebrow rail ---------- */
.tp-rail {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 28px;
}
.tp-rail .num { color: var(--fg); font-variant-numeric: tabular-nums; }
.tp-rail .rule { flex: 0 0 48px; height: 1px; background: var(--hairline-strong); }

/* ---------- Numbered list (problem / approach) ---------- */
.tp-numlist {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 56px;
}
.tp-numlist li {
  list-style: none;
  border-top: 1px solid var(--hairline);
  padding-top: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: start;
}
.tp-numlist .n {
  font-size: 11px; letter-spacing: 0.16em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.tp-numlist h4 {
  font-size: 22px; font-weight: 200;
  letter-spacing: -0.005em;
  line-height: 1.15;
  color: var(--fg);
  text-wrap: balance;
}
@media (max-width: 900px) {
  .tp-numlist { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Big sentence ---------- */
.tp-bigsay {
  font-size: clamp(36px, 4.8vw, 80px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
  color: var(--fg);
  max-width: 22ch;
}
.tp-bigsay .dim { color: var(--fg-3); }
.tp-bigsay .accent { color: var(--accent); font-style: italic; }

/* ---------- 3-up product / tier cards ---------- */
.tp-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.tp-tier {
  display: flex; flex-direction: column;
  border: 1px solid var(--hairline);
  background: var(--chr-navy-2);
  overflow: hidden;
}
.tp-tier:hover { border-color: var(--hairline-strong); }
.tp-tier-img {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--chr-navy-3);
  overflow: hidden;
}
.tp-tier-img image-slot { width: 100%; height: 100%; display: block; }
.tp-tier-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,9,26,0.7));
  pointer-events: none;
}
.tp-tier-tag {
  position: absolute;
  top: 16px; left: 16px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
  z-index: 2;
}
.tp-tier-body {
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
  border-top: 1px solid var(--hairline);
}
.tp-tier-name {
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent);
}
.tp-tier-title {
  font-size: 26px; font-weight: 200;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  line-height: 1.05;
}
.tp-tier-body p {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 300;
}
@media (max-width: 980px) {
  .tp-tiers { grid-template-columns: 1fr; gap: 24px; }
}

/* ---------- Approach / methodology — Define · Organize · Deliver ---------- */
.tp-approach {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tp-approach-col {
  padding: 44px 36px 48px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
  background: var(--chr-navy);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  transition:
    background-color 560ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color    560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform       560ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Subtle stepping in elevation — navy → navy-2 → navy-3 */
.tp-approach-col:nth-child(2) { background: var(--chr-navy-2); }
.tp-approach-col:nth-child(3) { background: var(--chr-navy-3); }

/* Hover — each panel resolves to its own warm signal color.
   Define → deep red ember. Organize → warm amber. Deliver → core ember. */
.tp-approach-col:hover {
  background: var(--chr-ember-800);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.tp-approach-col:nth-child(2):hover { background: #c98a2a; }
.tp-approach-col:nth-child(3):hover { background: var(--chr-ember-500); }

/* On hover, dial the step number, hairlines and "+" markers to read on warm fill */
.tp-approach-col:hover .step { color: rgba(255,255,255,0.22); transition: color 560ms cubic-bezier(0.22, 1, 0.36, 1); }
.tp-approach-col:hover li { border-top-color: rgba(255,255,255,0.22); }
.tp-approach-col:hover li:last-child { border-bottom-color: rgba(255,255,255,0.22); }
.tp-approach-col:hover li::before,
.tp-approach-col:hover h4 .accent { color: #f4f1ea; }
/* Fade the Deliver ember bloom so the flat orange reads cleanly on hover */
.tp-approach-col:nth-child(3):hover::before { opacity: 0; }
.tp-approach-col:nth-child(3)::before {
  transition: opacity 480ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Ember bloom on the final ("Deliver") panel — single point of warmth */
.tp-approach-col:nth-child(3)::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(248,104,1,0.22), rgba(248,104,1,0.05) 30%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.tp-approach-col > * { position: relative; z-index: 1; }

.tp-approach-col .step {
  font-size: 84px;
  font-weight: 100;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(244,241,234, 0.16);
  font-variant-numeric: tabular-nums;
}
.tp-approach-col h4 {
  font-size: 28px; font-weight: 200;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin: 0;
}
.tp-approach-col h4 .accent { color: var(--accent); }
.tp-approach-col p {
  font-size: 15px; line-height: 1.6;
  color: rgba(244,241,234, 0.72);
  font-weight: 300;
  margin: 0;
}
.tp-approach-col ul {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 0;
  margin-top: auto;
  padding: 0;
}
.tp-approach-col li {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 12px 0;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  font-size: 14px;
  color: #f4f1ea;
  font-weight: 300;
}
.tp-approach-col li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.tp-approach-col li::before {
  content: "+";
  color: var(--accent);
  font-weight: 200;
}
@media (max-width: 980px) {
  .tp-approach { grid-template-columns: 1fr; }
}

/* ---------- Intro / positioning statement ---------- */
.tp-intro {
  padding-top: 96px;
  padding-bottom: 96px;
}
.tp-intro-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}
.tp-intro .tp-rail {
  padding-top: 14px;
}
.tp-intro-copy {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 38ch;
  text-wrap: pretty;
  margin: 0;
}
.tp-intro-copy .accent { color: var(--accent); font-style: italic; font-weight: 200; }
@media (max-width: 880px) {
  .tp-intro-grid { grid-template-columns: 1fr; gap: 28px; }
  .tp-intro { padding-top: 64px; padding-bottom: 64px; }
}

/* ---------- Stats band ---------- */
.tp-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tp-stat {
  padding: 40px 28px;
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 8px;
}
.tp-stat:last-child { border-right: 0; }
.tp-stat .n {
  font-size: 13px; letter-spacing: 0.16em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tp-stat .l {
  font-size: 17px; font-weight: 200;
  letter-spacing: -0.005em;
  color: var(--fg);
  line-height: 1.25;
  text-wrap: balance;
}
@media (max-width: 1100px) {
  .tp-stats { grid-template-columns: repeat(2, 1fr); }
  .tp-stat:nth-child(odd) { border-right: 1px solid var(--hairline); }
  .tp-stat:nth-child(even) { border-right: 0; }
  .tp-stat { border-bottom: 1px solid var(--hairline); }
  .tp-stat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 640px) {
  .tp-stats { grid-template-columns: 1fr; }
  .tp-stat { border-right: 0 !important; border-bottom: 1px solid var(--hairline) !important; }
  .tp-stat:last-child { border-bottom: 0 !important; }
}

/* ---------- Headline + body split ---------- */
.tp-split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
  align-items: start;
}
.tp-split .lede { color: var(--fg-2); font-size: 17px; line-height: 1.6; font-weight: 300; max-width: 46ch; }
.tp-split .lede + .lede { margin-top: 16px; }
@media (max-width: 980px) {
  .tp-split { grid-template-columns: 1fr; gap: 32px; }
}

/* ---------- Hero video band ---------- */
.tp-videoband { position: relative; border-bottom: 1px solid var(--hairline); overflow: hidden; }
.tp-videoband-inner { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #091028; }
.tp-videoband-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tp-videoband::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(9,16,40,0.35) 0%, transparent 22%, transparent 78%, rgba(9,16,40,0.35) 100%); }
.tp-videoband-sound { position: absolute; z-index: 2; right: 20px; bottom: 20px; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--hairline-strong); border-radius: 999px; background: rgba(9,16,40,0.55); backdrop-filter: blur(6px); color: var(--chr-bone); font: inherit; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; transition: background 160ms ease, border-color 160ms ease; }
.tp-videoband-sound:hover { background: rgba(9,16,40,0.78); border-color: var(--chr-bone); }
.tp-videoband-sound .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--chr-bone); opacity: 0.45; transition: opacity 160ms ease, background 160ms ease; }
.tp-videoband-sound.is-on .dot { opacity: 1; background: var(--accent); }
@media (max-width: 700px) { .tp-videoband-inner { aspect-ratio: 4 / 3; } .tp-videoband-sound { right: 12px; bottom: 12px; } }

/* ---------- Full-bleed banner ---------- */
.tp-banner {
  position: relative;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 160px 0 120px;
  overflow: hidden;
}
.tp-banner::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80vw; height: 60vw;
  max-width: 1100px; max-height: 800px;
  background: radial-gradient(closest-side, rgba(248,104,1,0.20), rgba(248,104,1,0.04) 45%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.tp-banner-inner { position: relative; z-index: 1; text-align: center; max-width: 1100px; margin: 0 auto; padding: 0 48px; }
.tp-banner h2 {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.0;
  text-wrap: balance;
  margin-bottom: 32px;
}

/* ---------- Stage (System page — named components) ---------- */
.tp-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 96px 0;
  border-top: 1px solid var(--hairline);
}
.tp-stage:last-child { border-bottom: 1px solid var(--hairline); }
.tp-stage-reverse .tp-stage-text { order: 2; }
.tp-stage-reverse .tp-stage-media { order: 1; }

.tp-stage-num {
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  margin-bottom: 24px;
  font-weight: 400;
}
.tp-stage-num .tm {
  font-size: 0.7em;
  vertical-align: super;
  letter-spacing: 0;
  opacity: 0.7;
  margin-left: 2px;
}

.tp-stage-name {
  font-family: var(--font-sans);
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.04;
  color: var(--fg);
  text-transform: none;
  margin: 0 0 28px;
  text-wrap: balance;
  max-width: 18ch;
}
.tp-stage-name .accent { color: var(--accent); font-style: italic; font-weight: 200; }

.tp-stage-body {
  font-size: 17px; line-height: 1.6;
  color: var(--fg-2);
  font-weight: 300;
  max-width: 44ch;
  margin: 0 0 40px;
}

.tp-stage-meta {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 300;
  margin-bottom: 14px;
}

.tp-stage-outputs {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  border-top: 1px solid var(--hairline);
}
.tp-stage-outputs li {
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.tp-stage-outputs .n {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tp-stage-outputs .l {
  font-size: 18px; font-weight: 200; line-height: 1.3;
  color: var(--fg);
}

/* Chain-of-custody flow inside ChronoLogic */
.tp-stage-flow {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px 16px;
  margin-top: 12px;
  padding: 18px 22px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--bg-elev-1);
}
.tp-stage-flow .step {
  font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg); font-weight: 300;
}
.tp-stage-flow .arrow {
  color: var(--accent);
  font-weight: 300;
  font-size: 16px;
}

/* Media slot fills its half cleanly */
.tp-stage-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  background: var(--chr-navy-2);
}
.tp-stage-media image-slot { width: 100%; height: 100%; display: block; }

@media (max-width: 980px) {
  .tp-stage { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .tp-stage-reverse .tp-stage-text { order: 1; }
  .tp-stage-reverse .tp-stage-media { order: 2; }
}

/* Tighten consecutive stage sections — they're conceptually one block */
.tp-stage-section { padding-top: 0; padding-bottom: 0; }
.tp-stage-section .tp-stage { padding: 96px 0; }
@media (max-width: 980px) {
  .tp-stage-section .tp-stage { padding: 64px 0; }
}

/* Outputs / flow on paper */
[data-surface="paper"] .tp-stage,
[data-surface="paper"] .tp-stage-outputs,
[data-surface="paper"] .tp-stage-outputs li { border-color: var(--hairline); }
[data-surface="paper"] .tp-stage-outputs .l { color: var(--fg); }
[data-surface="paper"] .tp-stage-flow {
  border-color: var(--hairline);
  background: var(--bg-elev-1);
}
[data-surface="paper"] .tp-stage-flow .step { color: var(--fg); }
[data-surface="paper"] .tp-stage-media { background: var(--chr-paper-2); }

/* ---------- Legal / long-form page (Privacy, Terms) ---------- */
.tp-legal-head {
  padding: 196px 0 64px;
  border-bottom: 1px solid var(--hairline);
  background: var(--chr-navy);
  position: relative;
}
.tp-legal-head::before {
  content: ""; position: absolute;
  top: 0; right: 0; width: 40%; height: 100%;
  background: radial-gradient(circle at 100% 0%, rgba(248,104,1,0.10), rgba(248,104,1,0.02) 35%, transparent 65%);
  pointer-events: none;
}
.tp-legal-head .tp-wrap { position: relative; }
.tp-legal-title {
  font-family: var(--font-sans);
  font-size: clamp(56px, 8vw, 132px);
  font-weight: 200;
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--fg);
  text-transform: none;
  margin: 24px 0 32px;
  max-width: 14ch;
  text-wrap: balance;
}
.tp-legal-meta {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 300;
}
.tp-legal-meta .dot { color: var(--hairline-strong); }

.tp-legal {
  padding: 96px 0 120px;
}
.tp-legal-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 48px;
  color: var(--fg);
}
.tp-legal-lede {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 200;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--fg);
  margin: 0 0 40px;
  max-width: 32ch;
}
.tp-legal p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--fg-2);
  font-weight: 300;
  margin: 0 0 18px;
}
.tp-legal-section {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--hairline);
}
.tp-legal-section h2 {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--fg);
  text-transform: none;
  margin: 0 0 28px;
  display: flex; align-items: baseline; gap: 18px;
}
.tp-legal-section h2 .n {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  font-weight: 400;
}
.tp-legal-section h3 {
  font-family: var(--font-sans);
  font-size: 17px; font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg);
  margin: 32px 0 14px;
}
.tp-legal-list {
  list-style: none; padding: 0;
  margin: 0 0 18px;
  display: flex; flex-direction: column; gap: 6px;
}
.tp-legal-list li {
  position: relative;
  padding-left: 22px;
  font-size: 16px; line-height: 1.6;
  color: var(--fg-2); font-weight: 300;
}
.tp-legal-list li::before {
  content: "+";
  position: absolute; left: 0;
  color: var(--accent);
  font-weight: 200;
}
.tp-legal-ordered {
  list-style: none; padding: 0;
  margin: 0 0 18px;
  counter-reset: legalo;
  display: flex; flex-direction: column; gap: 6px;
}
.tp-legal-ordered li {
  position: relative;
  padding-left: 36px;
  font-size: 16px; line-height: 1.6;
  color: var(--fg-2); font-weight: 300;
  counter-increment: legalo;
}
.tp-legal-ordered li::before {
  content: counter(legalo, decimal-leading-zero);
  position: absolute; left: 0; top: 2px;
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tp-legal-callout {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 18px;
  font-size: 17px !important;
  color: var(--fg) !important;
  font-weight: 300 !important;
  margin: 4px 0 24px !important;
}
.tp-legal-contact {
  margin-top: 24px;
  border-top: 1px solid var(--hairline);
}
.tp-legal-contact .line {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
}
.tp-legal-contact .k {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 300;
}
.tp-legal-contact .v {
  font-size: 16px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 300;
}
a.tp-legal-contact .v:hover,
.tp-legal-contact a.v:hover { color: var(--accent); }

@media (max-width: 720px) {
  .tp-legal-head { padding-top: 140px; }
  .tp-legal-wrap { padding: 0 24px; }
  .tp-legal-section { padding-top: 40px; margin-top: 48px; }
  .tp-legal-contact .line { grid-template-columns: 1fr; gap: 4px; }
}

/* Hero stats — clean list variant (no number) */
.tp-hero-list .tp-hero-stat .l {
  font-size: 18px;
  font-weight: 200;
  color: var(--fg);
  letter-spacing: -0.005em;
  text-transform: none;
  line-height: 1.3;
}

/* ---------- Materials gallery (System page) ---------- */
.tp-materials .tp-section-head { margin-bottom: 48px; }
.tp-materials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.tp-material {
  margin: 0;
  display: flex; flex-direction: column;
  gap: 16px;
}
.tp-material-img {
  aspect-ratio: 4 / 5;
  background: var(--chr-navy-2);
  border: 1px solid var(--hairline);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.tp-material-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-material:hover .tp-material-img img { transform: scale(1.04); }
.tp-material figcaption {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: baseline;
  gap: 12px;
  padding-top: 4px;
}
.tp-material .n {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tp-material .l {
  font-size: 14px; font-weight: 300;
  color: var(--fg);
  line-height: 1.35;
}
@media (max-width: 980px) {
  .tp-materials-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 540px) {
  .tp-materials-grid { grid-template-columns: 1fr; }
}

/* ---------- Full-bleed skyline strip ---------- */
.tp-skyline {
  position: relative;
  height: 56vh;
  min-height: 420px;
  max-height: 640px;
  overflow: hidden;
  isolation: isolate;
}
.tp-skyline > img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.tp-skyline-overlay {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex; align-items: flex-end;
  padding: 0 0 64px;
  background: linear-gradient(
    to right,
    rgba(9,16,40,0.78) 0%,
    rgba(9,16,40,0.55) 38%,
    rgba(9,16,40,0.15) 70%,
    rgba(9,16,40,0) 100%
  );
}
.tp-skyline-overlay .tp-rail { color: rgba(244,241,234, 0.7); margin-bottom: 18px; }
.tp-skyline-overlay .tp-rail .num { color: rgba(244,241,234, 0.95); }
.tp-skyline-overlay .tp-rail .rule { background: rgba(244,241,234, 0.4); }
.tp-skyline-quote {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: clamp(40px, 5.6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #f4f1ea;
  margin: 0;
  max-width: 16ch;
  text-wrap: balance;
}
.tp-skyline-quote .accent { color: var(--accent); font-style: italic; font-weight: 200; }

@media (max-width: 720px) {
  .tp-skyline { height: auto; min-height: 0; }
  .tp-skyline > img { position: relative; height: 280px; }
  .tp-skyline-overlay { position: relative; padding: 32px 0 48px; background: var(--chr-navy); }
}

/* ---------- About page ---------- */
.tp-about-causes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tp-about-causes .cause {
  padding: 32px 28px 36px;
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 200px;
  position: relative;
  overflow: hidden;
  transition: background-color 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-about-causes .cause:hover { background: rgba(248,104,1, 0.06); }
.tp-about-causes .cause-detail {
  font-size: 13px; line-height: 1.55;
  color: var(--fg-2);
  font-weight: 300;
  margin: 0;
  max-width: 32ch;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 360ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-about-causes .cause:hover .cause-detail,
.tp-about-causes .cause:focus-within .cause-detail {
  opacity: 1;
  transform: translateY(0);
}
.tp-about-causes .cause::after {
  content: "+";
  position: absolute;
  right: 24px; top: 32px;
  color: var(--accent);
  font-weight: 200;
  font-size: 16px;
  opacity: 0.6;
  transition: opacity 240ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-about-causes .cause:hover::after { opacity: 0; transform: rotate(45deg); }
.tp-about-causes .cause:last-child { border-right: 0; }
.tp-about-causes .n {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tp-about-causes h4 {
  font-family: var(--font-sans);
  font-size: 22px; font-weight: 200;
  letter-spacing: -0.005em;
  line-height: 1.2;
  color: var(--fg);
  text-transform: none;
  margin: auto 0 0;
  max-width: 22ch;
  text-wrap: balance;
}
@media (max-width: 980px) {
  .tp-about-causes { grid-template-columns: repeat(2, 1fr); }
  .tp-about-causes .cause:nth-child(2n) { border-right: 0; }
  .tp-about-causes .cause:nth-child(-n+2) { border-bottom: 1px solid var(--hairline); }
}
@media (max-width: 540px) {
  .tp-about-causes { grid-template-columns: 1fr; }
  .tp-about-causes .cause { border-right: 0 !important; border-bottom: 1px solid var(--hairline); }
  .tp-about-causes .cause:last-child { border-bottom: 0; }
}

/* Chaos band — big-say + image */
.tp-about-chaos {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.tp-about-chaos-text {
  display: flex; flex-direction: column; gap: 28px;
}
.tp-about-chaos-text .lede + .lede { margin-top: 14px; }
.tp-about-chaos-media {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--chr-navy-2);
}
.tp-about-chaos-media image-slot,
.tp-about-chaos-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 980px) {
  .tp-about-chaos { grid-template-columns: 1fr; gap: 40px; margin-top: 56px; }
  .tp-about-chaos-media { aspect-ratio: 4 / 3; }
}

/* "Teams know" list */
.tp-about-knows {
  list-style: none; margin: 0; padding: 0;
  border-top: 1px solid var(--hairline);
}
.tp-about-knows li {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline);
}
.tp-about-knows .n {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tp-about-knows .l {
  font-size: 17px; font-weight: 200;
  color: var(--fg);
  line-height: 1.35;
}

/* "No scattered suppliers · No endless chasing · No guesswork" rail */
.tp-about-negate {
  margin-top: 72px;
  padding: 22px 28px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--bg-elev-1);
  display: flex; flex-wrap: nowrap; align-items: center; justify-content: center;
  gap: 16px;
  font-size: clamp(11px, 1.05vw, 14px);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg);
  font-weight: 300;
  white-space: nowrap;
  overflow-x: auto;
}
.tp-about-negate > span { flex: 0 0 auto; }
.tp-about-negate .sep { color: var(--accent); }
@media (max-width: 540px) {
  .tp-about-negate {
    flex-wrap: wrap; justify-content: flex-start;
    white-space: normal;
  }
}

/* "What we've seen" list */
.tp-about-seen {
  list-style: none; margin: 64px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.tp-about-seen li {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: baseline;
  padding: 18px 24px 18px 0;
  border-bottom: 1px solid var(--hairline);
}
.tp-about-seen li:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--hairline); }
.tp-about-seen li:nth-child(even) { padding-left: 32px; }
.tp-about-seen .n {
  font-size: 14px;
  color: var(--accent);
  font-weight: 200;
}
.tp-about-seen .l {
  font-size: 19px; font-weight: 200;
  color: var(--fg);
  line-height: 1.3;
}
@media (max-width: 720px) {
  .tp-about-seen { grid-template-columns: 1fr; }
  .tp-about-seen li:nth-child(odd) { padding-right: 0; border-right: 0; }
  .tp-about-seen li:nth-child(even) { padding-left: 0; }
}

/* Values grid — 4 colored panels following the homepage Approach pattern */
.tp-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.tp-value {
  padding: 40px 32px 44px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
  background: var(--chr-navy-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
  min-height: 280px;
  transition:
    background-color 560ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}
.tp-value:nth-child(1) { background: var(--chr-navy); }
.tp-value:nth-child(2) { background: var(--chr-navy-2); }
.tp-value:nth-child(3) { background: var(--chr-navy-3); }
.tp-value:nth-child(4) { background: var(--chr-navy-3); position: relative; }
.tp-value:nth-child(4)::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(248,104,1,0.18), rgba(248,104,1,0.04) 35%, transparent 65%);
  pointer-events: none; z-index: 0;
}
.tp-value > * { position: relative; z-index: 1; }
.tp-value:hover {
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}
.tp-value .step {
  font-size: 64px; font-weight: 100;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: rgba(244,241,234, 0.18);
  font-variant-numeric: tabular-nums;
}
.tp-value h4 {
  font-family: var(--font-sans);
  font-size: 26px; font-weight: 200;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #f4f1ea;
  margin: 0;
}
.tp-value p {
  font-size: 14px; line-height: 1.6;
  color: rgba(244,241,234, 0.72);
  font-weight: 300;
  margin: 0;
}
@media (max-width: 1080px) {
  .tp-values { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .tp-values { grid-template-columns: 1fr; }
}

/* Testimonials */
.tp-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.tp-testimonial {
  margin: 0;
  padding: 40px 36px 36px;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  background: var(--bg);
  display: flex; flex-direction: column; gap: 24px;
  min-height: 320px;
  position: relative;
}
.tp-testimonial-mark {
  font-family: var(--font-sans);
  font-size: 96px; font-weight: 200;
  line-height: 0.7;
  color: var(--accent);
  margin: 0 0 -10px;
}
.tp-testimonial blockquote {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 200;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--fg);
  flex: 1;
  text-wrap: pretty;
}
.tp-testimonial figcaption {
  border-top: 1px solid var(--hairline);
  padding-top: 18px;
}
.tp-testimonial .name {
  font-size: 14px; font-weight: 400;
  color: var(--fg);
  letter-spacing: 0;
}
.tp-testimonial .role {
  margin-top: 2px;
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3); font-weight: 300;
}
@media (max-width: 980px) {
  .tp-testimonials { grid-template-columns: 1fr; }
}

/* Pipeline (System page — legacy, retained for other pages) */
.tp-pipeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
.tp-pipe-step {
  padding: 32px 24px 40px;
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  min-height: 280px;
}
.tp-pipe-step:last-child { border-right: 0; }
.tp-pipe-step .n {
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.tp-pipe-step .icon {
  width: 36px; height: 36px;
  border: 1px solid var(--hairline-strong);
  display: grid; place-items: center;
  margin-bottom: 8px;
  color: var(--accent);
}
.tp-pipe-step h4 {
  font-size: 18px; font-weight: 300;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-transform: none;
}
.tp-pipe-step p {
  font-size: 13px; line-height: 1.55;
  color: var(--fg-2);
  font-weight: 300;
}
.tp-pipe-step::after {
  content: "";
  position: absolute;
  top: 56px; right: -7px;
  width: 12px; height: 12px;
  border-right: 1px solid var(--accent);
  border-top: 1px solid var(--accent);
  transform: rotate(45deg);
  background: var(--chr-navy);
}
.tp-pipe-step:last-child::after { display: none; }
@media (max-width: 1100px) {
  .tp-pipeline { grid-template-columns: 1fr; }
  .tp-pipe-step { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .tp-pipe-step:last-child { border-bottom: 0; }
  .tp-pipe-step::after { top: auto; bottom: -7px; right: 50%; transform: translateX(50%) rotate(135deg); }
}

/* ---------- Bullet card list (technology / value) ---------- */
.tp-bullets {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.tp-bullets li {
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 16px;
}
.tp-bullets li:nth-child(3n) { border-right: 0; }
.tp-bullets .n {
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.tp-bullets h4 {
  font-size: 22px; font-weight: 200;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-wrap: balance;
}
.tp-bullets p {
  font-size: 14px; line-height: 1.55;
  color: var(--fg-2);
  font-weight: 300;
}
@media (max-width: 980px) {
  .tp-bullets { grid-template-columns: 1fr; }
  .tp-bullets li { border-right: 0 !important; }
}

/* ---------- Negation block ("We're not...") ---------- */
.tp-negate {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.tp-negate-list {
  list-style: none;
  display: flex; flex-direction: column;
}
.tp-negate-list li {
  font-size: clamp(22px, 2.4vw, 36px);
  font-weight: 200;
  letter-spacing: -0.005em;
  padding: 16px 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--fg-3);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: baseline;
}
.tp-negate-list li:last-child { border-bottom: 0; }
.tp-negate-list .x {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 0.16em;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 900px) {
  .tp-negate { grid-template-columns: 1fr; gap: 32px; padding: 40px 0; }
}

/* ---------- Contact form ---------- */
.tp-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--hairline);
}
.tp-form .field {
  border-bottom: 1px solid var(--hairline);
  border-right: 1px solid var(--hairline);
  padding: 0;
  position: relative;
}
.tp-form .field:nth-child(2n) { border-right: 0; }
.tp-form .field.span-2 { grid-column: 1 / -1; border-right: 0; }
.tp-form label {
  position: absolute;
  top: 18px; left: 28px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.tp-form input,
.tp-form select,
.tp-form textarea {
  font: inherit;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--fg);
  padding: 44px 28px 24px;
  font-size: 18px;
  font-weight: 300;
  letter-spacing: -0.005em;
  outline: none;
}
.tp-form textarea {
  min-height: 160px;
  resize: vertical;
}
.tp-form input::placeholder,
.tp-form textarea::placeholder {
  color: var(--fg-4);
}
.tp-form .field:focus-within {
  background: var(--chr-navy-2);
}
.tp-form .field:focus-within label {
  color: var(--accent);
}
.tp-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f4f1ea' stroke-width='1.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 28px center;
  cursor: pointer;
}
.tp-form-foot {
  border-top: 1px solid var(--hairline);
  padding: 32px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.tp-form-foot .note {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-3);
  max-width: 42ch;
}
@media (max-width: 720px) {
  .tp-form { grid-template-columns: 1fr; }
  .tp-form .field { border-right: 0 !important; }
}

/* ---------- Contact details rail ---------- */
.tp-contacts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
.tp-contact {
  padding: 32px;
  border-right: 1px solid var(--hairline);
  display: flex; flex-direction: column; gap: 12px;
}
.tp-contact:last-child { border-right: 0; }
.tp-contact .l {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-3);
}
.tp-contact .v {
  font-size: 22px; font-weight: 200;
  letter-spacing: -0.005em;
  color: var(--fg);
  text-decoration: none;
}
.tp-contact a.v:hover { color: var(--accent); }
@media (max-width: 900px) {
  .tp-contacts { grid-template-columns: 1fr; }
  .tp-contact { border-right: 0; border-bottom: 1px solid var(--hairline); }
  .tp-contact:last-child { border-bottom: 0; }
}

/* ---------- Hero image slot (system page) ---------- */
.tp-hero-media {
  margin-top: 64px;
  position: relative;
  aspect-ratio: 21 / 9;
  border: 1px solid var(--hairline);
  overflow: hidden;
  background: var(--chr-navy-2);
}
.tp-hero-media image-slot { width: 100%; height: 100%; display: block; }
.tp-hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.tp-hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6,9,26,0.6));
  pointer-events: none;
}

/* ---------- Image-slot defaults so the placeholder reads as Chronos ---------- */
image-slot {
  --is-placeholder-bg: var(--chr-navy-2);
  --is-placeholder-fg: var(--fg-3);
  --is-placeholder-border: var(--hairline);
}

/* ============================================================
   IMAGE-LED HERO (homepage) — full-bleed image, headline on top
   ============================================================ */
.tp-hero-image {
  position: relative;
  height: 100vh;
  min-height: 720px;
  max-height: 920px;
  width: 100%;
  overflow: hidden;
  background: var(--chr-ink);
  border-bottom: 1px solid var(--hairline);
  isolation: isolate;
}
.tp-hero-image::before { display: none; }
.tp-hero-image-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.tp-hero-image-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.tp-hero-image-bg::after {
  /* slight vignette so type stays readable on the bright side */
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,9,26,0.45) 0%, rgba(6,9,26,0.0) 35%, rgba(6,9,26,0.0) 65%, rgba(6,9,26,0.8) 100%),
    linear-gradient(90deg, rgba(6,9,26,0.55) 0%, rgba(6,9,26,0.15) 45%, rgba(6,9,26,0.0) 70%);
  pointer-events: none;
}
.tp-hero-image-wrap {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 184px 48px 56px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 0;
}
.tp-hero-image .tp-hero-eyebrow { margin-bottom: 0; }
.tp-hero-image-headline {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  padding-bottom: 24px;
}
.tp-hero-image-headline h1 {
  font-size: clamp(72px, 12vw, 240px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  font-weight: 200;
  color: var(--fg);
  text-wrap: balance;
}
.tp-hero-image-headline h1 .accent {
  color: var(--accent);
  font-style: italic;
}
.tp-hero-image-headline .sub {
  color: var(--fg-2);
  font-size: 19px;
  line-height: 1.55;
  font-weight: 300;
  max-width: 42ch;
  padding-bottom: 8px;
}
.tp-hero-image-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--hairline-strong);
  padding-top: 28px;
}
.tp-hero-image-foot .actions {
  display: flex; gap: 16px; flex-wrap: wrap;
}
.tp-hero-image-foot .scrollcue {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 12px;
  justify-self: end;
}
.tp-hero-image-foot .scrollcue::after {
  content: "";
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--fg-2), transparent);
  animation: scrollPulse 1.8s var(--ease-out) infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0.2); transform-origin: top; opacity: 0.4; }
  50%  { transform: scaleY(1);   transform-origin: top; opacity: 1; }
  100% { transform: scaleY(0.2); transform-origin: bottom; opacity: 0.4; }
}
.tp-hero-image-foot .stamp {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  font-variant-numeric: tabular-nums;
  text-align: center;
}
@media (max-width: 980px) {
  .tp-hero-image { height: auto; min-height: 0; max-height: none; }
  .tp-hero-image-wrap { padding: 120px 24px 40px; }
  .tp-hero-image-headline { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .tp-hero-image-foot { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .tp-hero-image-foot .scrollcue { justify-self: start; }
  .tp-hero-image-foot .stamp { text-align: left; }
}

/* ---------- Sentence-case hero override (matches Team page direction) ---------- */
.tp-hero h1.sentence,
.tp-banner h2.sentence,
.tp-cta h3.sentence,
.tp-section-head h2.sentence,
.tp-drawer-name.sentence {
  text-transform: none;
  letter-spacing: -0.025em;
  font-weight: 200;
}

/* ============================================================
   PAPER SURFACE — flips dark sections to warm off-white.
   Apply via [data-surface="paper"] on a <section>.
   The brand tokens (--bg, --fg, --hairline) already swap via
   colors_and_type.css; these rules override the navy-hardcoded
   bits in team.css / above.
   ============================================================ */

[data-surface="paper"] {
  background: var(--bg);
  color: var(--fg);
  /* Slightly cooler hairlines read better on paper */
}

/* Hairline ruling above the section, so the join from dark→paper is crisp */
[data-surface="paper"] + [data-surface]:not([data-surface="paper"]),
[data-surface="paper"] {
  border-top: 0;
}

/* Section header */
[data-surface="paper"] .tp-section-num,
[data-surface="paper"] .tp-section-meta { color: var(--fg-3); }
[data-surface="paper"] .tp-section-num strong { color: var(--fg); }
[data-surface="paper"] .tp-section-head { border-bottom-color: var(--hairline); }

/* Big sentence — dim text reads as muted navy */
[data-surface="paper"] .tp-bigsay { color: var(--fg); }
[data-surface="paper"] .tp-bigsay .dim { color: var(--fg-3); }

/* Numbered list */
[data-surface="paper"] .tp-numlist li { border-top-color: var(--hairline); }

/* Approach columns — dark blocks already self-contained; no paper override needed */

/* Tiers — flip card surface so they sit on paper, not float over it */
[data-surface="paper"] .tp-tier {
  background: var(--bg-elev-2);
  border-color: var(--hairline);
}
[data-surface="paper"] .tp-tier:hover { border-color: var(--hairline-strong); }
[data-surface="paper"] .tp-tier-img {
  background: var(--bg-elev-1);
}
[data-surface="paper"] .tp-tier-img::after {
  background: linear-gradient(180deg, transparent 55%, rgba(9,16,40, 0.45));
}
[data-surface="paper"] .tp-tier-tag { color: var(--fg-2); }
[data-surface="paper"] .tp-tier-body { border-top-color: var(--hairline); }
[data-surface="paper"] .tp-tier-name { color: var(--accent); }
[data-surface="paper"] .tp-tier-title { color: var(--fg); }
[data-surface="paper"] .tp-tier-body p { color: var(--fg-2); }

/* Stats band */
[data-surface="paper"] .tp-stats,
[data-surface="paper"] .tp-stat { border-color: var(--hairline); }
[data-surface="paper"] .tp-stat .l { color: var(--fg); }

/* Bullets */
[data-surface="paper"] .tp-bullets,
[data-surface="paper"] .tp-bullets li { border-color: var(--hairline); }
[data-surface="paper"] .tp-bullets h4 { color: var(--fg); }
[data-surface="paper"] .tp-bullets p { color: var(--fg-2); }

/* Pipeline */
[data-surface="paper"] .tp-pipeline,
[data-surface="paper"] .tp-pipe-step { border-color: var(--hairline); }
[data-surface="paper"] .tp-pipe-step .n { color: var(--fg-3); }
[data-surface="paper"] .tp-pipe-step .icon { border-color: var(--hairline-strong); }
[data-surface="paper"] .tp-pipe-step h4 { color: var(--fg); }
[data-surface="paper"] .tp-pipe-step p { color: var(--fg-2); }
[data-surface="paper"] .tp-pipe-step::after { background: var(--bg); border-color: var(--accent); }

/* Negation block */
[data-surface="paper"] .tp-negate { border-color: var(--hairline); }
[data-surface="paper"] .tp-negate-list li { border-bottom-color: var(--hairline); color: var(--fg-3); }

/* Banner — soften the ember glow on paper, it shouldn't punch through */
[data-surface="paper"].tp-banner { border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
[data-surface="paper"] .tp-banner::before,
.tp-banner[data-surface="paper"]::before {
  background: radial-gradient(closest-side, rgba(248,104,1,0.14), rgba(248,104,1,0.03) 45%, transparent 70%);
}

/* CTA band on paper */
[data-surface="paper"].tp-cta { border-color: var(--hairline); }
[data-surface="paper"] .tp-cta::before,
.tp-cta[data-surface="paper"]::before {
  background: radial-gradient(closest-side, rgba(248,104,1,0.12), rgba(248,104,1,0.02) 45%, transparent 70%);
}

/* Rails */
[data-surface="paper"] .tp-rail { color: var(--fg-2); }
[data-surface="paper"] .tp-rail .num { color: var(--fg); }
[data-surface="paper"] .tp-rail .rule { background: var(--hairline-strong); }

/* Hero stats (paper variant) */
[data-surface="paper"] .tp-hero-stats { border-top-color: var(--hairline); }
[data-surface="paper"] .tp-hero-stat .v { color: var(--fg); }
[data-surface="paper"] .tp-hero-stat .l { color: var(--fg-3); }

/* Form on paper */
[data-surface="paper"] .tp-form,
[data-surface="paper"] .tp-form .field { border-color: var(--hairline); }
[data-surface="paper"] .tp-form input,
[data-surface="paper"] .tp-form textarea,
[data-surface="paper"] .tp-form select { color: var(--fg); }
[data-surface="paper"] .tp-form input::placeholder,
[data-surface="paper"] .tp-form textarea::placeholder { color: var(--fg-4); }
[data-surface="paper"] .tp-form .field:focus-within { background: var(--bg-elev-1); }
[data-surface="paper"] .tp-form label { color: var(--fg-3); }
[data-surface="paper"] .tp-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23091028' stroke-width='1.2'/%3E%3C/svg%3E");
}

/* Contact rail */
[data-surface="paper"] .tp-contacts,
[data-surface="paper"] .tp-contact { border-color: var(--hairline); }
[data-surface="paper"] .tp-contact .l { color: var(--fg-3); }
[data-surface="paper"] .tp-contact .v { color: var(--fg); }
[data-surface="paper"] .tp-contact a.v:hover { color: var(--accent); }

/* Ghost button on paper needs darker border */
[data-surface="paper"] .tp-btn-ghost {
  color: var(--fg);
  border-color: var(--hairline-strong);
}
[data-surface="paper"] .tp-btn-ghost:hover { border-color: var(--fg); }

/* Image slot defaults on paper */
[data-surface="paper"] image-slot {
  --is-placeholder-bg: var(--bg-elev-1);
  --is-placeholder-fg: var(--fg-3);
  --is-placeholder-border: var(--hairline);
}
