.data-story-shell {
  width: min(100% - 96px, 1240px);
}

.data-story-header h1 {
  max-width: 1120px;
}

.data-story-header h1 > span {
  color: var(--term);
}

.data-story-body {
  --ft-paper: var(--bg);
  --ft-paper2: #e8e9ea;
  --ft-ink: var(--ink);
  --ft-muted: var(--muted);
  --ft-forest: var(--term);
  --ft-forest-d: var(--term);
  --ft-copper: #737579;
  --ft-copper-d: #55575a;
  --ft-slate: var(--ink);
  --ft-line: var(--soft-line);
  --ft-line-strong: var(--line);
  --ft-grid: #dedfe1;
  --ft-neutral: #c5c7ca;
  --pos: var(--term);
  --neg: #737579;
  padding: 84px 0 112px;
}

.data-story-copy {
  width: min(100%, 720px);
  margin-right: auto;
  margin-left: auto;
  font-size: 17px;
  line-height: 1.72;
}

.data-story-copy p,
.data-story-copy ul {
  margin: 0 0 22px;
}

.data-story-copy li + li {
  margin-top: 8px;
}

.data-story-copy strong {
  font-weight: 700;
}

.data-story-lede > p:first-child {
  max-width: 25ch;
  margin-bottom: 30px;
  font-size: clamp(25px, 3vw, 42px);
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: 1.03;
  text-transform: uppercase;
}

.data-story-overview {
  margin-top: 64px;
}

.data-story-section {
  margin-top: 128px;
}

.data-story-label {
  margin-bottom: 14px !important;
  color: var(--term);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.data-story-section h2,
.data-story-method h2 {
  margin: 0 0 26px;
  padding-top: 16px;
  border-top: 1px solid var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: .96;
  text-transform: uppercase;
  text-wrap: balance;
}

.data-story-followup {
  margin-top: 72px;
}

.data-story-method {
  margin-top: 128px;
  padding: 72px 0 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #e8e9ea;
}

.foot-traffic-page,
.foot-traffic-page * {
  box-sizing: border-box;
}

.foot-traffic-page {
  width: min(100%, 1060px);
  margin: 38px auto 0;
  color: var(--ft-ink);
  font-family: "Overused Grotesk", Arial, sans-serif;
  line-height: 1.5;
}

.foot-traffic-page .byline {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--soft-line);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.foot-traffic-page .byline span {
  color: var(--ft-muted);
}

.foot-traffic-page .byline a:hover {
  color: var(--term);
}

.foot-traffic-page .tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 28px;
  border-top: 1px solid var(--ft-line-strong);
  border-bottom: 1px solid var(--ft-line-strong);
}

.foot-traffic-page .tile {
  min-width: 0;
  padding: 26px 20px 24px;
}

.foot-traffic-page .tile + .tile {
  border-left: 1px solid var(--ft-line);
}

.foot-traffic-page .tile .n {
  color: var(--ft-forest-d);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: .9;
}

.foot-traffic-page .tile .n.alt {
  color: var(--ft-ink);
}

.foot-traffic-page .tile .l {
  max-width: 18ch;
  margin-top: 12px;
  color: var(--ft-muted);
  font-size: 11px;
  line-height: 1.35;
}

.foot-traffic-page .card {
  padding: 28px 28px 22px;
  overflow: hidden;
  border: 1px solid var(--ft-line-strong);
  border-radius: 0;
  background: var(--surface);
}

.foot-traffic-page .chart-heading {
  display: flex;
  gap: 24px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ft-line);
}

.foot-traffic-page .chart-title,
.foot-traffic-page .chart-sub {
  margin: 0;
}

.foot-traffic-page .chart-title {
  max-width: 52ch;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -.01em;
}

.foot-traffic-page .chart-sub {
  max-width: 42ch;
  color: var(--ft-muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.45;
  text-align: right;
  text-transform: uppercase;
}

.foot-traffic-page .chart-scroll {
  width: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-color: var(--ft-line-strong) transparent;
  scrollbar-width: thin;
}

.foot-traffic-page svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}

.foot-traffic-page svg text {
  font-family: "Overused Grotesk", Arial, sans-serif;
}

.foot-traffic-page svg line[stroke="#ece5d8"] {
  stroke: var(--ft-grid) !important;
}

.foot-traffic-page svg line[stroke="#bdb4a3"],
.foot-traffic-page svg line[stroke="#b9b1a0"] {
  stroke: var(--ft-line-strong) !important;
}

.foot-traffic-page svg text[fill="#8a8166"] {
  fill: var(--ft-muted) !important;
}

.foot-traffic-page svg rect[fill="#cdd5d0"] {
  fill: var(--ft-neutral) !important;
}

.foot-traffic-page svg circle[stroke="#fff"] {
  stroke: var(--surface) !important;
}

.foot-traffic-page .axis {
  fill: var(--ft-muted);
  font-size: 11px;
}

.foot-traffic-page .barlabel {
  fill: var(--ft-ink);
  font-size: 12.5px;
  font-weight: 600;
}

.foot-traffic-page .barval {
  font-size: 12px;
  font-weight: 700;
}

.foot-traffic-page .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 12px;
  color: var(--ft-muted);
  font-size: 11px;
  font-weight: 600;
}

.foot-traffic-page .legend i {
  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 7px;
  vertical-align: -1px;
}

.foot-traffic-page .legend-weekday { background: var(--ft-slate); }
.foot-traffic-page .legend-weekend,
.foot-traffic-page .legend-declining { background: var(--ft-copper); }
.foot-traffic-page .legend-growing { background: var(--ft-forest); }
.foot-traffic-page .legend-normal { background: var(--ft-neutral); }

.foot-traffic-page .note {
  max-width: 720px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--ft-line);
  color: var(--ft-muted);
  font-size: 12px;
  line-height: 1.55;
}

.foot-traffic-page .toggle {
  display: inline-flex;
  margin: 0 0 12px;
  border: 1px solid var(--ft-line-strong);
}

.foot-traffic-page .toggle button {
  min-height: 44px;
  border: 0;
  padding: 9px 14px;
  background: transparent;
  color: var(--ft-muted);
  cursor: pointer;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.foot-traffic-page .toggle button + button {
  border-left: 1px solid var(--ft-line-strong);
}

.foot-traffic-page .toggle button.on {
  background: var(--ink);
  color: var(--bg);
}

.foot-traffic-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.foot-traffic-page th,
.foot-traffic-page td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--ft-line);
  text-align: right;
  white-space: nowrap;
}

.foot-traffic-page th {
  color: var(--ft-muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.foot-traffic-page td:first-child,
.foot-traffic-page th:first-child {
  text-align: left;
}

.foot-traffic-page td:first-child {
  font-weight: 600;
}

.foot-traffic-page tbody tr:hover {
  background: var(--ft-paper2);
}

.foot-traffic-page .pos {
  color: var(--ft-forest-d);
  font-weight: 700;
}

.foot-traffic-page .neg {
  color: var(--ft-copper-d);
  font-weight: 700;
}

.foot-traffic-page .data-table-scroll {
  overflow-x: auto;
}

.foot-traffic-page .data-table-scroll table {
  min-width: 860px;
}

.foot-traffic-page .ft-tip {
  position: fixed;
  z-index: 50;
  max-width: 240px;
  padding: 8px 10px;
  border: 1px solid rgba(244,245,246,.3);
  background: var(--ink);
  color: var(--bg);
  font-size: 11px;
  line-height: 1.45;
  opacity: 0;
  pointer-events: none;
  transition: opacity .12s;
}

@media (max-width: 900px) {
  .data-story-shell {
    width: calc(100% - 48px);
  }

  .foot-traffic-page .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot-traffic-page .tile:nth-child(3) {
    border-left: 0;
  }

  .foot-traffic-page .tile:nth-child(n+3) {
    border-top: 1px solid var(--ft-line);
  }
}

@media (max-width: 640px) {
  .data-story-shell {
    width: calc(100% - 40px);
  }

  .data-story-header h1 {
    font-size: 48px;
  }

  .data-story-body {
    padding-top: 60px;
    padding-bottom: 80px;
  }

  .data-story-copy {
    font-size: 16px;
  }

  .data-story-section,
  .data-story-method {
    margin-top: 92px;
  }

  .data-story-method {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
  }

  .foot-traffic-page {
    margin-top: 30px;
  }

  .foot-traffic-page .byline,
  .foot-traffic-page .chart-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .foot-traffic-page .chart-heading {
    gap: 7px;
  }

  .foot-traffic-page .chart-sub {
    text-align: left;
  }

  .foot-traffic-page .card {
    padding: 20px 16px 16px;
  }

  .foot-traffic-page .chart-scroll svg {
    width: 720px;
    max-width: none;
  }

  .foot-traffic-page .tile {
    padding: 22px 14px;
  }

  .foot-traffic-page .tile .n {
    font-size: 38px;
  }

  .foot-traffic-page .note {
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .foot-traffic-page .tiles {
    grid-template-columns: 1fr;
  }

  .foot-traffic-page .tile + .tile {
    border-top: 1px solid var(--ft-line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .foot-traffic-page * {
    transition-duration: .01ms !important;
  }
}
