.tir-day {
  padding: clamp(4rem, 8vw, 8rem) 0;
  background: #17271f;
  color: #f6f5ed;
}
.day-heading { margin-bottom: clamp(1.75rem, 4vw, 3.5rem); }
.day-heading h2 { margin: 0; max-width: 14ch; font-size: clamp(2.8rem, 6.5vw, 6.25rem); line-height: .99; letter-spacing: -.06em; font-weight: 600; }
.day-heading h2 em { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; color: #d0f77a; }
.tool-clips { display: grid; }
.tool-story {
  --story-accent: #d0f77a;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "screen copy";
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  padding-block: clamp(2.5rem, 5vw, 5rem);
  border-top: 1px solid #48594c;
  scroll-margin-top: 6rem;
}
.log-story { --story-accent: #acd9d9; grid-template-areas: "copy screen"; }
.tool-story-copy { grid-area: copy; max-width: 33rem; }
.tool-story-copy h3 { margin: 0; font-size: clamp(3rem, 5.7vw, 5.5rem); line-height: 1.02; letter-spacing: -.055em; font-weight: 600; }
.tool-story-copy h3 em { display: block; color: var(--story-accent); font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.tool-story-copy p { margin: clamp(1rem, 2.2vw, 1.8rem) 0 0; max-width: 38ch; color: #d7e1d4; font-size: clamp(1.06rem, 1.6vw, 1.35rem); line-height: 1.5; }
.tool-clip { grid-area: screen; min-width: 0; margin: 0; padding: clamp(.9rem, 2.1vw, 1.8rem); background: #20382c; border: 1px solid #48604e; border-radius: 12px; }
.log-story .tool-clip { background: #23363a; border-color: #486166; }
.clip-intro { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.clip-intro span { font-size: clamp(1.1rem, 1.5vw, 1.4rem); font-weight: 600; letter-spacing: -.025em; line-height: 1.2; }
.clip-intro > svg, .trip-pocket article > svg { color: #d0f77a; flex: 0 0 auto; width: 1.65rem; height: 1.65rem; }
.clip-intro > svg { color: var(--story-accent); }
.clip-stage { display: grid; justify-items: center; }
.clip-stage video { display: block; width: min(100%, clamp(16rem, 38svh, 22rem)); height: auto; aspect-ratio: auto 9 / 20; object-fit: contain; border-radius: 7px; background: #17231c; }
.tool-clip .clip-caption { display: grid; grid-template-columns: minmax(0, 1fr); margin: 1rem 0 0; max-width: 46ch; font-size: 1rem; line-height: 1.45; color: #e1e9df; }
.clip-caption > span { grid-area: 1 / 1; }
.clip-caption [data-cue] { visibility: hidden; }
.clip-caption [data-cue].current-cue { visibility: visible; }
.clip-caption:has(.current-cue) .clip-summary { opacity: 0; }
.tir-motion-pref:not([hidden]) { display: inline-flex; align-items: center; min-height: 44px; gap: .4rem; font: inherit; font-size: .9rem; cursor: pointer; }
.tir-motion-pref input { margin: 0; width: 1rem; height: 1rem; accent-color: #d0f77a; }
html[data-tir-static] .map-branch, html[data-tir-static] .walk-focus { animation: none; }
html[data-tir-static] .tir-park-bays b { transition: none; }
.trip-pocket { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2.5rem; }
.trip-pocket article { display: flex; gap: .8rem; padding: 1rem 0; border-top: 1px solid #4b5c50; align-items: start; }
.trip-pocket h3 { margin: 0 0 .25rem; font-size: 1.12rem; }
.trip-pocket p { margin: 0; max-width: 39ch; font-size: .98rem; line-height: 1.4; color: #c8d4c6; }
.tir-community .tir-community-actions li { display: flex; align-items: start; gap: .8rem; }
.tir-community-actions .tir-icon, .tir-driver-story > .tir-icon { flex-shrink: 0; color: #375740; width: 1.5rem; height: 1.5rem; }
.tir-driver-story > .tir-icon { width: 2.2rem; height: 2.2rem; margin-bottom: 1.1rem; }
@media (max-width: 800px) {
  .tool-story { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "screen"; gap: 1.5rem; }
  .tool-story-copy { max-width: 100%; }
  .clip-stage video { width: min(100%, 21rem); }
}
@media (max-width: 680px) {
  .trip-pocket { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
}
.mast-inner nav .tir-icon { width: 1rem; height: 1rem; margin-right: .35rem; color: #c8daba; }
@media (max-width: 700px) {
  .mast-inner { position: relative; flex-wrap: wrap; gap: 0 12px; padding-top: .45rem; }
  .mast-inner nav { width: 100%; display: flex; justify-content: space-between; border-top: 1px solid #344338; margin: .2rem 0 0; }
  .mast-inner nav a:not(.nav-pilot) { display: inline-flex; gap: .25rem; min-height: 44px; font-size: .84rem; }
  .mast-inner nav .tir-icon { margin: 0; }
  .mast-inner nav .nav-pilot { position: absolute; right: 0; top: .45rem; min-height: 44px; }
}
@media (max-width: 360px) {
  .mast-inner { column-gap: 8px; }
  .mast-inner .hts-mark img { width: 98px; }
  .mast-inner .product-name { padding-left: 8px; }
  .mast-inner .product-name img { width: 34px; }
}
