html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

h1,
h2,
h3,
p,
a,
strong,
span {
  overflow-wrap: break-word;
}

@media (max-width: 700px) {
  .shared-site-header {
    gap: 12px;
  }

  .shared-site-header .brand {
    min-width: 0;
    flex: 0 1 auto;
    transform: scale(1.44) !important;
    transform-origin: left center !important;
  }

  .shared-site-header .brand-custom {
    width: auto !important;
    max-width: 194px !important;
    height: 78px !important;
  }

  .shared-site-header .shared-header-cta {
    flex: 0 0 auto;
    min-height: 44px;
    max-width: 160px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }

  .hero .primary-button,
  .vibe-button,
  .wd-button,
  .problem-contact {
    min-height: 48px;
  }

  .hero .hero-bottom-cta {
    width: calc(100% - 32px);
    justify-content: center;
    text-align: center;
  }

  .wd-hero {
    padding: 142px 0 65px;
  }

  .wd-hero-copy h1 {
    font-size: clamp(39px, 11.5vw, 48px);
    line-height: 1;
    letter-spacing: -2.3px;
  }

  .wd-hero-copy > p:not(.wd-kicker) {
    font-size: 17px;
    line-height: 1.55;
  }

  .wd-hero-visual,
  .wd-hero-visual .wd-browser {
    min-height: 270px;
    height: 270px;
  }

  .wd-benefits,
  .wd-wordpress,
  .wd-process,
  .wd-plans,
  .wd-faq {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .wd-benefits h2,
  .wd-wordpress h2,
  .wd-process h2,
  .wd-plans h2,
  .wd-faq h2 {
    font-size: 38px;
    line-height: 1.02;
    letter-spacing: -2px;
  }

  .wd-wordpress-grid {
    gap: 46px;
  }

  .wd-wordpress-grid .wd-wp-copy {
    order: 1;
  }

  .wd-wordpress-grid .wd-wp-visual {
    order: 2;
  }

  .wd-wp-visual {
    height: 285px;
  }

  .wd-process-grid article {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-right: 0;
    padding-left: 0;
  }

  .wd-process-grid span {
    font-size: 27px;
  }

  .wd-pricing {
    width: calc(100vw - 32px);
  }

  .wd-price-card {
    min-height: 410px;
  }

  .vibe-hero .hero-heading h1 .vibe-title-main {
    font-size: clamp(42px, 12vw, 52px);
  }

  .vibe-hero .hero-heading h1 .vibe-title-sub {
    font-size: clamp(37px, 10.5vw, 47px);
  }

  .vibe-hero .hero-copy > p {
    font-size: 17px;
  }

  .vibe-quality .quality-layout,
  .vibe-process .process-layout {
    gap: 42px;
  }

  .quality-layout ul {
    padding-left: 0;
  }

  .bottom-cta {
    padding: 26px 22px;
    flex-direction: column;
  }

  .bottom-cta .vibe-button {
    width: 100%;
    justify-content: center;
  }

  .problem-visual {
    min-height: min(72vw, 390px);
  }

  .solution-dots {
    bottom: -26px;
  }

  .problem-contact {
    display: inline-flex;
    align-items: center;
  }

  .article-hero h1 {
    font-size: clamp(36px, 11vw, 44px);
  }

  .article-meta {
    flex-wrap: wrap;
  }

  .article-section-image {
    height: auto;
  }

  .article-cta {
    gap: 14px;
  }

  footer,
  .vibe-footer .vibe-shell,
  .blog-detail-footer {
    gap: 16px;
  }

  footer p,
  .vibe-footer p,
  .blog-detail-footer p {
    line-height: 1.5;
  }

  .contact-modal {
    align-items: end;
    padding: 8px;
  }

  .contact-modal-dialog {
    width: 100%;
    max-height: calc(100dvh - 16px);
    padding: 25px 18px max(22px, env(safe-area-inset-bottom));
    border-radius: 18px 18px 12px 12px;
  }

  .contact-modal-heading h2 {
    margin-right: 42px;
    font-size: 30px;
  }

  .contact-modal-form input,
  .contact-modal-form textarea,
  .contact-modal-form select {
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .shared-site-header {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  .shared-site-header .brand-default {
    font-size: 34px !important;
  }

  .shared-site-header .brand-custom {
    max-width: 156px !important;
    height: 70px !important;
  }

  .shared-site-header .shared-header-cta {
    max-width: none;
    padding: 9px 11px;
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(40px, 12.4vw, 48px);
  }

  .hero .eyebrow {
    white-space: normal;
    line-height: 1.6;
  }

  .showcase {
    height: 250px;
  }

  .showcase .laptop-custom-image {
    height: 245px;
    object-fit: contain;
  }

  .services h3,
  .pricing-heading h2,
  .projects-heading h2,
  .faq-heading h2,
  .contact-copy h2,
  .blog-heading h2 {
    font-size: 34px;
    letter-spacing: -1.8px;
  }

  .price-request,
  .wd-price-card > strong.request {
    font-size: 37px;
    white-space: normal;
  }

  .about-card footer {
    flex-wrap: wrap;
  }

  .wd-shell,
  .vibe-shell {
    width: calc(100% - 32px);
  }

  .wd-kicker,
  .kicker {
    letter-spacing: 1.7px;
  }

  .wd-hero-copy h1 {
    font-size: 39px;
  }

  .wd-benefits h2,
  .wd-wordpress h2,
  .wd-process h2,
  .wd-plans h2,
  .wd-faq h2,
  .section-title h2,
  .section-title.wide h2,
  .quality-layout h2 {
    font-size: 35px;
  }

  .wd-hero-visual,
  .wd-hero-visual .wd-browser {
    min-height: 225px;
    height: 225px;
  }

  .wd-wp-visual {
    height: 235px;
  }

  .wd-price-card {
    min-height: 390px;
    padding: 30px 22px;
  }

  .wd-price-card > strong {
    font-size: 52px;
  }

  .vibe-hero .hero-heading h1 .vibe-title-main {
    font-size: 40px;
  }

  .vibe-hero .hero-heading h1 .vibe-title-sub {
    font-size: 35px;
  }

  .problem-visual {
    min-height: 66vw;
  }

  .vibe-problems .problem-list article {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .vibe-problems .problem-list article > span {
    font-size: 31px;
  }

  .bottom-cta h2 {
    font-size: 24px;
  }

  .article-hero {
    padding-right: 16px;
    padding-left: 16px;
  }

  .article-wrap,
  .related-posts {
    width: calc(100% - 28px);
  }
}

@media (max-width: 350px) {
  .shared-site-header .brand-default {
    font-size: 29px !important;
  }

  .shared-site-header .brand-custom {
    max-width: 132px !important;
  }

  .shared-site-header .shared-header-cta {
    max-width: none;
    font-size: 10px;
  }

  .wd-hero-copy h1,
  .vibe-hero .hero-heading h1 .vibe-title-main {
    font-size: 36px;
  }

  .vibe-hero .hero-heading h1 .vibe-title-sub {
    font-size: 32px;
  }
}

/* Halveer op mobiel de ruimte tussen de vaste header en de eerste contenttitel. */
@media (max-width: 700px) {
  .vibe-intro .section-title h2 {
    font-size: 44px;
    line-height: 1;
  }

  .vibe-quality .quality-layout ul {
    font-size: clamp(12px, 3.75vw, 15px);
  }

  .vibe-quality .quality-layout li {
    white-space: nowrap;
  }

  .vibe-quality .quality-layout li::before {
    margin-right: 12px;
  }

  .vibe-problems .problem-list article {
    align-items: start;
  }

  .hero {
    padding-top: 117px !important;
  }

  .wd-hero {
    padding-top: 107px !important;
  }

  .vibe-hero {
    padding-top: 97px !important;
  }

  .vibe-hero .hero-layout {
    padding-top: 36px !important;
  }

  .article-hero {
    padding-top: 84px !important;
  }

  .hero .hero-grid {
    position: relative;
    display: block;
    height: 314px;
    min-height: 314px;
    overflow: visible;
    background: transparent;
  }

  .hero {
    min-height: 0 !important;
    padding-bottom: 40px !important;
  }

  .hero .eyebrow {
    margin-bottom: 25px !important;
  }

  .hero .hero-copy {
    position: absolute;
    z-index: 4;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    width: 100%;
    height: 314px;
  }

  .hero .showcase {
    position: relative;
    z-index: 1;
    top: 0;
    width: calc(100% + 32px);
    height: 314px;
    margin: 0 -16px;
    overflow: hidden;
    background: transparent;
    isolation: isolate;
  }

  .hero .showcase.has-custom-laptop::after {
    content: "";
    position: absolute;
    z-index: 3;
    inset: 0 auto 0 0;
    width: 58%;
    pointer-events: none;
    background: linear-gradient(90deg, #06172f 0%, rgba(6, 23, 47, .94) 18%, rgba(6, 23, 47, .62) 48%, transparent 100%);
  }

  .hero .showcase .laptop-custom-image {
    z-index: 2;
    display: block;
    width: 100%;
    max-width: none;
    top: 0;
    bottom: 0;
    height: 100%;
    background: transparent;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.75);
    transform-origin: center center;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero .hero-copy h1 {
    position: relative;
    z-index: 2;
    text-shadow: 0 3px 22px rgba(2, 13, 27, 0.72);
  }

  .hero .hero-bottom-cta {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    display: flex;
    width: calc(100% - 32px);
    margin: 40px auto 0;
    transform: none !important;
  }

  .hero .hero-bottom-cta:hover {
    transform: translateY(-2px) !important;
  }

  .hero .scroll-cue {
    display: none;
  }

  .services-transition .pricing {
    padding-bottom: 36px !important;
  }

  .services-transition + .intro {
    padding-top: 40px !important;
    gap: 20px !important;
  }

  .about-card footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
  }

  .about-card footer > a:first-child {
    margin-right: auto !important;
  }

  .about-card footer .social-icon {
    flex: 0 0 28px;
  }

  .about-visual {
    width: 100%;
    min-height: 500px !important;
    height: 500px;
    padding: 0 0 20px !important;
  }

  .about-visual-inner {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .about-photo {
    position: absolute !important;
    top: 0;
    right: 0;
    left: auto;
    width: 74% !important;
    height: auto !important;
    aspect-ratio: var(--portrait-aspect);
    border-radius: 28px;
  }

  .about-card {
    position: absolute !important;
    z-index: 3;
    right: auto !important;
    bottom: 0 !important;
    left: 0;
    width: 85% !important;
    margin: 0 !important;
    padding: 20px 18px !important;
    border-radius: 20px;
  }

  .about-card h3 {
    font-size: 18px;
  }

  .about-card > div {
    font-size: 12px;
    line-height: 1.55;
  }

  .about-card .about-card-tagline {
    white-space: normal;
  }

  .about-card footer {
    margin-top: 16px;
    padding-top: 16px;
    font-size: 11px;
  }

  .work-faq-flow .projects-section {
    padding-bottom: 0 !important;
  }

  .work-faq-flow .projects-faq-transition {
    display: none !important;
  }

  .work-faq-flow .faq-section {
    padding-top: 50px !important;
  }

  .blog-card {
    height: auto !important;
    min-height: 0 !important;
  }

  .blog-grid {
    align-items: start;
    grid-auto-rows: auto;
  }

  .blog-card-copy {
    flex: 0 0 auto;
  }

  .blog-card-copy footer {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    width: auto;
    margin: 16px 0 0 !important;
    padding: 0 !important;
    gap: 8px !important;
  }

  .blog-card-copy footer span,
  .blog-card-copy footer b {
    display: inline-block;
    margin: 0;
    line-height: 1;
  }

  .blog-card-copy footer b {
    display: inline-grid !important;
    place-items: center;
    align-self: center;
    height: 1em;
    transform: translateY(-1px);
  }
}
