/* main.css */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  font-size: var(--default-font-size);
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-xl-2xl);
}
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}
ul,
ol {
  list-style: none;
}
body {
  position: relative;
  min-height: 100vh;
  padding: 0;
  margin: 0;
}
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: var(--smaller-line-height);
}
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}
img,
picture {
  max-width: 100%;
  display: block;
}
input,
button,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}
textarea:not([rows]) {
  min-height: 10em;
}
:target {
  scroll-margin-block: 5ex;
}
:root {
  --color-primary: #da1e28;
  --color-secondary: #fa4d56;
  --color-text: #161616;
  --color-text-light: #f4f4f4;
  --color-text-highlight: #ff832b;
  --color-text-highlight-light: #fbc39b;
  --color-text-inactive: #999;
  --color-pagination-active: #999;
  --color-background: #fff;
  --color-background-light: #f4f4f4;
  --color-highlight-background: #ffd4b5;
  --color-dark-background: #323232;
  --color-border-light: #e0e0e0;
  --color-border: #393939;
  --color-shadow: rgba(57, 57, 57, 0.1);
  --glass-background: rgba(255, 255, 255, 0.15);
  --glass-background-light: rgba(255, 255, 255, 0.85);
  --glass-backdrop-filter: blur(2px) saturate(180%);
  --glass-border: 1px solid rgba(255, 255, 255, 0.8);
  --glass-border-radius: 1rem;
  --glass-box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), inset 0 4px 20px rgba(255, 255, 255, 0.3);
  --font-xs: clamp(0.6944rem, 0.6118rem + 0.3307vw, 0.8681rem);
  --font-s: clamp(0.8333rem, 0.7341rem + 0.3968vw, 1.0417rem);
  --font-p: clamp(1rem, 0.881rem + 0.4762vw, 1.25rem);
  --font-h5: clamp(1.2rem, 1.0571rem + 0.5714vw, 1.5rem);
  --font-h4: clamp(1.44rem, 1.2686rem + 0.6857vw, 1.8rem);
  --font-h3: clamp(1.728rem, 1.5223rem + 0.8229vw, 2.16rem);
  --font-h2: clamp(2.0736rem, 1.8267rem + 0.9874vw, 2.592rem);
  --font-h1: clamp(2.4883rem, 2.1921rem + 1.1849vw, 3.1104rem);
  --font-xl: clamp(2.986rem, 2.6305rem + 1.4219vw, 3.7325rem);
  --space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
  --space-2xs: clamp(0.5625rem, 0.5408rem + 0.1087vw, 0.625rem);
  --space-xs: clamp(0.875rem, 0.8533rem + 0.1087vw, 0.9375rem);
  --space-s: clamp(1.125rem, 1.0815rem + 0.2174vw, 1.25rem);
  --space-m: clamp(1.6875rem, 1.6223rem + 0.3261vw, 1.875rem);
  --space-l: clamp(2.25rem, 2.163rem + 0.4348vw, 2.5rem);
  --space-xl: clamp(3.375rem, 3.2446rem + 0.6522vw, 3.75rem);
  --space-2xl: clamp(4.5rem, 4.3261rem + 0.8696vw, 5rem);
  --space-3xl: clamp(6.75rem, 6.4891rem + 1.3043vw, 7.5rem);
  --space-4xl: clamp(9rem, 8.6522rem + 1.7391vw, 10rem);
  --space-3xs-2xs: clamp(0.3125rem, 0.2038rem + 0.5435vw, 0.625rem);
  --space-2xs-xs: clamp(0.5625rem, 0.4321rem + 0.6522vw, 0.9375rem);
  --space-xs-s: clamp(0.875rem, 0.7446rem + 0.6522vw, 1.25rem);
  --space-s-m: clamp(1.125rem, 0.8641rem + 1.3043vw, 1.875rem);
  --space-m-l: clamp(1.6875rem, 1.4049rem + 1.413vw, 2.5rem);
  --space-l-xl: clamp(2.25rem, 1.7283rem + 2.6087vw, 3.75rem);
  --space-xl-2xl: clamp(3.375rem, 2.8098rem + 2.8261vw, 5rem);
  --space-2xl-3xl: clamp(4.5rem, 3.4565rem + 5.2174vw, 7.5rem);
  --space-3xl-4xl: clamp(6.75rem, 5.6196rem + 5.6522vw, 10rem);
  --space-s-l: clamp(1.125rem, 0.6467rem + 2.3913vw, 2.5rem);
  --space-l-2xl: clamp(2rem, 0.5714rem + 5.7143vw, 5rem);
  --font-primary: "Open Sans", sans-serif;
  --font-heading: "Montserrat", sans-serif;
  --default-font-weight: 300;
  --default-line-height: 1.5;
  --smaller-line-height: 1;
  --container-width: 1024px;
  --gutter: var(--space-s-l);
  --default-border-width: 0.2rem --transition-base: 400ms ease-in-out;
  --transition-movement: 200ms linear;
  --transition-fade: 500ms ease;
  --transition-bounce: 500ms cubic-bezier(0.5, 0.05, 0.2, 1.5);
  --tracking: -0.05ch;
  --tracking-s: -0.075ch;
  --light-screen: rgba(255, 255, 255, 0.9);
  --dark-screen: rgba(0, 0, 0, 0.6);
}
body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  font-family: var(--font-primary);
  font-size: var(--font-p);
  font-weight: var(--default-font-weight);
  line-height: var(--default-line-height);
  letter-spacing: var(--tracking);
  color: var(--color-text);
  padding-top: var(--space-2xl-3xl);
  background-color: var(--color-background);
}
.container {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  height: 100%;
  max-width: var(--wrapper-max-width, 85rem);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: var(--default-font-weight);
  line-height: var(--smaller-line-height);
}
h1 {
  font-size: var(--font-h1);
}
h2 {
  font-size: var(--font-h2);
}
h3 {
  font-size: var(--font-h3);
}
h1,
h2,
h3 {
  max-width: 40ch;
}
.lead-in {
  font-size: var(--font-xs);
  font-weight: 500;
  letter-spacing: var(--tracking-s);
  text-transform: uppercase;
  color: var(--color-text-highlight);
}
.is-dark .lead-in {
  color: var(--color-text-highlight-light);
}
.lead-in + :is(h1, h2, h3, h4) {
  margin-block-start: 0.5rem;
}
:is(h1, h2, h3, h4) + .sub-title {
  margin-top: var(--space-xs-s);
}
a {
  text-decoration: none;
  color: var(--color-primary);
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fade);
  &:hover {
    border-bottom-color: var(--color-primary);
  }
}
.glass-background {
  position: relative;
  isolation: isolate;
  box-shadow: 0px 6px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(1px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  &::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    box-shadow: inset 0 0 20px -5px rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
  }
  &::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(8px);
    isolation: isolate;
  }
}
svg {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  color: var(--color-primary);
}
.to-top {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  opacity: 0;
  z-index: 1000;
  transition: opacity var(--transition-fade);
  text-decoration: none;
  width: 3rem;
  height: 3rem;
  padding: 0.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  overflow: hidden;
  svg {
    width: 100%;
    height: 100%;
    stroke-width: 1px;
  }
}
.scrolling .to-top {
  opacity: 0.5;
  &:hover {
    opacity: 1;
    border: none;
    svg {
      stroke-width: 2px;
    }
  }
}
.flow {
  & * {
    margin-top: 0;
  }
  & > * + * {
    margin-top: var(--flow-space, 1em);
  }
}
.author-date {
  display: flex;
  flex-wrap: wrap;
  font-size: var(--font-xs);
  color: var(--color-text-inactive);
  margin-top: var(--space-s);
  &:before {
    content: "By ";
    margin-right: 0.25em;
  }
  .author::after {
    content: " | ";
    margin: 0 var(--space-2xs);
  }
  &.is-vertical {
    .author,
    time {
      display: block;
    }
    time {
      flex: 0 0 100%;
    }
    .author::after {
      content: "";
      margin: 0;
    }
  }
}
.blogs-pagination {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin: 2rem auto;
  padding: 0;
  li {
    width: 2rem;
    height: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0.625rem;
    border: 1px solid #f0f0f0;
    a {
      border: none;
    }
    &:hover {
      background-color: var(--color-background-light);
      cursor: pointer;
    }
    &.active {
      background-color: var(--color-pagination-active);
      cursor: default;
      pointer-events: none;
      span {
        color: var(--color-text-light);
      }
    }
    &.disabled {
      opacity: 0.5;
      cursor: not-allowed;
      pointer-events: none;
    }
  }
}
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: var(--space-2xs) 0;
}
.brand .home-link img {
  width: var(--space-l-xl);
  height: auto;
  transform: scale(1);
  transition: transform 250ms ease;
}
.brand .home-link:hover img {
  transform: scale(1.05);
}
.breadcrumbs {
  position: absolute;
  top: var(--space-2xl-3xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 100%;
  max-width: var(--wrapper-max-width, 85rem);
  margin: 0 auto var(--space-s-l);
  padding-left: var(--gutter);
  display: flex;
  gap: var(--space-s);
  list-style: none;
  font-family: var(--font-primary);
  li {
    font-size: var(--font-xs);
    text-transform: uppercase;
    transition: color var(--transition-fast);
    &:after {
      content: "\203a";
      margin-left: var(--space-s);
      color: var(--color-primary);
    }
    a {
      color: var(--color-primary);
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: border-color var(--transition-fade);
    }
    &:last-child {
      color: var(--color-text-inactive);
      font-weight: 600;
      &::after {
        display: none;
      }
    }
    a:hover {
      text-decoration: none;
      border-bottom-color: var(--color-primary);
    }
  }
}
.is-dark .breadcrumbs {
  li:after {
    color: var(--color-text-highlight-light);
  }
  a {
    color: var(--color-text-highlight-light);
    border-bottom-color: var(--color-text-highlight-light);
  }
}
.simple-card {
  position: relative;
  max-width: 30rem;
  color: var(--color-text);
  background-color: var(--glass-background);
  border: 1px solid var(--color-border-light);
  border-radius: var(--space-2xs-xs);
  overflow: hidden;
  box-shadow: var(--glass-box-shadow);
  transition: all 0.3s ease-in-out;
  &:hover {
    cursor: pointer;
    transform: scale(1.05);
  }
  a {
    color: inherit;
    text-decoration: none;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    &:after {
      background: none;
      display: none;
    }
  }
  .image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }
  }
  .text-wrapper {
    flex-grow: 1;
    margin-block-start: 10rem;
    padding: var(--space-s-m) var(--space-s-m);
    background-color: var(--glass-background-light);
  }
  .title {
    font-size: var(--font-h5);
    text-transform: uppercase;
    color: var(--color-text);
  }
  .prose {
    font-size: var(--font-p);
    margin-block: var(--space-s-m) 0;
  }
}
.ctas {
  --flow-space: var(--space-m-l);
}
.cta-banner .ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  > * {
    flex: 0 0 auto;
    margin-top: 0;
  }
}
.cta {
  font-size: var(--font-s);
  text-decoration: none;
  text-transform: uppercase;
  & + .cta {
    margin-left: var(--space-m-l);
  }
}
.cta.button {
  display: inline-block;
  text-align: center;
  padding: var(--space-2xs-xs) var(--space-s-m);
  transition: all 0.3s ease-in-out;
  font-weight: 500;
  letter-spacing: var(--default-letter-spacing);
  color: var(--color-text-light);
  background: rgba(218, 30, 40, 0.8);
  backdrop-filter: var(--glass-backdrop-filter);
  isolation: isolate;
  box-shadow: var(--glass-box-shadow);
  border-radius: 0.5rem;
  &:hover {
    transform: scale(1.05);
  }
  &.small {
    padding: 0.5rem 1.5rem;
    font-size: var(--font-xs);
  }
  &:focus {
    outline: 2px solid var(--color-text-light);
    outline-offset: 2px;
    box-shadow: var(--glass-box-shadow), 0 0 0 4px rgba(255, 255, 255, 0.3);
  }
}
.cta.link {
  display: inline-block;
  font-size: var(--font-s);
  transition: all 0.3s ease-in-out;
  &:hover {
    border-bottom-color: currentColor;
  }
  &:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-bottom-color: currentColor;
  }
}
.flip-card,
.flip-card-back {
  position: absolute;
  height: 100%;
  padding: var(--space-s-l);
  background-color: var(--color-background);
  border: 1px solid var(--color-border-light);
  color: var(--color-text);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  .lead-in {
    font-size: 0.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
  .prose {
    font-size: 1rem;
  }
  .flip-icon {
    position: absolute;
    display: block;
    top: 1rem;
    right: 1rem;
    width: 2rem;
    height: 2rem;
    svg {
      width: 100%;
      height: 100%;
      stroke: var(--color-text-light);
    }
  }
  .icon {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
  }
  svg {
    width: 4rem;
    height: 4rem;
    stroke: var(--color-border);
    g,
    path {
      fill: #fff;
    }
  }
}
.flip-card-back {
  background-color: var(--color-dark-background);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  p,
  h1,
  h2,
  h3,
  h4 {
    color: var(--color-text-light);
  }
}
.flip-card-wrapper.flip .flip-card {
  transform: rotateY(180deg);
}
.flip-card-wrapper.flip .flip-card-back {
  transform: rotateY(0deg);
}
.image {
  position: relative;
  overflow: hidden;
  picture,
  .responsive-wrapper {
    display: block;
    width: 100%;
    height: 100%;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    font-size: var(--font-xs);
    padding: var(--space-xs);
    color: #ccc;
  }
}
.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1000;
  position: relative;
}
.hamburger-menu span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--color-primary);
  margin: 5px 0;
  transition: all var(--transition-base);
  border-radius: 2px;
}
.hamburger-menu span:first-child {
  margin-top: 0;
}
.hamburger-menu span:last-child {
  margin-bottom: 0;
}
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}
.main-menu {
  display: flex;
  justify-content: flex-end;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: var(--space-s);
}
.main-menu a {
  color: inherit;
  padding-block-start: var(--space-xs);
}
@media (max-width: 767px) {
  .hamburger-menu {
    display: block;
  }
  .main-menu {
    display: flex;
    position: absolute;
    top: 105%;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: var(--color-background);
    flex-direction: column;
    align-items: center;
    box-shadow: 0 5px 10px var(--color-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5rem);
    transition:
      opacity 0.3s ease,
      transform 0.3s ease,
      visibility 0s 0.3s;
  }
  .main-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .main-menu li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--color-border-light);
  }
  .main-menu li:last-child {
    border-bottom: none;
  }
  .main-menu a:hover {
    transform: none;
  }
}
.main-menu li.active a,
.main-menu a.active {
  color: var(--color-link-inactive) !important;
  pointer-events: none;
  cursor: default;
}
.main-menu li.active-path a,
.main-menu a.active-path {
  color: var(--color-link-in-path) !important;
}
.slider-pagination {
  padding: 0;
  margin: 0;
  position: absolute;
  z-index: 1000;
  bottom: -3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem;
    width: 1.5rem;
    border-radius: 50%;
    font-size: 0.8rem;
    color: var(--color-text);
    background: var(--color-border-light);
    border: none;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    &:hover {
      background: var(--color-primary-light, var(--color-primary));
      transform: scale(1.1);
    }
    &.active {
      background: var(--color-primary);
      color: white;
      cursor: default;
    }
  }
  &.is-tabs {
    position: static;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--space-m);
    button {
      width: auto;
      border-radius: 0.5rem;
      padding-inline: 2rem;
    }
  }
}
.is-centered {
  text-align: center;
  max-width: 100%;
}
.prose {
  & > * + * {
    margin-top: var(--flow-space, 1em);
  }
  ul,
  ol {
    list-style: revert;
    padding-left: 1.5em;
    margin-top: var(--space-xs-s);
  }
  ul {
    list-style-type: disc;
  }
  ol {
    list-style-type: decimal;
  }
  li {
    margin-bottom: var(--space-2xs);
  }
  blockquote {
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-s);
    margin-left: 0;
    font-style: italic;
    color: var(--color-text-inactive);
  }
  code {
    font-family: "Courier New", monospace;
    font-size: 0.9em;
    background-color: var(--color-background-light);
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
  }
  pre {
    overflow-x: auto;
    padding: var(--space-s);
    background-color: var(--color-dark-background);
    border-radius: 0.5rem;
    code {
      background: none;
      padding: 0;
      color: var(--color-text-light);
    }
  }
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-s);
  }
  th,
  td {
    padding: var(--space-2xs) var(--space-xs);
    border: 1px solid var(--color-border-light);
    text-align: left;
  }
  th {
    background-color: var(--color-background-light);
    font-weight: 500;
  }
  hr {
    border: none;
    height: 1px;
    background-color: var(--color-border-light);
    margin: var(--space-m) 0;
  }
  img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
  }
  strong {
    font-weight: 600;
  }
  em {
    font-style: italic;
  }
}
.is-dark .prose {
  blockquote {
    border-left-color: var(--color-primary-light, var(--color-primary));
    color: var(--color-text-light);
  }
  code {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-text-light);
  }
  th {
    background-color: rgba(255, 255, 255, 0.1);
  }
  th,
  td {
    border-color: rgba(255, 255, 255, 0.2);
  }
  hr {
    background-color: rgba(255, 255, 255, 0.2);
  }
}
.section-wrapper .banner {
  --threshold: 60rem;
  &.content {
    max-width: var(--threshold);
    margin: 0 auto;
    text-align: center;
  }
}
.accordion-header {
  cursor: pointer;
  h2:after,
  h3:after {
    content: "+";
  }
  &.is-open {
    h2:after,
    h3:after {
      content: "-";
    }
  }
}
.accordion-content {
  max-height: 1000px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  &.is-closed {
    max-height: 0;
    padding-block: 0;
  }
}
.section-wrapper .blog-author {
  --threshold: 50ch !important;
  row-gap: var(--content-gap, 2rem);
  padding: var(--space-l-2xl);
  overflow: hidden;
  border: 1px solid #f0f0f0;
  border-radius: var(--glass-border-radius);
  .author-profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 20rem;
    margin-inline: auto;
    text-align: center;
    .portrait {
      width: 10rem;
      height: 10rem;
      border-radius: 50%;
      overflow: hidden;
      border: 3px solid var(--color-border-light);
      margin-bottom: var(--space-s);
      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
      }
    }
    .title {
      margin-top: 0;
    }
    .social-links {
      padding: 0;
      margin: 0;
      display: flex;
      gap: var(--space-s);
      margin-block-start: var(--space-s);
      svg {
        stroke: black;
        stroke-width: 1px;
        fill: none;
        width: 100%;
        height: 100%;
        transition: all 0.3s ease-in-out;
        &.wikipedia {
          position: relative;
          top: 3px;
          * {
            fill: black;
          }
        }
        * {
          fill: none;
          stroke: black;
          stroke-width: 1px;
          transition: all 0.3s ease-in-out;
        }
      }
      a {
        border: none;
      }
      a:hover {
        border: none;
        svg {
          stroke: var(--color-primary);
          * {
            stroke: var(--color-primary);
          }
          &.wikipedia {
            * {
              fill: red;
            }
          }
        }
      }
    }
  }
  .author-bio {
    flex-grow: 2 !important;
    max-width: 65ch;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  &.is-reverse {
    .author-bio {
      order: -1;
    }
  }
}
.blog-list {
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-navigation {
  display: flex;
  justify-content: center;
  gap: var(--space-l-2xl);
  flex-wrap: wrap;
}
.blog-nav-link {
  display: inline-block;
  text-decoration: none;
  &.blog-nav-next {
    text-align: right;
  }
}
.section-wrapper {
  position: relative;
  margin-block-start: var(--section-space, var(--space-l-2xl));
  margin-block-end: var(--section-space, var(--space-l-2xl));
  &:first-child {
    margin-block-start: 0;
  }
  padding: var(--section-padding, var(--space-s-l));
  &.no-top-margin {
    margin-block-start: 0;
  }
  &.no-bottom-margin {
    margin-block-end: 0;
  }
  &.in-container {
    max-width: var(--wrapper-max-width, 85rem);
    margin-inline: auto;
  }
  &.is-dark {
    color: var(--color-text-light);
  }
  &.first-section {
    margin-top: calc(-1 * (var(--space-2xl-3xl)));
    padding-top: var(--space-3xl-4xl);
    &.demo {
      margin-top: var(--section-space, var(--space-l-2xl));
    }
  }
  &.merge-with-next {
    margin-bottom: calc(-1 * var(--space-xl-2xl));
    .text {
      margin-bottom: var(--space-xl-2xl);
    }
  }
  &.full-screen {
    margin-top: calc(-1 * (var(--space-2xl-3xl)));
    margin-bottom: var(--space-2xl-3xl);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 100vh;
    position: relative;
    .container {
      position: static;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
    }
  }
  &.no-top-padding {
    padding-block-start: 0;
  }
  &.no-bottom-padding {
    padding-block-end: 0;
  }
  .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
    z-index: -1;
  }
  &.has-dark-screen .background-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-screen);
    z-index: -2;
  }
  &.has-light-screen .background-image:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--light-screen);
    z-index: -2;
  }
  .content {
    --threshold: 60rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: var(--content-gap, 2rem);
    row-gap: 0;
    > * {
      flex-grow: 1;
      flex-basis: calc((var(--threshold) - 100%) * 999);
      align-self: stretch;
    }
    &.is-reverse {
      flex-direction: row-reverse;
    }
    .leadin,
    .title,
    .sub-title,
    .prose {
      max-width: 80ch;
      margin-inline: auto;
    }
  }
  &.no-top-padding .text {
    padding-block-start: var(--section-padding, var(--space-s-l));
  }
  &.no-bottom-padding .text {
    padding-block-end: var(--section-padding, var(--space-s-l));
  }
}
.align-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--color-primary, #007acc);
  color: white;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
}
.text-image-cta {
  .text {
    flex-grow: 2;
  }
  .image,
  .ctas {
    flex-grow: 1;
  }
  .ctas {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-block: var(--space-xl-2xl);
  }
}
.image-gallery {
}
.hero-cta .content {
  container-type: inline-size;
  opacity: 1;
  box-shadow: 0 2px 4px var(--color-shadow);
  border-radius: var(--space-2xs-xs);
  overflow: hidden;
  background-color: var(--color-text-highlight-light);
  .column.image {
    flex-grow: 1;
  }
  .column.text {
    flex-grow: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-s-l);
  }
  .column.ctas {
    flex-grow: 1;
    padding-block: var(--space-xl-2xl);
  }
}
@container (max-width: 60rem) {
  .hero-cta .content .column.image {
    display: none;
  }
}
.flip-cards {
  --threshold: 20rem;
  .flip-cards-list {
    padding: 0;
    margin: 0;
    width: 100%;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 1rem;
    > * {
      height: 30rem;
      width: 18rem;
      background-color: transparent;
      perspective: 1000px;
    }
  }
  .ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-m-l);
    margin-top: auto;
    * {
      margin: 0;
    }
  }
}
footer {
  background: var(--color-dark-background);
  padding: var(--space-s-l);
  font-size: 1rem;
  color: #fff;
  margin-top: auto;
  box-shadow: 0 -2px 4px var(--color-shadow);
  a {
    color: #fff;
    text-decoration: underline;
    transition: opacity var(--transition-fade);
    &:hover {
      opacity: 0.8;
    }
  }
}
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 2px 4px var(--color-shadow);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(5px);
  .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
  }
}
.section-wrapper.first-section .hero {
  --hero-text-width: calc(100% - clamp(0px, calc((100vw - 600px) * 2), 40%));
  .background-image {
    background-size: cover;
  }
  .text {
    width: var(--hero-text-width);
    padding: var(--space-s-l);
    border-radius: var(--space-2xs-xs);
    overflow: hidden;
  }
  .full-screen {
    position: absolute;
    bottom: 2rem;
    left: 55%;
    transform: translateX(-50%);
    border: none;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0.3rem;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    svg {
      width: 100%;
      height: 100%;
      stroke-width: 1px;
    }
    &:hover {
      svg {
        stroke-width: 2px;
      }
    }
    &:focus {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  &.is-reverse .text {
    margin-left: auto;
  }
}
.logos-wrapper {
  --logo-padding: 20px;
  --list-height: 160px;
  --start-position: 0%;
  --end-position: -50%;
  --animation-speed: 15s;
  position: relative;
}
@keyframes marquee {
  0% {
    transform: translate3d(var(--start-position, 0%), 0, 0);
  }
  100% {
    transform: translate3d(var(--end-position, -50%), 0, 0);
  }
}
.marquee {
  width: var(--list-width);
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
}
.mask {
  &:has(.play):before,
  &:has(.play):after {
    content: "";
    position: absolute;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 15rem;
    height: 100%;
    pointer-events: none;
    background-image:
      linear-gradient(
        to right,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.95) 20%,
        rgba(255, 255, 255, 0.8) 40%,
        rgba(255, 255, 255, 0.4) 60%,
        rgba(255, 255, 255, 0.1) 80%,
        transparent 100%);
  }
  &:has(.play):after {
    left: auto;
    right: 0;
    background-image:
      linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 255, 255, 0.4) 40%,
        rgba(255, 255, 255, 0.8) 60%,
        rgba(255, 255, 255, 0.95) 80%,
        rgba(255, 255, 255, 1) 100%);
  }
}
.logos-wrapper {
  width: fit-content;
  display: flex;
  position: relative;
  transform: translate3d(var(--start-position, 0%), 0, 0);
  animation: marquee var(--animation-speed) linear infinite;
  animation-play-state: paused;
  &.play {
    animation-play-state: running;
  }
}
.hint {
  font-style: italic;
  font-size: 1.2rem;
}
.marquee:hover .logos-wrapper {
  animation-play-state: paused;
  transition-duration: 0.8s;
}
.logos {
  display: flex;
  width: var(--list-width);
  padding: 0;
  margin: 0;
  li {
    padding: 0 var(--logo-padding);
    .icon-wrapper {
      width: 100%;
    }
    svg {
      stroke: black;
      stroke-width: 1px;
      fill: none;
      width: 100%;
      height: 100%;
      transition: all 0.3s ease-in-out;
      * {
        fill: none;
        stroke: black;
        stroke-width: 1px;
      }
    }
    a:hover svg {
      stroke: var(--color-primary);
      * {
        stroke: var(--color-primary);
      }
    }
  }
  a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border: none;
    &:hover {
      text-decoration: none;
    }
  }
  img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
    &:hover {
      filter: grayscale(0);
      opacity: 1;
    }
  }
}
.is-reverse {
  .logo-wrapper {
    @media (max-width: $tablet-width-portrait) {
      flex-direction: row-reverse;
    }
  }
  .logos-wrapper.play {
    animation-direction: reverse;
  }
}
.section-wrapper {
  .media-image {
    &.content {
      --threshold: 50rem;
      column-gap: 0;
      container-type: inline-size;
      .text {
        background-color: var(--glass-background);
        box-shadow: var(--glass-box-shadow);
        backdrop-filter: var(--glass-backdrop-filter);
        border: var(--glass-border);
        border-radius: var(--glass-border-radius);
        padding: var(--space-s-l);
        overflow: hidden;
        position: relative;
        top: var(--space-s-m);
        left: -1rem;
      }
      .image {
        overflow: hidden;
        border-radius: var(--glass-border-radius);
      }
      @container (max-width: 50rem) {
        .text {
          left: 0;
        }
      }
      &.is-reverse {
        .text {
          left: 0;
          top: var(--space-s-m);
        }
        .image {
          top: -var(--space-s-m);
          left: -1rem;
        }
        @container (max-width: 50rem) {
          .image {
            left: 0;
          }
        }
      }
    }
  }
  &.with-background-image {
    &.in-container .background-image {
      border-radius: var(--glass-border-radius);
    }
    .media-image.content {
      position: relative;
      margin-left: auto;
      margin-right: auto;
      height: 100%;
      width: 100%;
      max-width: var(--wrapper-max-width, 85rem);
      padding-left: var(--gutter);
      padding-right: var(--gutter);
      .text {
        max-width: 50%;
        top: auto;
        bottom: calc(var(--space-s-m) * -1);
      }
      .image {
        display: none;
      }
    }
  }
}
.section-wrapper .slider {
  .slider-wrapper {
    position: relative;
    height: clamp(30rem, 35rem, 40rem);
    margin-block-end: var(--space-2xl);
    container-type: inline-size;
    &:focus {
      outline: 2px solid var(--color-primary);
      outline-offset: 2px;
    }
  }
  .slides {
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1;
    height: 100%;
    list-style: none;
    overflow: hidden;
    li {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      transform: translateX(100%);
      transition: transform 0.6s ease-in-out;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
      grid-template-rows: 1fr;
      @container (max-width: 40rem) {
        grid-template-rows: 1fr 1fr;
      }
      .image {
        img {
          width: 100%;
          height: 100%;
          object-fit: cover;
          object-position: center;
        }
      }
      .slide-content {
        padding: 0 var(--space-s-l);
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xs-s);
        background-color: var(--color-background-light);
        .text {
          padding: 0;
        }
      }
      &.sliding-in {
        z-index: 100;
      }
      &.is-visible {
        transform: translateX(0%);
      }
      &.reset {
        transform: translateX(100%) !important;
        transition: none !important;
      }
    }
  }
}
.testimonial {
  --threshold: 25ch !important;
  padding: var(--space-l-2xl);
  overflow: hidden;
  .quotee {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    max-width: 17rem;
    margin-inline: auto;
    text-align: center;
    .portrait {
      width: 7rem;
      height: 7rem;
      border-radius: 50%;
      overflow: hidden;
    }
    .name {
      font-size: var(--font-h5);
      font-weight: 500;
      line-height: 2;
    }
    .title {
      font-size: var(--font-p);
      line-height: 1.2;
    }
    .company {
      font-size: var(--font-p);
      line-height: 1.2;
    }
    .logo {
      margin-block-start: 1.5em;
      width: 3rem;
      height: 3rem;
      overflow: hidden;
    }
  }
  blockquote {
    flex-grow: 2 !important;
    font-size: var(--font-h2);
    font-style: italic;
    max-width: 40ch;
    margin: 0;
    text-align: center;
  }
}
.section-wrapper .text-only {
  > * {
    max-width: clamp(45ch, 65ch, 80ch);
    margin-inline: auto;
  }
  h1,
  h2,
  h3,
  .sub-title {
    margin-bottom: var(--space-s);
    & + div {
      margin-top: 0;
    }
  }
  pre {
    margin: 2em 0;
  }
  .ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-m-l);
    * {
      margin: 0;
    }
  }
}
code[class*=language-],
pre[class*=language-] {
  color: #ccc;
  background: 0 0;
  font-family:
    Consolas,
    Monaco,
    "Andale Mono",
    "Ubuntu Mono",
    monospace;
  font-size: 0.8em;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.3;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}
pre[class*=language-] {
  padding: 1em;
  margin: 0.5em 0;
  overflow: auto;
}
:not(pre) > code[class*=language-],
pre[class*=language-] {
  background: #2d2d2d;
}
:not(pre) > code[class*=language-] {
  padding: 0.1em;
  border-radius: 0.3em;
  white-space: normal;
}
.token.block-comment,
.token.cdata,
.token.comment,
.token.doctype,
.token.prolog {
  color: #999;
}
.token.punctuation {
  color: #ccc;
}
.token.attr-name,
.token.deleted,
.token.namespace,
.token.tag {
  color: #e2777a;
}
.token.function-name {
  color: #6196cc;
}
.token.boolean,
.token.function,
.token.number {
  color: #f08d49;
}
.token.class-name,
.token.constant,
.token.property,
.token.symbol {
  color: #f8c555;
}
.token.atrule,
.token.builtin,
.token.important,
.token.keyword,
.token.selector {
  color: #cc99cd;
}
.token.attr-value,
.token.char,
.token.regex,
.token.string,
.token.variable {
  color: #7ec699;
}
.token.entity,
.token.operator,
.token.url {
  color: #67cdcc;
}
.token.bold,
.token.important {
  font-weight: 700;
}
.token.italic {
  font-style: italic;
}
.token.entity {
  cursor: help;
}
.token.inserted {
  color: green;
}
