:root {
  --color-text: #202034;
  --color-accent: #3f3fa6;
  --color-link: #3a3a9c;
  --color-heading: #14142b;
  --color-border: #dfdff0;
  --color-surface: #f2f2fb;
  --color-bg: #ffffff;
  --color-accent-text: #ffffff;
  --color-muted: #5a5a76;
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  line-height: 1.6;
  overflow-wrap: break-word;
  margin: 0;
  font-family: "Literata", Georgia, serif;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, h4 {
  line-height: 1.25;
  font-family: "Outfit", system-ui, sans-serif;
  color: var(--color-heading);
}

a {
  color: var(--color-link);
}

img {
  height: auto;
  max-width: 100%;
}

pre, table {
  overflow-x: auto;
  max-width: 100%;
}

table {
  display: block;
  border-collapse: collapse;
}

blockquote {
  padding: 0.25rem 1.25rem;
  margin: 1.25rem 0;
  border-left: 3px solid var(--color-accent);
  color: var(--color-muted);
}

.tr-visually-hidden {
  white-space: nowrap;
  height: 1px;
  width: 1px;
  overflow: hidden;
  position: absolute;
  clip: rect(0 0 0 0);
}

.tr-pagination {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  gap: 1rem;
}

.tr-all-posts li {
  padding: 0.35rem 0;
}

.tr-period {
  margin-top: 1.75rem;
  font-size: 1.2rem;
}

.tr-topbar > .tr-content-width {
  flex-wrap: wrap;
  padding-top: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  align-items: center;
}

.tr-topbar {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.tr-logo {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.35rem;
  color: var(--color-heading);
  text-decoration: none;
  font-weight: 700;
}

.tr-nav-list {
  padding: 0;
  flex-wrap: wrap;
  display: flex;
  justify-content: flex-end;
  list-style: none;
  gap: 0.25rem 1.1rem;
  margin: 0;
}

.tr-nav-list a {
  font-size: 0.95rem;
  color: var(--color-text);
  text-decoration: none;
}

.tr-nav-list a:hover {
  color: var(--color-link);
  text-decoration: underline;
}

.tr-feature {
  margin-bottom: 2rem;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.tr-feature .tr-display-title {
  line-height: 1.15;
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.tr-feature .tr-hero-text {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  max-width: 60ch;
}

.tr-feature img {
  max-width: 100%;
}

.tr-feature-bn {
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}

.tr-feature-bn > .tr-swatch {
  inset: 0;
  height: 100%;
  object-fit: cover;
  width: 100%;
  position: absolute;
  opacity: 0.18;
}

.tr-feature-bn > .tr-content-width {
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
  position: relative;
}

.tr-feature-bn .tr-display-title {
  font-size: 1.7rem;
}

.tr-feature-bn .tr-trail {
  margin: 0 0 0.4rem;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.tr-list-title h1 {
  margin: 0 0 1.25rem;
  font-size: 1.5rem;
  color: var(--color-heading);
}

.tr-content-width {
  padding-right: 1rem;
  padding-left: 1rem;
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 72rem;
}

.tr-layout {
  padding-top: 1.5rem;
  padding-bottom: 2.5rem;
}

.tr-main {
  min-width: 0;
}

.tr-aside {
  min-width: 0;
  margin-top: 2rem;
}

.tr-headline {
  line-height: 1.25;
  margin: 0 0 0.4rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.55rem;
}

.tr-headline a {
  color: var(--color-heading);
  text-decoration: none;
}

.tr-headline a:hover {
  color: var(--color-link);
  text-decoration: underline;
}

.tr-post-info {
  margin: 0 0 0.9rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.tr-post-info a {
  color: var(--color-muted);
}

.tr-post-body img {
  height: auto;
  max-width: 100%;
}

.tr-post-body h2:not(.tr-headline), .tr-summary-text h2 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.15rem;
}

.tr-post-body h3, .tr-summary-text h3 {
  font-size: 1.02rem;
}

.tr-preview {
  margin: 0 0 1rem;
}

.tr-preview img {
  height: auto;
  display: block;
  width: 100%;
  border-radius: 0.25rem;
}

.tr-cover-story .tr-headline {
  line-height: 1.15;
  font-size: 2.1rem;
}

.tr-cover-story {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px solid var(--color-heading);
}

.tr-brief {
  margin-bottom: 2rem;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0,1fr);
}

.tr-archive-list {
  padding: 0;
  display: grid;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: minmax(0,1fr);
}

.tr-archive-list > * {
  min-width: 0;
}

.tr-archive-list .tr-teaser-item {
  padding: 1.25rem;
  height: 100%;
  box-sizing: border-box;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-bg);
}

.tr-archive-list .tr-cover-story, .tr-archive-list .tr-brief {
  grid-column: 1 / -1;
}

.tr-summary-text img {
  height: auto;
  max-width: 100%;
}

.tr-side-block {
  margin-bottom: 1.75rem;
  font-size: 0.92rem;
}

.tr-box-title {
  padding-bottom: 0.35rem;
  margin: 0 0 0.6rem;
  font-family: "Outfit", system-ui, sans-serif;
  text-transform: none;
  font-size: 1rem;
  border-bottom: 2px solid var(--color-accent);
  color: var(--color-heading);
}

.tr-link-list {
  padding: 0;
  list-style: none;
  margin: 0;
}

.tr-link-list li, .tr-link-list > div {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--color-border);
}

.tr-side-block a {
  color: var(--color-link);
  text-decoration: none;
}

.tr-side-block a:hover {
  text-decoration: underline;
}

.tr-single-title {
  line-height: 1.2;
  margin: 0 0 0.5rem;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 2.1rem;
  color: var(--color-heading);
}

.tr-post-date {
  margin: 0 0 1.5rem;
  font-size: 0.88rem;
  color: var(--color-muted);
}

.tr-post-date a {
  color: var(--color-muted);
}

.tr-entry-content img {
  height: auto;
  max-width: 100%;
}

.tr-post-end {
  padding-top: 1.5rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-border);
}

.tr-table-of-contents {
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: 0.25rem;
  background: var(--color-surface);
}

.tr-table-of-contents p {
  margin: 0 0 0.4rem;
}

.tr-about-box {
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
}

.tr-about-box p {
  margin: 0 0 0.4rem;
}

.tr-more-reading h2 {
  font-size: 1.15rem;
}

.tr-pagination {
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  margin-top: 1.5rem;
  gap: 1rem;
}

.tr-trail {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--color-muted);
}

.tr-trail a {
  color: var(--color-muted);
}

.tr-bottom-ln {
  text-align: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  font-size: 0.85rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
}

.tr-bottom-ln a {
  color: var(--color-muted);
}

.tr-button-group {
  padding: 0;
  flex-wrap: wrap;
  display: flex;
  list-style: none;
  gap: 0.75rem;
  margin: 1rem 0 0;
}

.tr-action {
  padding: 0.6rem 1.1rem;
  display: inline-block;
  border: 2px solid var(--color-accent);
  color: var(--color-accent-text);
  text-decoration: none;
  border-radius: 0.5rem;
  background: var(--color-accent);
  font-weight: 700;
}

.tr-action-alt {
  color: var(--color-accent);
  background: var(--color-bg);
}

.tr-badges {
  padding: 0;
  flex-wrap: wrap;
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0.9rem 0 0;
  font-size: 0.85rem;
}

.tr-badges li, .tr-badges span {
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 1rem;
  background: var(--color-surface);
}

.tr-overline {
  letter-spacing: 0.08em;
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 700;
}

.tr-section-head, h2.tr-section-head {
  margin: 0 0 1.5rem;
}

.tr-section-head h2, h2.tr-section-head {
  margin-bottom: 0.35rem;
  font-size: 1.9rem;
}

.tr-section-head p {
  margin: 0;
  color: var(--color-muted);
}

.tr-page-lede {
  margin: 0 0 1.5rem;
  max-width: 70ch;
}

.tr-side-block .tr-hello-card {
  padding: 1rem;
  border-radius: 0.5rem;
  background: var(--color-surface);
}

.tr-side-block .tr-call-button {
  padding: 0.5rem 1rem;
  display: inline-block;
  color: var(--color-accent-text);
  text-decoration: none;
  border-radius: 999px;
  background: var(--color-accent);
  font-weight: 700;
}

.tr-hello-card {
  box-sizing: border-box;
  margin: 1rem 0;
  max-width: 100%;
}

.tr-hello-card .tr-contact-form {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: minmax(0,1fr);
}

.tr-hello-card .tr-form-row {
  min-width: 0;
  display: grid;
  gap: 0.2rem;
}

.tr-hello-card label {
  font-size: 0.85rem;
  font-weight: 600;
}

.tr-hello-card input[type=text], .tr-hello-card input[type=tel], .tr-hello-card textarea {
  padding: 0.5rem 0.6rem;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid var(--color-border);
  font: inherit;
  color: var(--color-text);
  border-radius: 0.25rem;
  background: var(--color-bg);
}

.tr-hello-card button {
  padding: 0.65rem 1.1rem;
  border: 0;
  font: inherit;
  cursor: pointer;
  color: var(--color-accent-text);
  border-radius: 0.25rem;
  background: var(--color-accent);
  font-weight: 700;
}

.tr-hello-card .tr-number {
  margin: 0.6rem 0 0;
  font-size: 0.9rem;
}

.tr-hello-card .tr-hero-lede {
  margin: 0 0 0.6rem;
}

.tr-hello-card-boxed {
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.14);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 0.5rem;
  background: var(--color-bg);
}

.tr-hello-card-inline {
  padding: 0.9rem;
  color: var(--color-text);
  border-radius: 0.5rem;
  background: var(--color-surface);
}

.tr-hello-card-tabbed {
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  border-top: 4px solid var(--color-accent);
  color: var(--color-text);
  background: var(--color-bg);
}

.tr-hello-card .tr-choice-row {
  flex-wrap: wrap;
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--color-border);
}

.tr-hello-card .tr-choice-row input {
  height: 1px;
  width: 1px;
  position: absolute;
  opacity: 0;
}

.tr-hello-card .tr-choice-row label {
  padding: 0.45rem 0.9rem;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: var(--color-muted);
}

.tr-hello-card .tr-choice-row input:checked + label {
  border-bottom-color: var(--color-accent);
  color: var(--color-heading);
}

.tr-hello-card-call {
  text-align: center;
  padding: 1rem;
  color: var(--color-text);
  border-radius: 0.5rem;
  background: var(--color-surface);
}

.tr-hello-card .tr-call-button {
  padding: 0.9rem 1.6rem;
  display: inline-block;
  font-size: 1.25rem;
  color: var(--color-accent-text);
  text-decoration: none;
  border-radius: 999px;
  background: var(--color-accent);
  font-weight: 700;
}

.tr-hello-card-two {
  padding: 1.1rem;
  border: 2px dashed var(--color-border);
  color: var(--color-text);
  border-radius: 0.5rem;
  background: var(--color-bg);
}

.tr-hello-card fieldset {
  padding: 0;
  min-width: 0;
  display: grid;
  gap: 0.5rem;
  border: 0;
  margin: 0;
}

.tr-hello-card legend {
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  color: var(--color-muted);
}

.tr-hello-card details > summary {
  padding: 0.5rem 1rem;
  display: inline-block;
  list-style: none;
  margin: 0.3rem 0;
  cursor: pointer;
  color: var(--color-bg);
  border-radius: 0.25rem;
  background: var(--color-heading);
}

.tr-hello-card-compact {
  padding: 1rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  border-radius: 0.5rem;
  background: var(--color-surface);
}

.tr-hello-card-choose {
  padding: 1.1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  color: var(--color-text);
  border-radius: 0.5rem;
  background: var(--color-bg);
}

.tr-hello-card-choose fieldset {
  padding: 0;
  flex-wrap: wrap;
  min-width: 0;
  display: flex;
  gap: 0.5rem;
  border: 0;
  margin: 0;
}

.tr-hello-card-choose legend {
  padding: 0;
  margin-bottom: 0.4rem;
  color: var(--color-heading);
  font-weight: 700;
}

.tr-hello-card-choose .tr-choice-row > div {
  padding: 0.35rem 0.7rem;
  display: flex;
  gap: 0.35rem;
  border: 1px solid var(--color-border);
  align-items: center;
  border-radius: 0.25rem;
}

.tr-hello-card-choose input[type=checkbox] {
  accent-color: var(--color-accent);
  height: 1.05rem;
  width: 1.05rem;
  margin: 0;
}

.tr-hello-card-choose .tr-choice-row label {
  font-weight: 400;
}

.tr-season {
  padding: 1rem 1.15rem;
  overflow-wrap: anywhere;
  border: 1px solid var(--color-border);
  margin: 0 0 2rem;
  border-radius: 0.5rem;
  background: var(--color-surface);
}

.tr-season p {
  margin: 0 0 0.5rem;
}

.tr-season ul, .tr-season ol {
  padding-left: 1.25rem;
  margin: 0;
}

.tr-season li {
  margin: 0 0 0.35rem;
}

.tr-season li span {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.tr-letters {
  padding: 1rem 1.15rem;
  overflow-wrap: anywhere;
  border: 1px solid var(--color-border);
  margin: 0 0 2rem;
  border-radius: 0.5rem;
  background: var(--color-surface);
}

.tr-letters p {
  margin: 0 0 0.5rem;
}

.tr-letters ul, .tr-letters ol {
  padding-left: 1.25rem;
  margin: 0;
}

.tr-letters li {
  margin: 0 0 0.35rem;
}

.tr-letters ul {
  padding-left: 0;
  list-style: none;
}

.tr-letters li strong {
  min-width: 1.5rem;
  display: inline-block;
  color: var(--color-accent);
}

.tr-entry-header .tr-post-date {
  margin: 0 0 1.25rem;
}

.tr-post-single-tc .tr-hero-box {
  margin-bottom: 1.5rem;
}

.tr-post-single-tc .tr-hero-box .tr-preview {
  margin: 0;
}

.tr-post-single-tc .tr-hero-box img {
  display: block;
  object-fit: cover;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.5rem;
}

.tr-post-single-tc .tr-hero-box .tr-entry-header {
  padding: 1rem 1.1rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
  margin: -1.5rem 0.75rem 0;
  position: relative;
  border-top: 4px solid var(--color-accent);
  border-radius: 0.25rem;
  background: var(--color-bg);
}

.tr-post-single-tc > .tr-entry-header {
  padding-top: 1rem;
  border-top: 4px solid var(--color-accent);
}

.tr-logo::before {
  height: 0.75rem;
  margin-right: 0.55rem;
  display: inline-block;
  content: "";
  width: 0.75rem;
  border: 3px solid var(--color-accent);
  transform: rotate(45deg);
  vertical-align: middle;
}

.tr-action, .tr-call-button, .tr-hello-card button, .tr-site-search button {
  text-underline-offset: 3px;
  text-decoration: underline;
}

.tr-post-body a, .tr-entry-content a {
  padding: 0 0.15rem;
  text-decoration: none;
  background: var(--color-surface);
}

.tr-preview img, .tr-entry-content img, .tr-post-body img {
  border-radius: 1.25rem;
}

.tr-post-body p, .tr-entry-content p {
  margin: 0 0 0.6rem;
}

body {
  line-height: 1.45;
}

[data-rt]::after {
  content: " · " attr(data-rt);
}

.tr-trail a {
  padding: 0.1rem 0.5rem;
  text-decoration: none;
  border-radius: 999px;
  background: var(--color-surface);
}

.tr-table-of-contents ul, .tr-table-of-contents ol {
  flex-wrap: wrap;
  display: flex;
  gap: 0.4rem;
}

.tr-table-of-contents li {
  padding: 0.15rem 0.6rem;
  border-bottom: 0;
  border-radius: 999px;
  background: var(--color-surface);
}

.tr-post-body blockquote, .tr-entry-content blockquote {
  border-left-width: 1px;
  font-style: italic;
}

.tr-post-body ul, .tr-entry-content ul {
  list-style-type: "\2713  ";
}

.tr-ticker-accentTop {
  text-align: center;
  white-space: nowrap;
  padding: 0.35rem 0;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 0.82rem;
}

.tr-ticker-accentTop, .tr-ticker-accentTop a {
  color: var(--color-accent-text);
  background: var(--color-accent);
}

.tr-pagination-top {
  text-align: right;
  margin: 0.5rem 0;
}

.tr-pagination-arrows a {
  font-size: 1.5rem;
  text-decoration: none;
}

@media (min-width: 600px) {
  .tr-feature .tr-display-title {
    font-size: 2.6rem;
  }
  .tr-layout {
    column-gap: 2.25rem;
    grid-template-areas: "m r";
    display: grid;
    align-items: start;
    grid-template-columns: minmax(0,1fr) 18rem;
  }
  .tr-main {
    grid-area: m;
  }
  .tr-aside {
    grid-area: r;
    margin-top: 0;
  }
  .tr-aside {
    top: 1rem;
    position: sticky;
    align-self: start;
  }
  .tr-archive-list {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr));
  }
  .tr-hello-card-inline .tr-contact-form {
    align-items: end;
    grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto;
  }
  .tr-post-single-tc .tr-hero-box .tr-entry-header {
    padding: 1.5rem 1.75rem;
    margin: -4rem 2.5rem 0;
  }
}

@media (min-width: 900px) {
  .tr-brief {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
