/* !
Theme Name: Cmn Customer
Template: cmn
Author: Comm.On
Author URI: http://www.comm-on.nu
Description: Cmn child theme
Version: 1.0
Updated:
*/
:root {
  --cmn-content-width: var(--wp--style--global--wide-size, 1360px);
  --cmn-grid-gap: var(--wp--custom--spacing--gap);
}

html {
  scroll-behavior: smooth;
}

.cmn-section {
  width: 100%;
}

.cmn-section__inner {
  width: 100%;
  margin-inline: auto;
}

.is-layout-constrained > .cmn-section {
  max-width: none;
}

.is-layout-constrained > .cmn-hero {
  max-width: none;
  width: 100%;
}

.cmn-grid {
  --cmn-grid-columns: 12;
  --cmn-grid-gap: $spacing-gap;
  display: grid;
  gap: var(--cmn-grid-gap);
  align-items: center;
}

.cmn-grid--two {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
  .cmn-grid--two {
    grid-template-columns: 1fr;
  }
}
.cmn-grid__media,
.cmn-grid__content {
  min-width: 0;
}

.cmn-grid--responsive {
  grid-template-columns: repeat(var(--cmn-grid-columns), minmax(0, 1fr));
}

.cmn-col--1 {
  grid-column: span 1;
}

.cmn-col--2 {
  grid-column: span 2;
}

.cmn-col--3 {
  grid-column: span 3;
}

.cmn-col--4 {
  grid-column: span 4;
}

.cmn-col--5 {
  grid-column: span 5;
}

.cmn-col--6 {
  grid-column: span 6;
}

.cmn-col--7 {
  grid-column: span 7;
}

.cmn-col--8 {
  grid-column: span 8;
}

.cmn-col--9 {
  grid-column: span 9;
}

.cmn-col--10 {
  grid-column: span 10;
}

.cmn-col--11 {
  grid-column: span 11;
}

.cmn-col--12 {
  grid-column: span 12;
}

@media (max-width: 900px) {
  .cmn-col--1 {
    grid-column: span 12;
  }
  .cmn-col--2 {
    grid-column: span 12;
  }
  .cmn-col--3 {
    grid-column: span 12;
  }
  .cmn-col--4 {
    grid-column: span 12;
  }
  .cmn-col--5 {
    grid-column: span 12;
  }
  .cmn-col--6 {
    grid-column: span 12;
  }
  .cmn-col--7 {
    grid-column: span 12;
  }
  .cmn-col--8 {
    grid-column: span 12;
  }
  .cmn-col--9 {
    grid-column: span 12;
  }
  .cmn-col--10 {
    grid-column: span 12;
  }
  .cmn-col--11 {
    grid-column: span 12;
  }
  .cmn-col--12 {
    grid-column: span 12;
  }
}
.cmn-section__inner--1360 {
  max-width: 1360px;
}

/* Scroll reveal animations */
.cmn-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}

.cmn-animate.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .cmn-animate {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* AUTO-GENERATED. Edit files in /blocks, niet deze file. */
.cmn-hero {
  position: relative;
  width: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #0d0d0d;
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.cmn-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(24px, 6vw, 64px) 0;
}

.cmn-hero__title {
  margin: 0;
  font-size: clamp(32px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-wrap: balance;
  max-width: 22ch;
  margin-inline: auto;
}

@media (max-width: 700px) {
  .cmn-hero__content {
    padding: clamp(20px, 8vw, 40px);
  }
}
.cmn-rotating-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(48px, 3rem + (1vw - 3.2px) * 2.727, 72px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}
@media (max-width: 900px) {
  .cmn-rotating-text {
    flex-direction: column;
    align-items: center;
  }
}

.cmn-section--rotating-text .cmn-grid {
  justify-items: center;
  text-align: center;
}
.cmn-section--rotating-text .cmn-grid__content {
  text-align: center;
}
.cmn-section--rotating-text .cmn-rotating-text {
  justify-content: center;
  width: 100%;
}

.cmn-rotating-text__static {
  color: var(--wp--preset--color--contrast, var(--fp-contrast));
}

.cmn-rotating-text__words {
  position: relative;
  display: inline-block;
  min-width: 10ch;
  height: 3.6em;
  color: var(--wp--preset--color--primary, var(--fp-primary));
  vertical-align: baseline;
  text-align: center;
}

.cmn-rotating-text__word {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  white-space: nowrap;
  line-height: 1.2;
  transform: translate(-50%, -50%) rotateX(0deg);
  transform-style: preserve-3d;
  transition: opacity 0.4s ease, transform 0.4s ease;
  will-change: transform, opacity;
}
.cmn-rotating-text__word.is-active {
  opacity: 1;
}
.cmn-rotating-text__word.is-prev {
  opacity: 0.2;
  transform: translate(-50%, -150%) rotateX(0deg);
}
.cmn-rotating-text__word.is-next {
  opacity: 0.2;
  transform: translate(-50%, 50%) rotateX(0deg);
}
.cmn-rotating-text__word.is-after {
  opacity: 0;
  transform: translate(-50%, 150%) rotateX(0deg);
}
.cmn-rotating-text__word.is-out {
  opacity: 0;
  animation: cmn-slide-out 0.52s ease-in forwards;
}
.cmn-rotating-text__word.is-in {
  opacity: 1;
  animation: cmn-slide-in 0.52s ease-out forwards;
}
.cmn-rotating-text__word.is-next-in {
  animation: cmn-slide-next-in 0.52s ease-out forwards;
}
.cmn-rotating-text__word.is-prev-out {
  animation: cmn-slide-prev-out 0.42s ease-in forwards;
}

@keyframes cmn-slide-out {
  from {
    transform: translate(-50%, -50%) rotateX(0deg);
  }
  to {
    transform: translate(-50%, -150%) rotateX(0deg);
  }
}
@keyframes cmn-slide-in {
  from {
    transform: translate(-50%, 50%) rotateX(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotateX(0deg);
  }
}
@keyframes cmn-slide-prev-out {
  from {
    transform: translate(-50%, -50%) rotateX(0deg);
    opacity: 1;
  }
  to {
    transform: translate(-50%, -210%) rotateX(0deg);
    opacity: 0;
  }
}
@keyframes cmn-slide-next-in {
  from {
    transform: translate(-50%, 150%) rotateX(0deg);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 50%) rotateX(0deg);
    opacity: 0.2;
  }
}
.cmn-rotating-text__letter {
  display: inline-block;
  transform-origin: center center 16px;
}
.cmn-rotating-text__letter.is-out {
  animation: cmn-rotating-out 0.32s forwards;
}
.cmn-rotating-text__letter.is-in {
  animation: cmn-rotating-in 0.38s forwards;
}
.cmn-rotating-text__letter.is-behind {
  transform: rotateX(-90deg);
}

@keyframes cmn-rotating-out {
  from {
    transform: rotateX(0deg);
    opacity: 1;
  }
  to {
    transform: rotateX(90deg);
    opacity: 0;
  }
}
@keyframes cmn-rotating-in {
  from {
    transform: rotateX(-90deg);
    opacity: 0;
  }
  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}
.cmn-section--example {
  color: var(--wp--preset--color--contrast, var(--fp-contrast));
}
.cmn-section--example .cmn-grid {
  gap: clamp(20px, 4vw, 48px);
}
.cmn-section--example.is-reverse .cmn-grid__media {
  order: 2;
}
.cmn-section--example.is-reverse .cmn-grid__content {
  order: 1;
}
.cmn-section--example.is-outside {
  position: relative;
  overflow: hidden;
}
.cmn-section--example.is-outside::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(50% - clamp(20px, 4vw, 48px) / 2);
  height: 100%;
  background-image: var(--bg-url);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
}
.cmn-section--example.is-outside.is-reverse .cmn-grid__media {
  order: 2;
  grid-column: 7/-1;
}
.cmn-section--example.is-outside.is-reverse .cmn-grid__content {
  order: 1;
  grid-column: 1/7;
}
.cmn-section--example.is-outside.is-reverse::before {
  content: none;
}
.cmn-section--example.is-outside.is-reverse::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: calc(50% - clamp(20px, 4vw, 48px) / 2);
  height: 100%;
  background-image: var(--bg-url);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right center;
}

.cmn-section-example__media {
  width: 100%;
  display: block;
}
.cmn-section-example__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}
.cmn-section-example__title {
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.15;
}
.cmn-section-example__text {
  margin: 0 0 20px;
  color: var(--wp--preset--color--contrast, var(--fp-contrast));
  font-size: 16px;
  line-height: 1.6;
}
.cmn-section-example .cmn-rotating-text {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
}
.cmn-section-example .cmn-rotating-text__static {
  color: var(--wp--preset--color--contrast, var(--fp-contrast));
}
.cmn-section-example .cmn-rotating-text__words {
  position: relative;
  display: inline-block;
  min-width: 10ch;
  height: 1.2em;
  color: var(--wp--preset--color--primary, var(--fp-primary));
}
.cmn-section-example .cmn-rotating-text__word {
  position: absolute;
  inset: 0 auto auto 0;
  opacity: 0;
  white-space: nowrap;
}
.cmn-section-example .cmn-rotating-text__word.is-active {
  opacity: 1;
}
.cmn-section-example .cmn-rotating-text__letter {
  display: inline-block;
  transform-origin: center center 16px;
}
.cmn-section-example .cmn-rotating-text__letter.is-out {
  animation: cmn-rotating-out 0.32s forwards;
}
.cmn-section-example .cmn-rotating-text__letter.is-in {
  animation: cmn-rotating-in 0.38s forwards;
}
.cmn-section-example .cmn-rotating-text__letter.is-behind {
  transform: rotateX(-90deg);
}
.cmn-section-example__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--wp--preset--color--primary, var(--fp-primary));
  color: var(--wp--preset--color--base, var(--fp-base));
  text-decoration: none;
  font-weight: 600;
}
.cmn-section-example__button:hover, .cmn-section-example__button:focus-visible {
  filter: brightness(0.95);
}

@keyframes cmn-rotating-out {
  from {
    transform: rotateX(0deg);
    opacity: 1;
  }
  to {
    transform: rotateX(90deg);
    opacity: 0;
  }
}
@keyframes cmn-rotating-in {
  from {
    transform: rotateX(-90deg);
    opacity: 0;
  }
  to {
    transform: rotateX(0deg);
    opacity: 1;
  }
}
@media (max-width: 900px) {
  .cmn-section-example__media {
    order: 1;
  }
  .cmn-section-example__content {
    order: 2;
  }
  .cmn-section--example.is-mobile-reverse .cmn-section-example__content {
    order: 1;
  }
  .cmn-section--example.is-mobile-reverse .cmn-section-example__media {
    order: 2;
  }
  .cmn-section--example.is-outside::before, .cmn-section--example.is-outside::after {
    display: none !important;
    content: none !important;
  }
  .cmn-section--example.is-outside {
    /* fallback to inside-grid on mobile */
  }
  .cmn-section--example.is-outside .cmn-grid__media {
    background-image: var(--bg-url);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center !important;
    grid-column: 1/-1;
    display: block;
    aspect-ratio: 4/3;
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
  }
  .cmn-section--example.is-outside .cmn-grid__content {
    grid-column: 1/-1;
  }
  .cmn-section--example.is-outside .cmn-grid {
    display: block;
  }
  .cmn-section--example.is-outside .cmn-section-example__content {
    margin-top: clamp(20px, 4vw, 48px);
  }
  .cmn-section--example.is-outside .cmn-section-example__media {
    margin-top: 0;
  }
}

/*# sourceMappingURL=data:application/json;charset=utf-8,%7B%22version%22:3,%22sourceRoot%22:%22%22,%22sources%22:%5B%22scss/style.scss%22,%22scss/_layout.scss%22,%22scss/_custom.scss%22,%22scss/blocks.auto.scss%22,%22blocks/hero/hero.scss%22,%22blocks/rotating-text/rotating-text.scss%22,%22scss/_variables.scss%22,%22blocks/section-example/section-example.scss%22%5D,%22names%22:%5B%5D,%22mappings%22:%22AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;ACGA;EACE;EACA;;;AAGF;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;;;AAIF;EACE;;;AAIF;EACE;EACA;;;AAIF;EACE;EACA;EACA;EACA;EACA;;;AAGF;EACE;;;AAGF;EACE;IACE;;;AAIJ;AAAA;EAEE;;;AAIF;EACE;;;AAIA;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AADF;EACE;;;AAIJ;EAEI;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;EADF;IACE;;;AAMN;EACE;;;AC7EF;AACA;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;;;AAGF;EACE;IACE;IACA;IACA;;;ACjBJ;ACAA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;;AAGF;EACE;IACE;;;AC7BJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EATF;IAUI;IACA;;;;AAKF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;;;AAIJ;EACE,OC7BS;;;ADgCX;EACE;EACA;EACA;EACA;EACA,OCzCQ;ED0CR;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;;;AAIJ;EACE;IACE;;EAEF;IACE;;;AAIJ;EACE;IACE;;EAEF;IACE;;;AAIJ;EACE;IACE;IACA;;EAEF;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;EAEF;IACE;IACA;;;AAGJ;EACE;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;;;AAIJ;EACE;IACE;IACA;;EAEF;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;EAEF;IACE;IACA;;;AEzKJ;EACE,ODES;;ACAT;EACE,KD0BI;;ACtBJ;EACE;;AAGF;EACE;;AAIJ;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAIA;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;;AAON;EACE;EACA;;AAEA;EACE;EACA;EACA;EACA;EACA;;AAIJ;EACE;EACA;EACA;;AAGF;EACE;EACA,ODlFO;ECmFP;EACA;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE,ODlGO;;ACqGT;EACE;EACA;EACA;EACA;EACA,OD9GM;;ACiHR;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAIJ;EACE;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA,YDpJM;ECqJN,ODlJG;ECmJH;EACA;;AAEA;EAEE;;;AAKN;EACE;IACE;IACA;;EAEF;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;EAEF;IACE;IACA;;;AAIJ;EACE;IACE;;EAGF;IACE;;EAIA;IACE;;EAGF;IACE;;EAKF;IAEE;IACA;;EAJJ;AAOE;;EACA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;;EAGF;IACE;;EAGF;IACE,YDxME;;EC2MJ;IACE%22,%22file%22:%22style.css%22%7D */
.cmn-rotating-text__word.is-prev-out{animation:cmn-slide-prev-out .42s ease-in forwards}@keyframes cmn-slide-prev-out{from{transform:translate(-50%,-50%) rotateX(0deg);opacity:1}to{transform:translate(-50%,-210%) rotateX(0deg);opacity:0}}
