:root {
  --paper: #FAFAF8;
  --ink: #1E1F24;
  --muted: #5C5B60;
  --cardinal: #9E2B36;
  --tint: #F2ECEA;
  --deep: #3A1E24;
  --rule: #DCD8D6;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 400; line-height: 1.7; }
a { color: var(--cardinal); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--cardinal); outline-offset: 5px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.14; letter-spacing: -0.02em; overflow-wrap: anywhere; }
h1 { font-size: clamp(42px, 4vw, 58px); }
h2 { font-size: clamp(32px, 3.5vw, 50px); }
h3 { font-size: 22px; letter-spacing: 0; }
p { margin: 0 0 1.25em; }
p:last-child { margin-bottom: 0; }
.ts-width { width: min(1300px, calc(100% - 96px)); margin-inline: auto; }
.ts-skip { position: absolute; left: 24px; top: -100px; z-index: 20; padding: 12px 20px; background: var(--paper); }
.ts-skip:focus { top: 12px; }
.ts-notice { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 20px; background: var(--cardinal); color: #fff; font-size: 15px; line-height: 1.4; font-weight: 700; text-align: center; }
.ts-notice a { color: inherit; }
.ts-notice a:focus-visible { outline-color: #fff; }
.ts-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.ts-header-inner { display: flex; align-items: center; gap: 36px; min-height: 112px; padding-block: 18px; }
.ts-identity { max-width: 455px; flex: 1 1 auto; }
.ts-wordmark { display: inline-block; color: var(--ink); text-decoration: none; font-size: 28px; line-height: 1.2; font-weight: 700; }
.ts-descriptor { margin: 7px 0 0; font-size: 16px; line-height: 1.5; letter-spacing: 0; color: var(--ink); }
.ts-nav { display: flex; align-items: center; gap: 26px; margin-right: auto; font-size: 15px; font-weight: 500; line-height: 1.4; }
.ts-nav a { color: var(--ink); text-decoration: none; }
.ts-nav a:hover, .ts-nav a[aria-current='page'] { color: var(--cardinal); text-decoration: underline; }
.ts-outline { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 20px; border: 1px solid var(--ink); border-radius: 3px; color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ts-mobile-menu { display: none; }
.ts-button { display: inline-flex; min-height: 50px; justify-content: center; align-items: center; padding: 13px 26px; border: 1px solid var(--ink); border-radius: 3px; background: var(--ink); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.5; text-decoration: none; }
.ts-button:hover { background: var(--cardinal); border-color: var(--cardinal); }
.ts-button-light { color: var(--ink); background: #fff; border-color: #fff; }
.ts-button-light:hover { color: var(--ink); background: var(--tint); border-color: var(--tint); }
.ts-hero { position: relative; min-height: 700px; display: grid; align-items: end; isolation: isolate; color: var(--ink); background: var(--tint); }
.ts-hero-photo { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; color: transparent; }
.ts-hero-copy { padding-block: 48px; }
.ts-hero-panel { width: min(740px, 58vw); padding: 38px 40px 40px; background: var(--paper); }
.ts-hero h1 { font-size: clamp(48px, 4.65vw, 67px); line-height: 1.06; text-wrap: balance; }
.ts-hero p { max-width: 540px; margin: 22px 0 26px; color: var(--muted); font-size: 20px; line-height: 1.5; }
.ts-topic-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-block: 34px; border-bottom: 1px solid var(--rule); }
.ts-topic-links a { text-align: center; color: var(--ink); font-size: 17px; font-weight: 500; }
.ts-introduction { max-width: 820px; padding-top: 110px; text-align: center; }
.ts-introduction h2 { margin-bottom: 30px; }
.ts-introduction p { color: var(--muted); font-size: 20px; line-height: 1.65; }
.ts-topics { padding-top: 110px; }
.ts-topics > h2 { text-align: center; margin-bottom: 42px; }
.ts-topic-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ts-topic { text-align: center; }
.ts-topic img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; margin-bottom: 22px; color: transparent; }
.ts-topic h3 { margin-bottom: 12px; }
.ts-topic h3 a { color: var(--ink); text-decoration: none; }
.ts-topic h3 a:hover { text-decoration: underline; }
.ts-topic p { font-size: 17px; color: var(--muted); line-height: 1.6; }
.ts-context-band { margin-block: 110px; padding: 60px; display: grid; grid-template-columns: 1.25fr 1fr; gap: 70px; align-items: center; border-radius: 8px; color: #fff; background: linear-gradient(120deg, #9E2B36 0%, #3A1E24 100%); }
.ts-band-copy h2 { font-size: 42px; margin-bottom: 22px; }
.ts-band-copy p { font-size: 19px; }
.ts-glass { padding: 30px; background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.6); border-radius: 7px; }
.ts-glass h3 { margin-bottom: 13px; font-size: 26px; }
.ts-glass p { font-size: 17px; margin-bottom: 22px; }
.ts-glass .ts-button { display: flex; }
.ts-split { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 64px; align-items: start; margin-bottom: 120px; }
.ts-split img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; color: transparent; }
.ts-split-copy { padding-top: 18%; }
.ts-split h2 { font-size: clamp(34px,3.4vw,48px); margin-bottom: 25px; }
.ts-split p { color: var(--muted); font-size: 19px; line-height: 1.65; }
.ts-split .ts-button { margin-top: 10px; }
.ts-split-reverse .ts-split-copy { order: -1; }
.ts-breadcrumb { margin-top: 26px; margin-bottom: 18px; color: var(--muted); font-size: 15px; }
.ts-breadcrumb a { color: var(--muted); }
.ts-breadcrumb span { padding-inline: 10px; }
.ts-page-title { padding-bottom: 38px; }
.ts-page-title h1 { max-width: 1120px; }
.ts-page-title > p { max-width: 840px; margin-top: 24px; color: var(--muted); font-size: 22px; line-height: 1.6; }
.ts-chips { border-block: 1px solid var(--rule); }
.ts-chips-inner { padding-block: 25px; display: flex; flex-wrap: wrap; gap: 12px; }
.ts-chip { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 7px; color: var(--ink); font-size: 16px; font-weight: 500; text-decoration: none; }
.ts-chip[aria-current='page'] { color: var(--cardinal); border-color: var(--cardinal); }
.ts-chip:hover { background: var(--tint); }
.ts-article-grid { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 75px; padding-top: 58px; padding-bottom: 110px; }
.ts-section-nav { font-size: 16px; line-height: 1.6; }
.ts-section-nav h2 { font-size: 20px; letter-spacing: 0; padding-bottom: 20px; border-bottom: 1px solid var(--rule); margin-bottom: 18px; }
.ts-section-nav ol { padding: 0; margin: 0; list-style: none; }
.ts-section-nav li { margin-bottom: 16px; }
.ts-section-nav a { color: var(--muted); text-decoration: none; }
.ts-section-nav a:hover { color: var(--cardinal); text-decoration: underline; }
.ts-article { max-width: 700px; min-width: 0; }
.ts-prose-section { margin-bottom: 64px; }
.ts-prose-section:last-child { margin-bottom: 0; }
.ts-prose-section h2 { margin-bottom: 24px; font-size: 32px; line-height: 1.25; }
.ts-prose-section p { color: #48484E; }
.ts-article-photo { margin: 34px 0; }
.ts-article-photo img { width: 100%; max-height: 480px; aspect-ratio: 1.7; object-fit: cover; border-radius: 7px; color: transparent; }
.ts-article-photo figcaption { color: var(--muted); font-size: 15px; line-height: 1.6; margin-top: 12px; }
table { border-collapse: collapse; width: 100%; margin-top: 30px; font-size: 16px; line-height: 1.7; }
.ts-routes { table-layout: fixed; }
.ts-routes-figure { margin: 0; }
.ts-routes-figure figcaption { margin-top: 24px; }
caption { text-align: left; color: var(--ink); font-weight: 700; font-size: 19px; padding-bottom: 15px; }
th, td { text-align: left; vertical-align: top; padding: 22px 18px; border-bottom: 1px solid var(--rule); }
th[scope='col'] { background: var(--tint); }
tbody th { width: 25%; font-size: 16px; font-weight: 500; }
td p { margin: 0; }
.ts-source-page .ts-prose-section { margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--rule); }
.ts-source-page .ts-prose-section h2 { font-size: 25px; }
.ts-study-index .ts-article { max-width: none; }
.ts-study-index .ts-prose-section { max-width: 700px; }
.ts-index-topics { margin-bottom: 65px; }
.ts-index-topics > h2 { font-size: 24px; letter-spacing: 0; margin-bottom: 24px; }
.ts-index-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.ts-index-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 7px; color: transparent; margin-bottom: 20px; }
.ts-index-grid h3 { font-size: 21px; margin-bottom: 12px; }
.ts-index-grid h3 a { color: var(--ink); }
.ts-index-grid p { font-size: 16px; line-height: 1.65; }
.ts-index-start { align-content: center; padding: 24px; border-radius: 7px; color: #fff; background: linear-gradient(145deg,#9E2B36,#3A1E24); }
.ts-index-start p { color: #fff; }
.ts-index-start .ts-button { padding-inline: 16px; }
.ts-footer { border-top: 1px solid var(--rule); padding-block: 52px 36px; }
.ts-footer-top { display: flex; align-items: start; justify-content: space-between; gap: 40px; }
.ts-footer-top p { max-width: 620px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.ts-footer nav { display: flex; flex-wrap: wrap; gap: 22px; font-size: 15px; }
.ts-footer nav a { color: var(--ink); }
.ts-copyright { margin-top: 30px; font-size: 15px; color: var(--muted); }
.ts-missing { padding-block: 90px 140px; min-height: 60vh; }
.ts-missing p { max-width: 660px; margin-top: 26px; }
@media (min-width: 1600px) { .ts-hero { min-height: 760px; } }
@media (max-width: 1100px) {
  .ts-width { width: calc(100% - 64px); }
  .ts-header-inner { gap: 24px; }
  .ts-nav { gap: 18px; }
  .ts-identity { max-width: 355px; }
  .ts-header-inner > .ts-outline { display: none; }
  .ts-context-band { padding: 44px; gap: 42px; }
  .ts-split { gap: 36px; }
  .ts-split-copy { padding-top: 7%; }
  .ts-article-grid { grid-template-columns: 190px minmax(0,1fr); gap: 36px; }
}
@media (max-width: 800px) {
  .ts-width { width: calc(100% - 40px); }
  .ts-header-inner { position: relative; display: grid; grid-template-columns: 46px 1fr 46px; gap: 12px; min-height: 145px; padding-block: 18px; }
  .ts-identity { display: contents; }
  .ts-wordmark { grid-column: 2; grid-row: 1; text-align: center; font-size: 26px; }
  .ts-descriptor { grid-column: 1 / -1; grid-row: 2; text-align: center; max-width: 470px; margin: 8px auto 0; }
  .ts-nav { display: none; }
  .ts-mobile-menu { display: block; grid-row: 1; grid-column: 1; }
  .ts-mobile-menu summary { display: flex; list-style: none; cursor: pointer; height: 44px; width: 44px; align-items: center; justify-content: center; }
  .ts-mobile-menu summary::-webkit-details-marker { display: none; }
  .ts-mobile-menu svg { width: 25px; height: 25px; }
  .ts-mobile-menu nav { position: absolute; left: 0; top: 78px; z-index: 10; min-width: 250px; padding: 22px; border: 1px solid var(--rule); background: var(--paper); }
  .ts-mobile-menu nav a { display: block; padding-block: 10px; color: var(--ink); font-size: 17px; }
  .ts-hero { min-height: 640px; }
  .ts-hero-photo { object-position: 50% center; }
  .ts-hero h1 { font-size: 46px; }
  .ts-hero-copy { padding-block: 32px; }
  .ts-hero-panel { width: min(480px, 100%); padding: 30px; }
  .ts-hero p { max-width: 460px; }
  .ts-topic-links { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px 12px; }
  .ts-introduction { padding-top: 80px; }
  .ts-topics { padding-top: 80px; }
  .ts-topic-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 40px 22px; }
  .ts-context-band { margin-block: 80px; padding: 36px; grid-template-columns: 1fr; gap: 30px; }
  .ts-band-copy h2 { font-size: 36px; }
  .ts-glass { max-width: 500px; }
  .ts-split { margin-bottom: 80px; gap: 30px; align-items: center; }
  .ts-split-copy { padding: 0; }
  .ts-split h2 { font-size: 30px; }
  .ts-split p { font-size: 17px; }
  .ts-page-title > p { font-size: 20px; }
  .ts-chips-inner { gap: 10px; padding-block: 20px; }
  .ts-chip { padding: 10px 16px; font-size: 15px; }
  .ts-article-grid { grid-template-columns: 1fr; gap: 32px; padding-top: 32px; padding-bottom: 75px; }
  .ts-section-nav ol { display: flex; flex-wrap: wrap; gap: 10px 24px; }
  .ts-section-nav li { margin: 0; }
  .ts-section-nav h2 { margin-bottom: 14px; padding-bottom: 12px; font-size: 18px; }
  .ts-index-grid { gap: 18px; }
  .ts-index-start { padding: 20px; }
  .ts-footer-top { flex-direction: column; gap: 24px; }
}
@media (max-width: 520px) {
  body { font-size: 17px; line-height: 1.75; }
  .ts-notice { display: block; font-size: 15px; min-height: 43px; padding-inline: 20px; }
  .ts-header-inner { min-height: 134px; }
  .ts-wordmark { font-size: 25px; }
  .ts-hero { display: block; min-height: 0; background: var(--paper); }
  .ts-hero-photo { position: static; width: 100%; height: 280px; object-position: 66% center; }
  .ts-hero h1 { font-size: clamp(32px, 9.2vw, 42px); line-height: 1.12; }
  .ts-hero-copy { width: 100%; padding: 0; }
  .ts-hero-panel { width: 100%; padding: 28px 20px 34px; }
  .ts-hero p { margin-block: 20px 24px; font-size: 20px; }
  .ts-hero .ts-button { display: flex; width: 100%; }
  .ts-topic-links { padding-block: 28px; }
  .ts-topic-links a { font-size: 15px; }
  .ts-introduction { padding-top: 70px; text-align: left; }
  .ts-introduction h2 { font-size: 35px; }
  .ts-introduction p { font-size: 18px; }
  .ts-topics { padding-top: 70px; }
  .ts-topics > h2 { font-size: 35px; margin-bottom: 30px; }
  .ts-topic-grid { grid-template-columns: 1fr; gap: 40px; }
  .ts-topic img { aspect-ratio: 1.3; border-radius: 5px; margin-bottom: 20px; }
  .ts-topic h3 { font-size: 22px; }
  .ts-topic p { max-width: 32ch; margin-inline: auto; font-size: 17px; line-height: 1.6; }
  .ts-context-band { padding: 30px 24px; margin-block: 70px; }
  .ts-band-copy h2 { font-size: 34px; }
  .ts-glass { padding: 24px; }
  .ts-split { grid-template-columns: 1fr; gap: 28px; margin-bottom: 75px; }
  .ts-split-reverse .ts-split-copy { order: 0; }
  .ts-split h2 { font-size: 35px; }
  .ts-split p { font-size: 18px; }
  .ts-page-title { padding-bottom: 28px; }
  .ts-page-title h1 { font-size: 40px; }
  .ts-page-title > p { font-size: 19px; }
  .ts-prose-section { margin-bottom: 45px; }
  .ts-prose-section h2 { font-size: 28px; }
  .ts-article-photo img { aspect-ratio: 1.15; }
  .ts-index-grid { grid-template-columns: 1fr 1fr; }
  .ts-index-start { grid-column: 1 / -1; }
  .ts-routes, .ts-routes caption, .ts-routes thead, .ts-routes tbody,
  .ts-routes tr, .ts-routes th, .ts-routes td { display: block; width: 100%; }
  .ts-routes thead tr { display: grid; grid-template-columns: 1fr 2fr; }
  .ts-routes th[scope='col'] { padding: 12px; font-size: 15px; }
  .ts-routes tbody tr { padding-block: 24px; border-bottom: 1px solid var(--rule); }
  .ts-routes tbody th { padding: 0 0 10px; border: 0; font-size: 18px; font-weight: 700; }
  .ts-routes td { padding: 0; border: 0; }
  .ts-routes td p { font-size: 17px; line-height: 1.75; }
  .ts-footer { padding-top: 36px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
