.mobile-break,
.mobile-space,
.mobile-title-text,
.mobile-contact-coffee {
  display: none;
}

@media screen and (max-width: 600px) {
  :is(main, .slide, .pf-contact-section) :is(h1, h2, h3, h4, p, li, figcaption, blockquote) {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: auto;
  }

  :is(main, .slide, .pf-contact-section) :is(h1, h2, h3, h4) {
    hyphens: none;
    text-wrap: balance;
  }

  .desktop-title-text {
    display: none;
  }

  .mobile-title-text,
  .mobile-contact-coffee {
    display: inline;
  }

  [data-project="norccis"] :is(.design-story figure, .design-gallery) .demo-sprint {
    height: auto;
    aspect-ratio: auto;
    overflow: visible;
  }

  [data-project="norccis"] .design-gallery-mode .ldj-lightbox-stage > .demo-sprint {
    height: auto;
    max-height: min(68dvh, 100%);
    aspect-ratio: auto;
    overflow: auto;
  }

  [data-project="norccis"] .compound-title {
    hyphens: manual;
  }

  [data-project="cv"] .slide h2 {
    font-size: clamp(28px, 8.7vw, 42px);
  }

  [data-project="cv"] #om-heading,
  [data-project="norccis"] .hero h1 {
    font-size: clamp(24px, 7.45vw, 38px);
  }

  [data-project="cv"] #metoder-heading {
    font-size: clamp(25px, 7.8vw, 39px);
  }

  .pf-contact-intro .pf-coffee {
    display: none;
  }

  h2.pf-competence-title {
    font: 800 clamp(34px, 10vw, 48px)/.98 var(--pf-sans);
    letter-spacing: -.025em;
    text-wrap: wrap;
  }

  .pf-competence-title .mobile-break {
    display: revert;
  }

  [data-project="norccis"] :is(#t-01, #t-02, #t-04, #t-05, #t-07, #pf-contact-title, #del-01 .assignment-card h3) {
    text-wrap: wrap;
  }

  [data-project="norccis"] :is(#t-01, #t-02, #t-04, #t-05, #t-07) {
    font-size: clamp(25px, 8.2vw, 40px);
  }

  [data-project="norccis"] #t-07 {
    font-size: clamp(22px, 7.25vw, 38px);
  }

  [data-project="norccis"] #pf-contact-title {
    font-size: clamp(26px, 8.1vw, 40px);
  }

  [data-project="norccis"] .mobile-break,
  [data-project="norccis"] .mobile-space {
    display: revert;
  }

  [data-project="norccis"] .desktop-break {
    display: none;
  }

  [data-project="nfr"] #design .delivery-layout,
  [data-project="hydro"] #context .context-layout {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    grid-template-columns: minmax(0, 1fr) !important;
  }

  [data-project="nfr"] #design .delivery-layout > *,
  [data-project="hydro"] #context .context-layout > * {
    min-width: 0;
    max-width: 100%;
  }

}
