/*
Theme Name: Cosmo Jameson Creative Office
Author: Mike Ash
Author URI: https://iammmikeash.co.uk
*/
@font-face {
  font-family: "Mabry Mono";
  src: url("assets/fonts/mabry-mono-regular-pro.woff2") format("woff2"), url("assets/fonts/mabry-mono-regular-pro.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Mabry Mono";
  src: url("assets/fonts/mabry-mono-bold-pro.woff2") format("woff2"), url("assets/fonts/mabry-mono-bold-pro.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Matter";
  src: url("assets/fonts/MatterTRIAL-Regular.woff2") format("woff2"), url("assets/fonts/MatterTRIAL-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Matter";
  src: url("assets/fonts/MatterMedium.woff2") format("woff2"), url("assets/fonts/MatterMedium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
:root {
  --font-size-m: 1.35rem;
  --font-size-l: 1.71rem;
  --font-size-xl: 2.08rem;
}
@media (max-width: 600px) {
  :root {
    --font-size-m: 1.15rem;
    --font-size-l: 1.25rem;
    --font-size-xl: 1.67rem;
  }
}

.screen-reader-text {
  position: absolute;
  right: 999vw;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
  white-space: nowrap;
}

html {
  font: 500 16px/1.14 "Matter", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
}

a {
  color: inherit;
}

a, button {
  transition: opacity 0.3s ease-out;
}
a:hover, button:hover {
  opacity: 0.67;
}

h1, h2, h3, h4 {
  font-weight: 500;
}

.small-heading {
  font-size: 0.88rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "Mabry Mono", monospace;
}

small {
  font-size: 0.8rem;
}

.btn {
  display: inline-block;
  padding: 0.5em 2.5em;
  background: #fff;
  color: #000;
  font: inherit;
  font-weight: 500;
  font-size: 1.31rem;
  line-height: 1;
  text-decoration: none;
  border-radius: 1.1em;
  cursor: pointer;
  border: 2px solid #000;
  transition: all 0.2s ease-out;
}
.btn.is-active, .btn:hover, .btn:focus, .btn:active {
  opacity: 1;
  background: #000;
  color: #e4f2e7;
  border-radius: 6px;
}
.btn.is-disabled {
  opacity: 0.2;
  pointer-events: none;
}
@media (max-width: 600px) {
  .btn {
    padding: 0.5em 1em;
    font-size: 1rem;
  }
}

/*
Theme Name: Cosmo Jameson Creative Office
Author: Mike Ash
Author URI: https://iammmikeash.co.uk
*/
.header-main,
.footer-main {
  padding: 1em;
  font-family: "Mabry Mono", monospace;
  text-transform: uppercase;
}
.header-main a,
.footer-main a {
  text-decoration: none;
}

.header-main {
  background-color: #dae0da;
  padding: 0 1rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
}
.header-main__masthead {
  display: flex;
  align-items: center;
  gap: 1em;
  height: 3rem;
}
.header-main__masthead > a {
  font-weight: 700;
  word-spacing: -0.4em;
}
.header-main__masthead > a img {
  display: inline-block;
  vertical-align: baseline;
  height: 12px;
  width: auto;
}
.header-main__masthead .date-time {
  white-space: nowrap;
}
.header-main__masthead .info-toggle {
  margin-left: auto;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  text-transform: uppercase;
  cursor: pointer;
  color: inherit;
  font-weight: 700;
  position: relative;
}
.header-main__masthead .info-toggle:before, .header-main__masthead .info-toggle:after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  height: 2px;
  width: 20px;
  margin-top: -1px;
  background: #000;
  opacity: 0;
  transition: transform 0.3s;
}
.header-main__masthead .info-toggle:before {
  transform: translateX(-100%) rotate(-45deg);
}
.header-main__masthead .info-toggle:after {
  transform: translateX(-100%) rotate(-135deg);
}
.header-main__masthead .info-toggle[aria-expanded=true]:before, .header-main__masthead .info-toggle[aria-expanded=true]:after {
  opacity: 1;
}
.header-main__masthead .info-toggle[aria-expanded=true]:before {
  transform: rotate(45deg);
}
.header-main__masthead .info-toggle[aria-expanded=true]:after {
  transform: rotate(-45deg);
}
.header-main__masthead .info-toggle[aria-expanded=true] {
  color: #dae0da;
}
.header-main .info-dialog {
  font: 500 1rem/1.14 "Matter", sans-serif;
  text-transform: none;
  font-size: var(--font-size-l);
}
.header-main .info-dialog .row {
  gap: 0 2rem;
}
.header-main .info-dialog .col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}
.header-main .info-dialog .col > * {
  margin: 0;
  max-width: 31rem;
  opacity: 0;
}
.header-main .info-dialog .col small {
  margin-top: auto;
  font-family: "Mabry Mono", monospace;
}
.header-main .info-dialog .col h1, .header-main .info-dialog .col h2, .header-main .info-dialog .col h3, .header-main .info-dialog .col h4 {
  font-size: 0.88rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "Mabry Mono", monospace;
  margin: 0;
}
.header-main .info-dialog .col h1 + *, .header-main .info-dialog .col h2 + *, .header-main .info-dialog .col h3 + *, .header-main .info-dialog .col h4 + * {
  margin-top: -1rem;
}
.header-main .info-dialog .col:first-child {
  padding-bottom: 3rem;
}
.header-main .info-dialog__content .container {
  padding: 4rem 0 1rem;
}
.header-main .info-dialog {
  height: 0px;
  overflow: hidden;
  transition: height 0.3s;
}
@keyframes infoSlide {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.header-main .info-dialog.is-open {
  height: var(--naturalHeight);
}
.header-main .info-dialog.is-open .col > * {
  animation: infoSlide 0.4s ease-out forwards;
  animation-delay: 0.2s;
}
.header-main .info-dialog.is-open .col:nth-child(2) > * {
  animation-delay: 0.4s;
}
.header-main .info-dialog {
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
}
@media (max-width: 440px) {
  .header-main {
    gap: 1rem;
  }
  .header-main__masthead > a {
    margin-right: 0;
  }
  .header-main__masthead .date-time {
    display: none;
  }
}
@media (max-width: 379px) {
  .header-main__masthead .location, .header-main__masthead .time, .header-main__masthead .am-pm {
    display: none;
  }
}
.header-main__contact {
  margin-left: auto;
  position: relative;
}
.header-main .contact-toggle {
  display: inline-block;
  padding: 1rem 0;
  font: inherit;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: none;
}
.header-main .contact-toggle.is-active {
  font-weight: 700;
}
.header-main .contact-dialog {
  position: absolute;
  top: 100%;
  right: 0;
  padding: calc(2rem + 20px) calc(20px + 1rem) 20px 20px;
  width: calc(22rem + 40px);
  max-width: calc(90vw - 10px);
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  will-change: opacity, transform;
  isolation: isolate;
  z-index: 999;
}
.header-main .contact-dialog:after {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 0;
  left: 0;
  right: 1rem;
  background-color: #dae0da;
  padding: 20px;
  border-radius: 9px;
  z-index: -1;
}
.header-main .contact-dialog img {
  width: 100%;
  max-width: none;
  margin: 1em 0 0.3em;
}
.header-main .contact-dialog__method {
  margin-bottom: 1em;
}
.header-main .contact-dialog__method__label {
  display: block;
}
.header-main .contact-dialog__method__value {
  margin: 0;
  display: block;
  font-family: "Matter", monospace;
  text-transform: none;
  font-size: var(--font-size-m);
}
.header-main .contact-dialog__strapline, .header-main .contact-dialog__legal {
  font-size: 13px;
  margin: 0;
  text-align: justify;
  display: block;
}
.header-main .contact-dialog__strapline {
  height: 1.4em;
  overflow: hidden;
}
.header-main .contact-dialog__strapline:after {
  content: "";
  display: inline-block;
  width: 100%;
}
.header-main .contact-dialog.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: initial;
}

.footer-main__contact {
  font-size: var(--font-size-m);
  font-family: "Matter", serif;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.footer-main__contact p {
  margin: 0;
}
.footer-main__contact ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  font-size: var(--font-size-m);
  line-height: 1.14;
}
.footer-main__logo {
  margin: 2rem 0 1rem;
}
.footer-main__logo img {
  display: block;
  width: 100%;
  max-width: none;
}
.footer-main__legals {
  padding: 1em;
  border-radius: 9px;
  background-color: #dae0da;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.footer-main__legals small {
  font: inherit;
  font-size: 13px;
}
.footer-main__legals .legal-links {
  display: flex;
  font-size: 13px;
  gap: 1em;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.footer-main__legals .legal-links li {
  margin: 0;
}

/*
Theme Name: Cosmo Jameson Creative Office
Author: Mike Ash
Author URI: https://iammmikeash.co.uk
*/
body, html {
  margin: 0;
}

*, *:before, *:after {
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.content-wrap {
  flex: 1;
  padding: 3rem 1rem 1rem;
}

iframe {
  background: #eee;
}

img, video {
  max-width: 100%;
  height: auto;
}

.row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .row {
    flex-direction: row;
  }
  .row .col {
    flex: 1;
  }
}

.js-copy {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: baseline;
  text-indent: 110%;
  overflow: hidden;
  white-space: nowrap;
  background: url("assets/img/clipboard.svg") center/contain no-repeat;
}
.js-copy:active {
  scale: 0.8;
}

/*
Theme Name: Cosmo Jameson Creative Office
Author: Mike Ash
Author URI: https://iammmikeash.co.uk
*/
.splide {
  position: relative;
  width: 100vw;
  left: 50%;
  margin-left: -50vw;
}

.oembed-fill {
  position: relative;
}

.image-16-9,
.image-4-5 {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
}
.image-16-9 img, .image-16-9 video, .image-16-9 iframe,
.image-4-5 img,
.image-4-5 video,
.image-4-5 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

.image-4-5 {
  aspect-ratio: 4/5;
}

.post-thumb {
  position: relative;
}
.post-thumb__image {
  aspect-ratio: 4/5;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.post-thumb__image > * {
  width: 100%;
  height: auto;
}
.post-thumb h2 {
  margin: 0.5rem 0 0;
}
.post-thumb a {
  text-decoration: none;
}
.post-thumb a:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.post-thumb h2, .post-thumb span {
  font-size: var(--font-size-m);
  text-wrap: pretty;
}
.post-thumb span {
  font-size: 1rem;
}

.home__hero {
  height: calc(100vh - 135px);
  min-height: 33vw;
  position: relative;
  overflow: hidden;
  width: 100vw;
  left: -1rem;
}
.home__hero img, .home__hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}
.home__hero iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: calc((100vh - 135px) * 1.7777777778);
  height: calc(100vh - 135px);
}
.home__posts__filters {
  padding: 1rem 0;
}
.home__posts__filters ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0.5rem 0;
}
.home__posts__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem 1rem;
}
@media (min-width: 640px) {
  .home__posts__list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .home__posts__list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.home__posts__list__item {
  opacity: 0;
}
.home__posts__list__item.animate-in {
  animation: animateIn 0.5s ease-out forwards;
}
@keyframes animateIn {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.home__posts .js-load-more-posts {
  margin-top: 3rem;
}
.home__clients {
  padding-top: 2rem;
}
.home__clients h2 {
  font: inherit;
  font-family: "Mabry Mono", monospace;
  text-transform: uppercase;
}
.home__clients__list {
  width: calc(100% + 2rem);
  position: relative;
  left: -1rem;
  padding: 2rem 0 5rem;
  overflow: hidden;
}
.home__clients__list__track {
  display: flex;
  animation: scroll calc(var(--group-width) / 100px * 1s) linear infinite;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(var(--group-width) * -1));
  }
}
.home__clients__list__group {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
.home__clients__list__logo,
.home__clients__list .splide__slide {
  width: calc(100vw / var(--count));
  min-width: 120px;
}
.home__clients__list img {
  display: block;
  margin: 0 auto;
  max-width: 100px;
}
@media (min-width: 768px) {
  .home__clients__list__logo {
    min-width: 160px;
  }
  .home__clients__list__logo img {
    max-width: 140px;
  }
}
.home__testimonials__list .splide__list {
  align-items: stretch;
}
.home__testimonials__list blockquote {
  background: #dae0da;
  padding: min(2em, 5vw);
  margin: 0;
  border-radius: 9px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.home__testimonials__list blockquote p {
  font-size: var(--font-size-l);
  line-height: 1.25;
  margin: 0 0 1.67em;
}
.home__testimonials__list blockquote cite {
  font-family: "Mabry Mono", monospace;
  font-style: normal;
  font-weight: 700;
}

[class*=single__content__] {
  opacity: 0;
}
[class*=single__content__].animate-in {
  animation: animateIn 0.5s ease-out forwards;
}

.single__tags,
.single__header,
.single__intro {
  animation: animateIn 0.5s ease-out forwards;
}

.single__hero {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  margin-bottom: 1rem;
  width: 100vw;
  left: -1rem;
}
.single__hero > * {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: left center;
     object-position: left center;
}
.single__hero + .row {
  gap: 2.5em 1em;
}
.single__header h1 {
  margin: 0;
  font-weight: 500;
}
.single__header h1, .single__header span {
  font-size: var(--font-size-xl);
  display: block;
  margin: 0;
}
.single__tags, .single__intro, .single__content {
  font-size: var(--font-size-l);
}
.single__tags .small-heading {
  margin-top: 0;
}
.single__intro:not(.no-indent) {
  text-indent: 4rem;
}
.single__content {
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.single__content__text-block p {
  text-indent: 4rem;
}
.single__content__text-block li {
  text-indent: 0;
}
.single__content__text-block, .single__content__quote-block {
  margin: 1rem 0;
}
.single__content__text-block .col > :first-child, .single__content__quote-block .col > :first-child {
  margin-top: 0;
}
.single__content__text-block .col > :last-child, .single__content__quote-block .col > :last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .single__content__text-block .col:first-child, .single__content__quote-block .col:first-child {
    display: none;
  }
}
.single__info h2 {
  font-size: 0.88rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "Mabry Mono", monospace;
}
.single__info p {
  margin-top: 0;
  font-weight: 500;
}
.single__next-project {
  padding: 3rem 0;
}
.single__next-project .share-links {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
.single__next-project [class*=icon--] {
  font-size: 2rem;
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: baseline;
  text-indent: 110%;
  overflow: hidden;
  white-space: nowrap;
  background: url("assets/img/social-sprite.svg") left center/auto 1em no-repeat;
}
.single__next-project .icon--x {
  background-position: -1em center;
}
.single__next-project .icon--linkedin {
  background-position: -2em center;
}
.single__next-project .icon--email {
  background-position: -3em center;
}

blockquote {
  margin: 0;
  padding: 0;
}
blockquote p {
  font-size: var(--font-size-l);
  line-height: 1.25;
  margin: 0 0 1rem;
}
blockquote cite {
  font-style: normal;
  font-size: 0.88rem;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: "Mabry Mono", monospace;
}

.page-template-default .content-wrap > * {
  max-width: 60em;
}
.page-template-default .content-wrap h2, .page-template-default .content-wrap h3 {
  font-size: var(--font-size-m);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/*# sourceMappingURL=style.css.map */