/* One media radius across images, videos, and their clipping frames. */
:root {
  --mond-media-radius: 4px;
  --mond-cta-background: rgba(255, 255, 255, 0.20);
  --mond-cta-hover: rgba(255, 255, 255, 0.25);
  --mond-cta-color: #fff;
}

img:not(.hero__brand-image):not(.about-wordmark img),
video,
.projects-gallery figure::after,
.cursor-placeholder.is-image,
.projects-thumb {
  border-radius: var(--mond-media-radius) !important;
}

.pl-1,
.pl-2,
.pl-3,
.pl-4,
.post-placeholder-panel,
.post-placeholder-panel__image,
.projects-gallery__item,
.case-gallery figure,
.project-cover,
.about-figure,
.about-team-strip__image,
.about-mobile-person__image,
.about-person-panel__card,
.about-person-panel__image-wrap,
.about-footer-image {
  border-radius: var(--mond-media-radius) !important;
  overflow: hidden;
}

/* Each span contains a complete rendered row; rows slide upward together. */
.mond-line-reveal .mond-reveal-line {
  display: inline-block;
  opacity: 0;
  transform: translateY(.8em);
}
.mond-line-reveal.is-line-revealed .mond-reveal-line {
  animation: mond-project-line-in 620ms cubic-bezier(.22, 1, .36, 1) var(--line-delay, 0ms) both;
}
.mond-line-reveal.is-line-settled .mond-reveal-line {
  animation: none;
  opacity: 1;
  transform: none;
}
.case-intro__copy.mond-line-reveal {
  opacity: 1;
  transform: none;
  transition: none;
}
@keyframes mond-project-line-in {
  from { opacity: 0; transform: translateY(.8em); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .mond-line-reveal .mond-reveal-line {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Shared presentation is loaded in the head so first paint matches the final layout. */
body[data-theme="light"] {
  --mond-cta-background: rgba(255, 255, 255, 0.65);
  --mond-cta-hover: rgba(255, 255, 255, 0.9);
  --mond-cta-color: var(--color-fg, #131313);
}

/* Contact actions share the Let's Talk appearance across pages. */
.hero__cta,
.hero__cta-label,
.projects-sidebar__cta,
.projects-sidebar__cta-label,
.post-placeholder-panel__button {
  border-radius: var(--mond-media-radius) !important;
}

:is(.hero__cta, .projects-sidebar__cta, .post-placeholder-panel__button) {
  border: 0 !important;
  background: var(--mond-cta-background) !important;
  color: var(--mond-cta-color) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  font-weight: 500;
  letter-spacing: 0.6px;
  text-decoration: none;
}

:is(.hero__cta, .projects-sidebar__cta, .post-placeholder-panel__button):is(:hover, :focus-visible) {
  background: var(--mond-cta-hover) !important;
}

.hero__cta-label,
.projects-sidebar__cta-label {
  color: inherit !important;
}

.hero__nav,
.hero__nav a,
.hero__nav-word {
  font-family: "Mona Sans", sans-serif !important;
  font-weight: 450 !important;
  -webkit-font-smoothing: auto !important;
}
.hero__nav-footer {
  display: none;
}
.footer-brand-minimal__mobile-copy {
  display: none;
}
@media (max-width: 720px) {
  .hero__top {
    top: 10px !important;
    right: 10px !important;
    left: 10px !important;
  }
  .hero__brand-image {
    width: auto !important;
    height: calc(23px / 1.3) !important;
  }
  .hero__menu-toggle {
    position: fixed !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 2147483647 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .hero__menu-icon {
    opacity: 1 !important;
    visibility: visible !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
  .hero__top > .hero__nav,
  .hero__nav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483646 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding-bottom: max(28px, env(safe-area-inset-bottom)) !important;
  }
  .hero__top.is-open > .hero__nav,
  .hero__top.is-open .hero__nav {
    background-color: rgba(0, 0, 0, 0.68) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    backdrop-filter: blur(24px) !important;
  }
  body[data-theme="light"] .hero__top.is-open > .hero__nav,
  body[data-theme="light"] .hero__top.is-open .hero__nav {
    background-color: rgba(255, 255, 255, 0.78) !important;
  }
  .hero__nav,
  .hero__nav a,
  .hero__nav-word {
    font-style: normal !important;
    font-weight: 400 !important;
    font-size: 52px !important;
    line-height: 49px !important;
  }
  .hero__top > .hero__nav > a,
  .hero__nav a {
    line-height: 49px !important;
  }
  .hero__nav-word {
    text-transform: lowercase !important;
  }
  .hero__nav > a > .hero__nav-word {
    font-kerning: normal;
    letter-spacing: -0.02em !important;
  }
  .hero__nav-word::first-letter {
    text-transform: uppercase;
  }
  .hero__nav-talk .hero__nav-word:nth-child(n + 2)::first-letter {
    text-transform: lowercase;
  }
  .hero__nav a.hero__nav-talk {
    display: none !important;
  }
  .hero__nav-footer {
    position: fixed;
    right: 10px;
    bottom: max(20px, env(safe-area-inset-bottom));
    left: 10px;
    display: grid;
    gap: 12px;
    color: #ffffff;
    font-family: "Mona Sans", sans-serif;
    font-style: normal;
    font-size: 15px;
    font-weight: 350;
    line-height: 19px;
    letter-spacing: 0;
    text-transform: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
  .hero__top.is-open .hero__nav-footer {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .hero__nav-footer::before,
  .hero__nav-footer__copyright::before {
    content: "";
    display: block;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
  }
  .hero__nav-footer::before {
    margin-bottom: 4px;
  }
  .hero__nav-footer__label {
    margin: 0 0 2px;
    color: rgb(152, 152, 152);
    font-family: "degular-mono", monospace;
    font-weight: 400;
    text-transform: uppercase;
  }
  .hero__nav-footer__links {
    display: grid;
    gap: 2px;
  }
  .hero__nav .hero__nav-footer a {
    display: block !important;
    width: fit-content;
    min-height: 0;
    padding: 0;
    color: rgb(255, 255, 255) !important;
    font-family: "Mona Sans", sans-serif !important;
    font-style: normal !important;
    font-size: 15px !important;
    font-weight: 350 !important;
    line-height: 19px !important;
    letter-spacing: 0;
    text-transform: uppercase;
  }
  .hero__nav-footer__copyright {
    display: grid;
    gap: 12px;
    margin-top: 28px;
    color: rgb(152, 152, 152);
    font-family: "degular-mono", monospace;
    font-size: calc(15px / 1.15);
    font-weight: 400;
    line-height: calc(19px / 1.15);
  }
  body[data-theme="light"] .hero__nav-footer {
    color: #131313;
  }
  body[data-theme="light"] .hero__nav .hero__nav-footer a {
    color: rgb(255, 255, 255) !important;
  }
  html.mond-project-page .hero__nav,
  html.mond-project-page .hero__nav > a,
  html.mond-project-page .hero__nav > a > .hero__nav-word {
    font-weight: 500 !important;
  }
  html.mond-project-page .hero__nav .hero__nav-footer a {
    color: rgb(0, 0, 0) !important;
  }
  body[data-theme="light"] .hero__nav-footer::before,
  body[data-theme="light"] .hero__nav-footer__copyright::before {
    border-color: rgba(19, 19, 19, 0.22);
  }
  html.mond-mobile-menu-open,
  html.mond-mobile-menu-open body {
    overflow: hidden !important;
    overscroll-behavior: none;
  }
}
@media (max-width: 600px) {
  .mond-project-page .site-footer {
    display: none !important;
  }
}
html.lenis,
html.lenis body {
  height: auto;
}
html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
html.lenis.lenis-stopped {
  overflow: hidden;
}
.mond-page-transition {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
}
.mond-page-transition.is-active {
  visibility: visible;
}
.mond-page-transition__panel {
  position: absolute;
  inset: 0;
  background: #f7f7f7;
  transform: translate3d(0, 100%, 0);
  transition: transform 560ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}
.mond-page-transition.is-active .mond-page-transition__panel {
  transform: translate3d(0, 0, 0);
}
@media (max-width: 600px) {
  .mond-mobile-footer-enabled .site-footer.footer-section,
  .mond-mobile-footer-enabled .site-footer {
    position: relative !important;
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    min-height: auto !important;
    margin: 10px !important;
    /* Keep the design tail below 10px; reserve the OS inset only once. */
    margin-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 60px 0 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .mond-mobile-footer-enabled .site-footer,
  .mond-mobile-footer-enabled .site-footer * {
    font-family: "Mona Sans", "Helvetica Neue", Arial, sans-serif !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-content {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: auto !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-social-minimal,
  .mond-mobile-footer-enabled .site-footer .footer-contact-block,
  .mond-mobile-footer-enabled .site-footer .footer-brand-minimal {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    transform: none !important;
    text-align: left !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-social-minimal {
    order: 1;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 30px !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-social-minimal a {
    margin: 0 !important;
    color: inherit !important;
    font-size: 30px !important;
    font-weight: 550 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-contact-block {
    order: 2;
    margin-top: 8svh !important;
    color: inherit !important;
    white-space: nowrap !important;
    font-size: 14.375px !important;
    font-weight: 400 !important;
    line-height: 23.125px !important;
    letter-spacing: -0.02em !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-email {
    color: inherit !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-brand-minimal {
    order: 3;
    margin-top: 5svh !important;
    margin-bottom: 0 !important;
    color: inherit !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-brand-minimal__logo {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 377 / 100;
    background-color: currentColor !important;
    -webkit-mask-image: url("/mobile%20footer%20logo.svg") !important;
    mask-image: url("/mobile%20footer%20logo.svg") !important;
    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;
    -webkit-mask-size: 100% 100% !important;
    mask-size: 100% 100% !important;
    -webkit-mask-position: left bottom !important;
    mask-position: left bottom !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-brand-minimal__mobile-copy {
    display: flex !important;
    align-items: baseline;
    justify-content: space-between;
    width: 100%;
    margin-top: 12px;
    color: rgb(152, 152, 152);
    font-family: "degular-mono", monospace !important;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
  }
  .mond-mobile-footer-enabled .site-footer .footer-brand-minimal__mobile-copy,
  .mond-mobile-footer-enabled .site-footer .footer-brand-minimal__mobile-copy * {
    font-family: "degular-mono", monospace !important;
  }
  .mond-mobile-footer-enabled .site-footer .footer-brand-minimal__mobile-studio {
    color: rgb(152, 152, 152);
    text-align: right;
  }
  .mond-mobile-footer-enabled .site-footer .footer-copy-minimal {
    display: none !important;
  }
}
@media (min-width: 601px) and (max-width: 720px) {
  /* At these widths the privacy links follow the footer in normal flow. */
  body > .mond-consent-utility {
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  }
}
