/* zeeshanrasool.com additions on top of the 11x Webflow styles (base.css). */

:root {
  --zr-ease: cubic-bezier(.2, .7, .2, 1);
}

::selection {
  background-color: var(--primary--blue);
  color: #fff;
}

:focus-visible {
  outline: 2px solid #5b96fe;
  outline-offset: 3px;
}

.small-logo {
  width: auto;
}

/* Raster images carry width and height for layout, and stay proportional when CSS narrows them. */
:where(img) {
  height: auto;
}

/* The second line of a two-line headline: styled like the h1, but not a second h1. */
.zr-h1 {
  margin: 0;
  font-family: Archivo, sans-serif;
  font-size: 4rem;
  font-weight: 400;
  line-height: 1.1;
}

@media screen and (max-width: 767px) {
  .zr-h1 {
    font-size: 3rem;
  }
}

/* A page's h1 set at the size the 11x pages used for their intro h3. */
.zr-page-title {
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.footer-logo.zr {
  width: auto;
  max-width: 9rem;
  height: auto;
}

/* Hover states for blocks that have no Webflow interaction bound to them. */
.button .button-background {
  transition: transform .5s var(--zr-ease);
}

.button:hover .button-background,
.button:focus-visible .button-background {
  transform: translate3d(0, 0, 0) !important;
}

.button .button-icon-arrow {
  transition: transform .5s var(--zr-ease);
}

.button:hover .button-icon-arrow,
.button:focus-visible .button-icon-arrow {
  transform: translate3d(100%, 0, 0) !important;
}

/* Case-study and inner sections sit closer together than the 11x homepage's. */
.section.zr-compact > .container {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.card-component .card-hover {
  transition: transform .5s var(--zr-ease);
}

.card-component-wrapper > .card-component {
  transform: none !important;
}

/* Expertise cards on tablet and desktop: a short card with the icon on the left and the title beside
   it. The blue hover panel is padded to fit the description inside the shorter card. */
@media screen and (min-width: 768px) {
  .card-component-wrapper > .card-component {
    min-height: 11rem;
    padding: 1.5rem;
    justify-content: flex-start;
  }

  .card-component .card-front-content {
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    grid-column-gap: 1.25rem;
    column-gap: 1.25rem;
    text-align: left;
    height: auto;
  }

  .card-component .card-front-content .card-image {
    order: -1;
    flex: none;
    width: 3rem;
  }

  .card-component .card-front-content .medium-large-text {
    font-size: 1.35rem;
    line-height: 1.2;
    text-align: left;
  }

  .card-component .card-hover {
    grid-row-gap: .5rem;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 1.5rem;
    text-align: center;
  }

  .card-component .card-hover .medium-text {
    font-size: .95rem;
    line-height: 1.45;
  }
}

.card-component:hover .card-hover,
.card-component:focus-visible .card-hover {
  transform: translate(0, 0) !important;
}

.hover-link-block .hover-image {
  transition: transform .8s var(--zr-ease), filter .8s var(--zr-ease);
}

.hover-link-block:hover .hover-image {
  transform: scale(1.04) !important;
  filter: brightness(110%) !important;
}

.hover-link-block .team-arrow-icon {
  transition: transform .5s var(--zr-ease);
}

.hover-link-block:hover .team-arrow-icon,
a.zr-product:hover .team-arrow-icon {
  transform: rotate(45deg) !important;
}

/* The corner arrow appears on hover (and stays on phones, where there is no hover). */
.zr-card-image .team-arrow-block,
.zr-product-arrow {
  opacity: 0;
  transform: translate(.5rem, .5rem);
  transition: opacity .35s var(--zr-ease), transform .5s var(--zr-ease);
}

.hover-link-block:hover .zr-card-image .team-arrow-block,
.hover-link-block:focus-visible .zr-card-image .team-arrow-block,
a.zr-product:hover .zr-product-arrow,
a.zr-product:focus-visible .zr-product-arrow {
  opacity: 1;
  transform: none;
}

.zr-product-arrow {
  inset: 1.75rem 0 auto auto;
  transform: translate(-.5rem, .5rem);
}

@media (hover: none), (max-width: 767px) {
  .zr-card-image .team-arrow-block,
  .zr-product-arrow {
    opacity: 1;
    transform: none;
  }
}

.zr-hero-roles {
  flex-wrap: wrap;
  align-items: baseline;
  margin-top: 1.75rem;
  display: flex;
}

.zr-hero-role {
  color: var(--text-color--neutral-light);
  line-height: 1.6;
}

.zr-hero-role + .zr-hero-role:before {
  content: "|";
  color: var(--text-color--neutral);
  margin: 0 .75rem;
}

/* Intro plays in order: the two lines, each role, then the portrait. */
.zr-home-hero [data-hero-step] {
  opacity: 0;
  transition: opacity .9s var(--zr-ease), transform .9s var(--zr-ease);
}

.zr-hero-text [data-hero-step] {
  transform: translate3d(0, 100%, 0);
}

.zr-hero-role[data-hero-step],
.zr-hero-portrait[data-hero-step] {
  transform: translate3d(0, 1rem, 0);
}

.zr-home-hero [data-hero-step].is-in {
  opacity: 1;
  transform: none;
}

/* Home hero: the About layout (headline bottom left, portrait right) over the gradient video. */
.hero-content.zr-home-hero {
  grid-column-gap: 4rem;
  grid-row-gap: 2rem;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  display: grid;
}

/* The second headline wraps to two lines; room for descenders inside the reveal mask. */
.zr-hero-text .overflow-hide {
  margin-bottom: -.15em;
  padding-bottom: .15em;
}

/* The photo is 3:4. On a short screen the whole frame shrinks with it, so nothing is cropped. */
.zr-hero-portrait .zr-portrait {
  width: min(100%, calc((100svh - 12rem) * 3 / 4));
  margin-left: auto;
}

/* The gradient video waits so the headline and portrait load on their own first. */
.video-wrapper.zr-video-delay {
  opacity: 0;
  transition: opacity 2s var(--zr-ease);
}

.video-wrapper.zr-video-delay.is-in {
  opacity: 1;
}

.zr-story,
.zr-work-intro {
  grid-column: 1 / 10;
}

.zr-portrait {
  aspect-ratio: 3 / 4;
  border-radius: .25rem;
  width: 100%;
  overflow: hidden;
}

.zr-portrait img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

/* The menu's button sits at the width of its text. */
.email-sign-up .button {
  display: inline-flex;
}

/* Footer: the ZR mark and name in the first column, no bottom bar. */
/* A divider above the footer, inset to the content edges, and room below it. */
.container.footer {
  padding-top: 6rem;
  padding-bottom: 5rem;
  position: relative;
}

.container.footer:before {
  content: "";
  background-color: var(--zr-line-faint);
  height: 1px;
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
}

/* Hairlines and pill outlines are a faint white, not the mid grey of the text. */
:root {
  --zr-line: rgba(255, 255, 255, .14);
  --zr-line-faint: rgba(255, 255, 255, .09);
}

.footer .quick-links-wrapper {
  grid-column-gap: 2rem;
  grid-template-rows: auto;
  grid-template-columns: repeat(6, auto);
  justify-content: start;
}

/* Tablet: six links in a row run into the email, so they wrap to two rows of three. */
@media screen and (max-width: 991px) {
  .footer .quick-links-wrapper {
    grid-column-gap: 2rem;
    grid-row-gap: .5rem;
    grid-template-columns: repeat(3, auto);
  }
}

.zr-footer-brand {
  grid-row-gap: 1.25rem;
  flex-direction: column;
  align-items: flex-start;
  display: flex;
}

.zr-footer-brand .footer-logo.zr {
  height: auto;
  max-width: 4.5rem;
}

@media screen and (min-width: 992px) {
  .footer #w-node-_7425cc5c-c4c2-37ee-1182-97eea7a169eb-a7a169e8 {
    grid-area: 1 / 1 / 2 / 4;
  }

  .footer #w-node-_7425cc5c-c4c2-37ee-1182-97eea7a169f1-a7a169e8 {
    grid-area: 1 / 4 / 2 / 10;
  }
}

.zr-footer-brand .mono-text {
  color: var(--text-color--neutral-light);
}

.hover-image-wrapper.zr-card-image {
  aspect-ratio: 16 / 9;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.zr-card-meta {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  display: flex;
}

.zr-tag {
  border: 1px solid var(--zr-line);
  color: var(--text-color--neutral-light);
  border-radius: 80rem;
  padding: .25rem .75rem;
  font-size: .85rem;
}

/* Experience table, in groups: Work, Consulting, Startups, Education. */
.table-row.zr-three {
  grid-template-columns: 1.2fr 1.5fr 2.5fr;
}

.zr-exp-group {
  color: var(--text-color--neutral-light);
  margin: 3.5rem 0 .5rem;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}

.zr-section-head + .zr-exp-group {
  margin-top: 0;
}

/* Two-column section: label on the left, body on the right. */
.zr-col-label {
  grid-column: 1 / 5;
}

.zr-col-body {
  grid-column: 5 / 13;
}

/* Group pages: a label above its section, full width below. */
.zr-stack-body {
  margin-top: 1.5rem;
}

.zr-stack-body .zr-prose {
  max-width: 56rem;
}

/* Case studies. */
.zr-case-hero-image {
  aspect-ratio: 16 / 10;
}

.zr-meta-list {
  grid-column-gap: 2rem;
  grid-row-gap: 1.5rem;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  display: grid;
}

.zr-section-head {
  margin-bottom: 2.5rem;
}

/* Group pages: one compact row per product, a small thumbnail beside the text. */
.zr-products {
  display: grid;
}

.zr-product {
  border-top: 1px solid var(--zr-line-faint);
  grid-column-gap: 2rem;
  grid-row-gap: 1rem;
  grid-template-columns: 11rem minmax(0, 46rem);
  align-items: start;
  padding: 1.75rem 0;
  scroll-margin-top: 6rem;
  display: grid;
  position: relative;
}

a.zr-product {
  color: inherit;
  text-decoration: none;
}

.zr-product-thumb {
  border-radius: .25rem;
  overflow: hidden;
}

.zr-product-thumb img {
  transition: transform .8s var(--zr-ease);
}

a.zr-product:hover .zr-product-thumb img {
  transform: scale(1.04);
}

a.zr-product:hover .zr-product-name {
  color: #5b96fe;
}

.zr-product-thumb img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: .25rem;
  width: 100%;
  display: block;
}

.zr-product-body {
  grid-row-gap: .5rem;
  flex-direction: column;
  display: flex;
}

.zr-product-body p {
  margin: 0;
}

.zr-product-head {
  grid-column-gap: .75rem;
  grid-row-gap: .5rem;
  flex-wrap: wrap;
  align-items: center;
  display: flex;
}

.zr-product-name {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.zr-product-head .zr-tag {
  font-size: .75rem;
}

.zr-product-tagline {
  color: var(--text-color--neutral-light);
}

/* Built with: small cards, a tool logo (or the site's blue square) above the name. */
.zr-built-with {
  grid-column-gap: .75rem;
  grid-row-gap: .75rem;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.zr-tech {
  border: 1px solid #ffffff14;
  background-color: #ffffff05;
  border-radius: .25rem;
  grid-row-gap: .9rem;
  flex-direction: column;
  justify-content: space-between;
  min-height: 5.5rem;
  padding: .9rem 1rem;
  font-size: .9rem;
  line-height: 1.3;
  display: flex;
}

.zr-tech img {
  opacity: .9;
  width: 1.25rem;
  height: 1.25rem;
}

.zr-tech .label-square {
  margin-top: .3rem;
}

/* Product case studies: a wide image, then the heading and details below it. */
.zr-case-back .go-back-button {
  display: inline-flex;
}

.zr-case-wide {
  aspect-ratio: 16 / 9;
  border-radius: .25rem;
  width: 100%;
  max-width: none;
  overflow: hidden;
}

/* A faint line between a case study's intro and its overview. */
.zr-divider > .container {
  position: relative;
}

.zr-divider > .container:before {
  content: "";
  background-color: var(--zr-line-faint);
  height: 1px;
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
}

.zr-case-wide img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.zr-case-head {
  grid-column-gap: 4rem;
  grid-row-gap: 2.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  align-items: start;
  margin-top: 3rem;
  display: grid;
}

/* Case study details: three columns, with the role on a row of its own below them. */
.zr-case-head .zr-meta-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zr-case-head.zr-meeting-head {
  grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
}

.zr-case-head.zr-meeting-head .zr-meta-list {
  grid-template-columns: minmax(0, 1fr);
  grid-row-gap: 1.75rem;
}

.zr-case-head .zr-meta-role {
  grid-column: 1 / -1;
}

.zr-case-head .large-text {
  margin: 1.5rem 0 0;
}

/* The story: long-form text with headings and images. */
.zr-rich {
  max-width: 46rem;
}

/* Case studies: text keeps a readable line length; figures fill the whole content column. */
.zr-col-body .zr-rich {
  max-width: none;
}

.zr-col-body .zr-rich > h3,
.zr-col-body .zr-rich > p,
.zr-col-body .zr-rich > ul,
.zr-col-body .zr-rich > ol,
.zr-col-body .zr-rich figcaption {
  max-width: 46rem;
}

.zr-rich h3 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
}

.zr-rich h3:first-child {
  margin-top: 0;
}

.zr-rich p {
  color: var(--text-color--neutral);
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.zr-rich figure {
  margin: 2rem 0;
}

.zr-rich figure img {
  border-radius: .25rem;
  width: auto;
  max-width: 100%;
  max-height: 32rem;
  display: block;
}

.zr-col-body .zr-rich figure img {
  object-fit: contain;
  object-position: left top;
  width: 100%;
  height: auto;
  max-height: 40rem;
}

.zr-rich figcaption {
  color: var(--text-color--neutral-light);
  margin-top: .75rem;
}

.zr-story-todo {
  border: 1px dashed var(--text-color--neutral-dark);
  border-radius: .25rem;
  grid-row-gap: 1rem;
  flex-direction: column;
  align-items: flex-start;
  max-width: 46rem;
  padding: 2rem;
  display: flex;
}

.zr-story-todo p {
  margin: 0;
}

/* About: the year-by-year timeline. */
.zr-timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.zr-timeline:before {
  content: "";
  background-color: var(--text-color--neutral-dark);
  width: 1px;
  position: absolute;
  top: .5rem;
  bottom: .5rem;
  left: 10.5rem;
}

.zr-timeline-entry {
  grid-column-gap: 3rem;
  grid-template-columns: 9rem 1fr;
  padding-bottom: 2.5rem;
  display: grid;
  position: relative;
}

.zr-timeline-entry:before {
  content: "";
  background-color: var(--primary--blue);
  border-radius: 50%;
  width: .75rem;
  height: .75rem;
  position: absolute;
  top: .45rem;
  left: calc(10.5rem - .375rem);
}

.zr-timeline-year {
  color: var(--text-color--neutral-light);
  text-align: right;
  padding-top: .2rem;
}

.zr-timeline-card {
  grid-row-gap: .5rem;
  flex-direction: column;
  max-width: 44rem;
  padding-left: 1.5rem;
  display: flex;
}

.zr-timeline-card h3,
.zr-timeline-card p {
  margin: 0;
}

.zr-timeline-card .zr-link {
  text-decoration: underline;
}

.zr-highlights {
  grid-column-gap: 1rem;
  grid-row-gap: 1rem;
  grid-template-columns: repeat(3, 1fr);
  display: grid;
}

.zr-highlights-4 {
  grid-template-columns: repeat(4, 1fr);
}

.zr-highlight {
  border-top: 1px solid var(--text-color--neutral-dark);
  grid-row-gap: .75rem;
  flex-direction: column;
  padding-top: 1.25rem;
  padding-bottom: 1.5rem;
  display: flex;
}

.zr-highlight .statistic-number {
  font-size: 3rem;
}

.zr-prose {
  max-width: 46rem;
}

.zr-prose p {
  color: var(--text-color--neutral);
  margin-bottom: 1.5rem;
}

.zr-prose p:last-child {
  margin-bottom: 0;
}

/* About. */
.zr-about-hero {
  grid-column-gap: 4rem;
  grid-row-gap: 2rem;
  grid-template-columns: 1.3fr 1fr;
  align-items: end;
  display: grid;
}

/* Contact. */
.zr-sr-only {
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.form-input.zr-select {
  color: var(--text-color--neutral-light);
  appearance: none;
  background-image: url('../images/wf/68699cdf699bce11fa8680c8_img-accordion-arrow8.svg?v=808d1c7a');
  background-position: right .25rem center;
  background-repeat: no-repeat;
  background-size: 1rem;
  width: 100%;
}

.form-input.zr-select option {
  color: #000;
}

textarea.form-input {
  min-height: 10rem;
  resize: vertical;
}

.zr-optional {
  color: var(--text-color--neutral-dark);
}

.zr-link {
  color: #fff;
  text-underline-offset: 4px;
}

.zr-link:hover {
  color: #5b96fe;
}

/* A dot after the roles I still hold. */
.zr-now {
  background-color: var(--primary--blue, #5b96fe);
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  margin-left: .6rem;
  display: inline-block;
  vertical-align: middle;
  position: relative;
  top: -.1em;
  box-shadow: 0 0 0 0 rgba(91, 150, 254, .6);
  animation: zr-now-pulse 2.4s ease-out infinite;
}

@keyframes zr-now-pulse {
  70%, 100% { box-shadow: 0 0 0 .5rem rgba(91, 150, 254, 0); }
}

/* The home page list shows a smaller cover than the blog page. */
.zr-blog-home .table-row.zr-blog-row.zr-blog-wide {
  grid-template-columns: 9rem minmax(0, 1fr) 8rem;
}

/* Blog: a list like the experience table with the cover at the end, label chips to filter it. */
.table-row.zr-blog-row {
  grid-template-columns: 9rem minmax(0, 1fr) auto 8rem;
  align-items: start;
}

.zr-blog-thumb {
  aspect-ratio: 8 / 5;
  background: #111418;
  border-radius: .25rem;
  width: 100%;
  overflow: hidden;
}

.zr-blog-thumb img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform .8s var(--zr-ease);
  display: block;
}

.zr-blog-row:hover .zr-blog-thumb img {
  transform: scale(1.05);
}

.table-row.zr-blog-row[hidden] {
  display: none;
}

.zr-blog-row .mono-text {
  padding-top: .2rem;
}

.zr-blog-labels {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .4rem;
  display: flex;
}

.zr-blog-excerpt {
  max-width: 44rem;
  margin: .5rem 0 0;
}

/* The /blog list: no label column, so the title and excerpt use the full width. */
.table-row.zr-blog-row.zr-blog-wide {
  grid-template-columns: 9rem minmax(0, 1fr) 11rem;
}

.zr-blog-wide .zr-blog-excerpt {
  max-width: 64rem;
}

/* More writing under a post: titles a step above the post's 1.1rem body text. */
.zr-post .zr-blog-row .zr-blog-title .medium-text {
  font-size: 1.25rem;
  line-height: 1.35;
}

/* Home: a two-line excerpt beside the cover. */
.zr-blog-home .zr-blog-excerpt {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.zr-blog-home .zr-blog-row .zr-blog-date {
  padding-top: .2rem;
}

.zr-blog-loader {
  height: 1px;
}

.zr-blog-more {
  margin-top: 2.5rem;
}

.zr-blog-more .button {
  display: inline-flex;
}

.zr-blog-lead {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

/* The label chips sit right under the intro. */
.container.intro.zr-blog-intro {
  padding-bottom: 2.5rem;
}

.section.zr-blog-filters > .container {
  padding-top: 0;
}

.zr-chips {
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.5rem;
  display: flex;
}

.zr-chip {
  border: 1px solid var(--text-color--neutral-dark);
  color: var(--text-color--neutral-light);
  background: transparent;
  border-radius: 80rem;
  padding: .45rem 1rem;
  font-size: .95rem;
  transition: border-color .2s, color .2s, background-color .2s;
}

.zr-chip span {
  opacity: .6;
  margin-left: .25rem;
}

.zr-chip:hover {
  color: #fff;
  border-color: var(--text-color--neutral-light);
}

.zr-chip.is-active {
  color: #fff;
  background: #3d7ffc;
  border-color: #3d7ffc;
}

.zr-blog-empty {
  margin-top: 2rem;
}

.zr-post {
  max-width: 46rem;
}

.zr-post-labels {
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: 1.25rem;
  display: flex;
}

.zr-post-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.1;
}

.zr-post-meta {
  color: var(--text-color--neutral-light);
  margin: 1.25rem 0 3rem;
}

.zr-post-body h2,
.zr-post-body h3,
.zr-post-body h4 {
  margin: 2.5rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
}

.zr-post-body h4 {
  font-size: 1.25rem;
}

.zr-post-body ul,
.zr-post-body ol {
  color: var(--text-color--neutral);
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.zr-post-body li {
  margin-bottom: .4rem;
}

.zr-post-body blockquote {
  border-left: 3px solid #3d7ffc;
  margin: 1.5rem 0;
  padding-left: 1.25rem;
}

.zr-post-body a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.zr-post-figure {
  margin: 2.5rem 0;
}

.zr-post-figure img {
  border-radius: .25rem;
  width: 100%;
  height: auto;
  display: block;
}

.zr-post-figure figcaption {
  color: var(--text-color--neutral-light);
  margin-top: .75rem;
  font-size: .95rem;
  line-height: 1.5;
}

.zr-post-video {
  aspect-ratio: 16 / 9;
  background: #111418;
  border-radius: .25rem;
  margin: 2.5rem 0;
  overflow: hidden;
}

.zr-post-video iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.zr-post-body a.zr-post-link {
  border: 1px solid var(--text-color--neutral-dark);
  border-radius: .25rem;
  grid-row-gap: .4rem;
  margin: 1rem 0;
  padding: 1rem 1.25rem;
  text-decoration: none;
  transition: border-color .3s var(--zr-ease);
  display: grid;
}

.zr-post-body a.zr-post-link:hover {
  border-color: var(--text-color--neutral-light);
}

@media screen and (max-width: 991px) {
  .zr-story,
  .zr-work-intro,
  .zr-col-label,
  .zr-col-body {
    grid-column: 1 / -1;
  }

  .hero-content.zr-home-hero {
    grid-column-gap: 2rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .zr-highlights-4,
  .zr-highlights-6 {
    grid-template-columns: 1fr 1fr;
  }

  .zr-about-hero,
  .zr-case-head,
  .zr-case-head.zr-meeting-head {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 767px) {
  .zr-page-title {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content.zr-home-hero {
    grid-row-gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  /* First screen on a phone: a small portrait above the headline and roles. */
  .zr-hero-portrait {
    grid-row: 1;
    justify-self: start;
    width: 9.5rem;
  }

  .zr-home-hero h1,
  .zr-home-hero .zr-h1 {
    font-size: 2.25rem;
  }

  .zr-hero-roles {
    grid-row-gap: .25rem;
    flex-direction: column;
    margin-top: 1.25rem;
  }

  .zr-hero-role + .zr-hero-role:before {
    content: none;
  }

  .zr-case-hero-image {
    aspect-ratio: 16 / 9;
    max-height: 12rem;
  }

  .zr-case-hero-image img {
    object-fit: cover;
    height: 100%;
  }

  .container.intro .sticky-grid .left-column {
    margin-bottom: 0;
  }

  .container.intro .right-column-heading {
    grid-row-gap: 1rem;
  }

  .zr-post-title {
    font-size: 1.75rem;
  }

  .zr-about-hero .zr-portrait {
    max-width: 18rem;
  }

  .zr-meta-list,
  .zr-product,
  .zr-highlights-3 {
    grid-template-columns: 1fr;
  }

  .zr-highlight .statistic-number {
    font-size: 2.25rem;
  }

  .footer .quick-links-wrapper {
    grid-column-gap: 1.5rem;
    grid-template-columns: repeat(3, auto);
  }



  .zr-product-thumb {
    max-width: 20rem;
  }

  .container.footer {
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .container.footer:before,
  .zr-divider > .container:before {
    left: 1rem;
    right: 1rem;
  }

  .zr-timeline:before {
    left: .375rem;
  }

  .zr-timeline-entry {
    grid-row-gap: .5rem;
    grid-template-columns: 1fr;
    padding-left: 1.75rem;
  }

  .zr-timeline-entry:before {
    left: 0;
  }

  .zr-timeline-year {
    text-align: left;
  }

  .zr-timeline-card {
    padding-left: 0;
  }

  .table-row.zr-three {
    grid-template-columns: 1fr;
    grid-row-gap: .25rem;
  }

  .table-row.zr-blog-row,
  .table-row.zr-blog-row.zr-blog-wide {
    grid-column-gap: 1rem;
    grid-row-gap: .25rem;
    grid-template-columns: minmax(0, 1fr) 5rem;
    display: grid;
  }

  .zr-blog-row > * {
    grid-column: 1;
  }

  .zr-blog-row > .zr-blog-thumb {
    aspect-ratio: 1;
    grid-area: 1 / 2 / span 3 / 3;
  }

  .zr-blog-labels {
    justify-content: flex-start;
  }

  .zr-blog-home .table-row.zr-blog-row.zr-blog-wide {
    grid-template-columns: minmax(0, 1fr) 4.25rem;
  }

  /* Expertise: one card per row, title left and icon right. The description opens in the card
     on the first tap (see site.js); a second tap follows the link. */
  .card-component-wrapper {
    grid-template-columns: 1fr;
    grid-row-gap: .75rem;
  }

  .card-component {
    min-height: 0;
    padding: 1.25rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    transition: background-color .4s var(--zr-ease);
  }

  .card-front-content {
    flex-flow: row;
    justify-content: space-between;
    align-items: center;
    grid-column-gap: 1rem;
    text-align: left;
    height: auto;
  }

  .card-front-content .medium-large-text {
    font-size: 1.35rem;
    line-height: 1.2;
    text-align: left;
  }

  .card-image {
    flex: none;
    width: 2.5rem;
  }

  .card-component .card-hover {
    background-color: transparent;
    height: auto;
    max-height: 0;
    align-items: center;
    padding: 0;
    text-align: center;
    opacity: 0;
    overflow: hidden;
    position: static;
    transform: none !important;
    grid-row-gap: .5rem;
    transition: max-height .5s var(--zr-ease), opacity .4s var(--zr-ease), padding .5s var(--zr-ease);
  }

  .card-component.is-open {
    background-color: var(--primary--blue);
  }

  .card-component.is-open .card-hover {
    max-height: 16rem;
    opacity: 1;
    padding-top: 1rem;
  }
}

/* Contact: the public meetings as cards above the form, labelled like the form's column. */
.zr-contact-meet {
  grid-row-gap: 1.5rem;
  margin-bottom: 4.5rem;
}

.zr-contact-meet-label {
  grid-column: 1 / 4;
}

.zr-contact-meet-cards {
  grid-row-gap: 1rem;
  grid-column: 4 / 13;
  display: grid;
}

a.zr-meet-card {
  grid-column-gap: 2rem;
  grid-row-gap: 1.25rem;
  background-color: var(--primary--charcoal);
  border: 1px solid var(--text-color--neutral-dark);
  color: inherit;
  border-radius: .5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding: 1.75rem 2rem;
  text-decoration: none;
  transition: border-color .3s var(--zr-ease);
  display: grid;
}

a.zr-meet-card:hover {
  border-color: var(--text-color--neutral-light);
}

.zr-meet-card-name {
  margin: 0 0 .5rem;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.zr-meet-card-body p {
  max-width: 34rem;
  margin: 0 0 1rem;
}

.zr-meet-card-cta {
  grid-column-gap: 1rem;
  white-space: nowrap;
  align-items: center;
  display: flex;
}

.zr-meet-card-cta .team-arrow-block {
  position: static;
}

a.zr-meet-card:hover .team-arrow-icon {
  transform: rotate(45deg);
}

.zr-meet-card .team-arrow-icon {
  transition: transform .5s var(--zr-ease);
}

@media screen and (max-width: 991px) {
  .zr-contact-meet-label,
  .zr-contact-meet-cards {
    grid-column: 1 / -1;
  }
}

@media screen and (max-width: 767px) {
  .zr-contact-meet {
    margin-bottom: 2.5rem;
  }

  a.zr-meet-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.25rem;
  }

  .zr-meet-card-name {
    font-size: 1.3rem;
  }
}

.zr-meeting-facts {
  grid-column-gap: .5rem;
  grid-row-gap: .5rem;
  flex-wrap: wrap;
  display: flex;
}

.zr-meeting-more {
  margin-top: 1rem;
}

/* Booking: calendar and times side by side in one panel, then the form (styled like /contact). */
.zr-book {
  background-color: var(--primary--charcoal);
  border: 1px solid var(--text-color--neutral-dark);
  border-radius: .5rem;
  padding: 2rem;
}

.zr-book [hidden] {
  display: none !important;
}

.zr-book-grid {
  grid-column-gap: 3rem;
  grid-row-gap: 2rem;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  display: grid;
}

.zr-book-lengths {
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 1.75rem;
  display: flex;
}

.zr-book-slot,
.zr-cal-nav button {
  color: #fff;
  cursor: pointer;
  background: none;
  border: 1px solid var(--text-color--neutral-dark);
  font-family: inherit;
  transition: border-color .2s, background-color .2s, color .2s;
}

.zr-book-slot:hover,
.zr-cal-nav button:hover:not(:disabled) {
  border-color: var(--text-color--neutral-light);
}

.zr-book-slot.is-selected {
  background-color: #3d7ffc;
  border-color: #3d7ffc;
}

.zr-cal-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  display: flex;
}

.zr-cal-title {
  font-size: 1.35rem;
  font-weight: 500;
}

.zr-cal-nav {
  gap: .5rem;
  display: flex;
}

.zr-cal-nav button {
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  font-size: 1rem;
  display: flex;
}

.zr-cal-nav button:disabled {
  cursor: default;
  opacity: .3;
}

.zr-cal-grid {
  gap: .3rem;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  display: grid;
  transition: opacity .3s var(--zr-ease);
}

.zr-book.is-loading .zr-cal-grid,
.zr-book.is-loading .zr-book-slots {
  opacity: .45;
}

.zr-cal-dow {
  text-align: center;
  padding-bottom: .4rem;
  font-size: .75rem;
}

.zr-book-section > .container {
  padding-top: 0;
}

.zr-cal-day {
  color: var(--text-color--neutral-dark);
  background: none;
  border: 1px solid #0000;
  border-radius: 50%;
  justify-self: center;
  width: 100%;
  max-width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  font-family: inherit;
  font-size: 1rem;
  position: relative;
  transition: border-color .2s, background-color .2s;
}

.zr-cal-day.is-open {
  color: #fff;
  cursor: pointer;
  border-color: var(--text-color--neutral-dark);
}

.zr-cal-day.is-open:hover {
  border-color: var(--text-color--neutral-light);
}

.zr-cal-day.is-selected {
  background-color: #3d7ffc;
  border-color: #3d7ffc;
}

.zr-cal-day.is-today:after {
  content: "";
  background-color: currentColor;
  border-radius: 50%;
  width: .25rem;
  height: .25rem;
  position: absolute;
  bottom: .3rem;
  left: calc(50% - .125rem);
}

.zr-book-tz {
  grid-column-gap: 1rem;
  border-top: 1px solid var(--text-color--neutral-dark);
  align-items: center;
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  font-weight: 400;
  display: flex;
}

.zr-book-tz .mono-text {
  flex: none;
}

.zr-book-tz .form-input {
  color: #fff;
  cursor: pointer;
  border-bottom: 0;
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  margin-bottom: 0;
  padding: .25rem 0;
  font-size: 1rem;
  font-weight: 400;
}

.zr-book-tz option {
  color: #000;
}

.zr-book-day {
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 2.25rem;
}

.zr-book-slots {
  gap: .5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  max-height: 22rem;
  overflow: auto;
  display: grid;
  transition: opacity .3s var(--zr-ease);
}

.zr-book-slots p {
  grid-column: 1 / -1;
  margin: 0;
}

.zr-book-slot {
  border-radius: 80rem;
  padding: .65rem .5rem;
  font-size: .95rem;
}

.zr-book-form {
  border-top: 1px solid var(--text-color--neutral-dark);
  margin-top: 2rem;
  padding-top: 2rem;
  position: relative;
}

.zr-book-chosen {
  grid-column-gap: 1.5rem;
  grid-row-gap: .5rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  margin-bottom: 1.5rem;
  display: grid;
}

.zr-book-when-main {
  font-size: 1.25rem;
  font-weight: 500;
}

.zr-book-when-sub {
  color: var(--text-color--neutral-light);
  margin-top: .25rem;
}

.zr-book-fields {
  grid-column-gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.zr-book-fields .form-input {
  color: #fff;
  margin-bottom: 1.25rem;
}

.zr-book-wide {
  grid-column: 1 / -1;
}

.zr-book-fields textarea.form-input {
  min-height: 7rem;
}

.zr-book-hp {
  opacity: 0;
  width: 1px;
  height: 1px;
  position: absolute;
  left: -9999px;
}

.zr-book-error {
  color: #ff8a8a;
  margin: 0 0 1rem;
}

.zr-book-submit {
  color: #fff;
  cursor: pointer;
  border: 0;
  padding: .85rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
}

.zr-book-submit:disabled {
  cursor: default;
  opacity: .6;
}

.zr-book-back {
  color: var(--text-color--neutral-light);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.zr-book-back:hover {
  color: #5b96fe;
}

.zr-book-done h3 {
  margin: 0 0 .75rem;
  font-size: 1.75rem;
  font-weight: 500;
}

.zr-book-done p {
  max-width: 40rem;
  margin: 0 0 .75rem;
}

.zr-book-done-more {
  margin-top: 1.25rem;
}

/* No times to show: the calendar gives way to two plain ways forward. */
.zr-book.is-unavailable .zr-book-grid,
.zr-book.is-unavailable .zr-book-form {
  display: none;
}

.zr-book-fallback p {
  max-width: 34rem;
  margin: 0 0 1.5rem;
}

.zr-book-fallback-actions {
  flex-wrap: wrap;
  gap: 1rem;
  display: flex;
}

.zr-book-fallback .zr-button-quiet {
  background-color: #0000;
  border: 1px solid var(--text-color--neutral-dark);
}

@media screen and (max-width: 767px) {
  .zr-book {
    padding: 1.25rem;
  }

  .zr-book-grid,
  .zr-book-fields {
    grid-template-columns: minmax(0, 1fr);
  }

  .zr-book-slots {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-height: none;
  }

  .zr-cal-grid {
    gap: .2rem;
  }

  .zr-cal-day {
    max-width: 2.5rem;
    height: 2.5rem;
  }

  .zr-book-chosen {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .zr-book-chosen .mono-text {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0s !important;
    animation-duration: 0s !important;
  }

  .zr-home-hero [data-hero-step],
  .video-wrapper.zr-video-delay {
    opacity: 1;
    transform: none;
  }
}

/* About: three talks as a collage, one large photo beside two stacked ones. */
.zr-collage {
  grid-column-gap: .75rem;
  grid-row-gap: .75rem;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  aspect-ratio: 2.02 / 1;
  display: grid;
}

.zr-collage figure {
  border-radius: .25rem;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}

.zr-collage img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.zr-collage-1 {
  grid-row: 1 / span 2;
}

@media screen and (max-width: 767px) {
  .zr-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    aspect-ratio: auto;
  }

  .zr-collage-1 {
    grid-column: 1 / span 2;
    grid-row: 1;
    aspect-ratio: 4 / 3;
  }

  .zr-collage-2,
  .zr-collage-3 {
    aspect-ratio: 4 / 3;
  }
}
