/*
Theme Name: Direct Geprint
Theme URI: https://directgeprint.nl
Author: Giorgio Marrale
Author URI: https://directgeprint.nl
Description: Zakelijk WordPress-thema voor Direct Geprint. Stickers, banners, zeilen en bestickering in Groningen. Telefoon, WhatsApp en e-mail, zonder contactformulier.
Version: 1.4.4
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: directgeprint
Tags: one-column, custom-menu, accessibility-ready, featured-images
*/

/* Newsreader and Source Sans 3, SIL Open Font License. */

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #231f20;
  --ink-soft: rgba(35, 31, 32, 0.76);
  --red: #ed1c24;
  --red-deep: #9d1218;
  --paper: #f4f2ef;
  --white: #ffffff;
  --muted: #ebe7e2;
  --line: rgba(35, 31, 32, 0.14);
  --max: 72rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--red-deep);
}

h1,
h2,
h3,
.footer-name,
.fact-phone {
  font-family: "Newsreader", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
}

h1 span {
  display: block;
  margin-top: 0.12rem;
}

h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
}

h3 {
  margin: 0.45rem 0 0;
  font-size: 1.55rem;
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  top: 0.6rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  margin: 0;
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #f3b4b6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 2px solid var(--red);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: 5.5rem;
  padding-block: 0.85rem;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-right: auto;
  line-height: 0;
}

.brand img {
  display: block;
  height: 4.25rem;
  width: auto;
  max-width: 46vw;
}

.nav-toggle,
.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.header-call {
  padding: 0 0.85rem;
}

.nav-toggle {
  gap: 0.45rem;
  padding: 0 0.8rem;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: var(--ink);
  content: "";
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -5px;
}

.nav-toggle-bars::after {
  top: 5px;
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1rem 1.25rem 1.25rem;
  background: var(--white);
  border-bottom: 2px solid var(--red);
}

.primary-menu,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.primary-menu a,
.footer-menu a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.primary-menu a[aria-current="page"],
.primary-menu .current-menu-item > a,
.footer-menu .current-menu-item > a {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.button-solid {
  background: var(--ink);
  color: var(--white);
}

.button-outline {
  background: transparent;
}

.button-light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.button-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.button:focus-visible,
.nav-toggle:focus-visible,
.header-call:focus-visible,
.slider-controls button:focus-visible,
.slider-dots button:focus-visible,
.faq summary:focus-visible,
a:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

.hero {
  display: grid;
  gap: 1.75rem;
  padding: 3.2rem 0 2.5rem;
}

.lead,
.band-lead,
.prose {
  color: var(--ink-soft);
}

.lead {
  max-width: 38rem;
  margin-top: 1.15rem;
  font-size: 1.15rem;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
  align-items: center;
}

.side-note {
  margin: 0;
  max-width: 22rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--red);
  color: var(--ink-soft);
}

.slider {
  outline: none;
  padding-bottom: 2.5rem;
}

.slider-frame {
  background: var(--white);
  border: 1px solid var(--line);
  touch-action: pan-y;
}

.slider-frame img {
  user-select: none;
  -webkit-user-drag: none;
}

.slider-slide {
  margin: 0;
  display: grid;
  gap: 0;
}

.slider-slide[hidden] {
  display: none;
}

.slider-slide img {
  width: min(100%, 32rem);
  margin-inline: auto;
  background: var(--muted);
}

.slider-home .slider-frame,
.slider-home .slider-slide {
  height: 26rem;
  min-height: 26rem;
}

.slider-home .slider-frame {
  overflow: hidden;
}

.slider-home .slider-slide {
  grid-template-rows: 15rem 11rem;
}

.slider-home .slider-slide img {
  width: 100%;
  max-width: none;
  min-height: 0;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-slide figcaption {
  padding: 1.15rem 1.2rem 1.3rem;
  border-top: 1px solid var(--line);
}

.slider-kicker {
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slider-caption {
  margin-top: 0.4rem;
  max-width: 34rem;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.slider-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.8rem;
}

.slider-dots,
.slider-controls {
  display: flex;
  gap: 0.4rem;
}

.slider-controls button,
.slider-dots button {
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.slider-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
}

.slider-controls svg {
  width: 1.15rem;
  height: 1.15rem;
}

.slider-dots button {
  width: 0.7rem;
  height: 0.7rem;
  padding: 0;
  border-radius: 99px;
  background: transparent;
}

.slider-dots button[aria-current="true"] {
  background: var(--red);
  border-color: var(--red);
  width: 1.5rem;
}

.trust {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-grid {
  display: grid;
  gap: 1.25rem;
  padding: 1.4rem 0;
}

.trust-label,
.fact-label,
.role {
  margin: 0;
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.trust-grid p:last-child {
  margin-top: 0.2rem;
  font-weight: 600;
}

.section,
.content-page {
  padding: 4rem 0;
}

#faq,
#werk {
  scroll-margin-top: 6rem;
}

.section-head {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.section-head p:last-child,
.content-page > .lead {
  max-width: 36rem;
  color: var(--ink-soft);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.service-card {
  padding-top: 1rem;
  border-top: 2px solid var(--ink);
}

.service-card h3 {
  margin-top: 0;
}

.service-card p:last-child {
  margin-top: 0.65rem;
  color: var(--ink-soft);
}

.clients-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.client-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 8.5rem;
  overflow: hidden;
  padding: 1.4rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  transition: background-color 280ms ease;
}

.client-logo-card img,
.client-logo-name {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 4.75rem;
  object-fit: contain;
  opacity: 1;
  transition: opacity 280ms ease;
}

.client-logo-card [hidden] {
	display: none;
}

.client-logo-card.is-dissolving img,
.client-logo-card.is-dissolving .client-logo-name {
  opacity: 0;
}

.client-logo-card[data-logo-theme="dark"] {
  background: var(--ink);
}

.client-logo-card--wide img {
  max-width: 88%;
}

.client-logo-card--compact img {
  max-height: 6.75rem;
}

.client-logo-name {
	max-width: 24rem;
	color: #ed1c24;
	font-family: "Newsreader", Georgia, serif;
	font-size: clamp(1.25rem, 2.4vw, 1.8rem);
	font-weight: 700;
	line-height: 1.05;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .client-logo-card,
  .client-logo-card img,
  .client-logo-name {
    transition: none;
  }
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::marker {
  content: "";
}

.faq summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--red);
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0 0 1.2rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.contact-band {
  background: var(--ink);
  color: var(--white);
  padding: 4rem 0;
}

.contact-band-inner {
  display: grid;
  gap: 1.5rem;
}

.contact-band h2 {
  margin-top: 0.45rem;
  max-width: 14ch;
}

.band-lead {
  margin-top: 0.9rem;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.82);
}

.text-link {
  font-weight: 600;
  text-underline-offset: 0.25rem;
}

.text-link-light {
  color: var(--white);
}

.content-page h1 {
  max-width: 16ch;
}

.prose {
  display: grid;
  gap: 1rem;
  max-width: 40rem;
  margin-top: 1.4rem;
  font-size: 1.1rem;
}

.prose h2 {
  margin-top: 1.2rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.about-layout,
.contact-layout {
  display: grid;
  gap: 2rem;
  margin-top: 1.6rem;
}

.person {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.3rem;
}

.person img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--muted);
}

.person h2 {
  margin-top: 1rem;
  font-size: 1.8rem;
}

.role {
  margin-top: 0.35rem;
}

.person ul {
  margin: 0.9rem 0 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  display: grid;
  gap: 0.45rem;
}

.page-close {
  margin-top: 2.5rem;
}

.contact-card {
  margin: 0;
  padding: 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  font-style: normal;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.contact-card h2 {
  margin-bottom: 0.6rem;
  font-size: 1.8rem;
}

.contact-card .fact-label {
  margin-top: 0.85rem;
}

.fact-phone {
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(1.8rem, 3vw, 2.3rem);
}

.contact-card .button {
  justify-self: start;
  margin-top: 0.25rem;
}

.site-footer {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding: 2.5rem 0;
}

.footer-grid {
  display: grid;
  gap: 1.6rem;
}

.footer-name {
  margin: 0 0 0.45rem;
  font-size: 1.6rem;
}

.footer-kvk,
.footer-hours {
  margin-top: 0.7rem;
  color: var(--ink-soft);
}

.footer-contact {
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.footer-contact a {
  color: var(--ink);
  font-weight: 600;
}

.footer-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--ink);
  background: var(--white);
  color: var(--ink);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.footer-icon:hover {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.footer-icon svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.footer-icon .icon-cutout {
  fill: var(--white);
}

.footer-icon:hover .icon-cutout {
  fill: var(--red);
}

.footer-note {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-credit img {
  width: 6.5rem;
  height: auto;
  transition: opacity 160ms ease;
}

.footer-credit:hover img {
  opacity: 0.72;
}

.footer-credit:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 0.25rem;
}

@media (min-width: 800px) {
  .trust-grid,
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .client-logo-card {
    height: 10rem;
    padding: 1.8rem;
  }

  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .slider-slide {
    grid-template-columns: minmax(16rem, 22rem) 1fr;
    align-items: end;
  }

  .slider-slide figcaption {
    border-top: 0;
    border-left: 1px solid var(--line);
    padding: 1.6rem 1.6rem 1.8rem;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .slider-home .slider-frame,
  .slider-home .slider-slide {
    height: 24rem;
    min-height: 24rem;
  }

  .slider-home .slider-slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .slider-home .slider-slide img {
    width: 100%;
    max-width: none;
    height: 100%;
  }

  .about-layout,
  .contact-layout,
  .section-head,
  .contact-band-inner,
  .footer-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: start;
  }

  .section-head {
    align-items: end;
  }

  .contact-band-inner {
    align-items: end;
  }

  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr 0.9fr;
  }
}

.project-list {
  display: grid;
  gap: 2.5rem 1.5rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.project-block {
  display: grid;
  grid-template-rows: auto 1fr;
  align-content: start;
  min-width: 0;
}

.project-block h2 {
  font-size: clamp(1.6rem, 2vw, 2rem);
}

.project-copy > p {
  margin-top: 0.35rem;
  max-width: 40rem;
  color: var(--ink-soft);
}

.project-block .slider,
.project-block .project-photo {
  margin-top: 0.65rem;
}

.project-photo {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
}

.project-photo,
.slider-project .slider-frame {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.slider-project .slider-slide {
  height: 100%;
}

.slider-project .slider-frame {
  position: relative;
}

.slider-project .slider-slide.is-entering {
  position: relative;
  z-index: 2;
  will-change: transform;
}

.slider-project .slider-slide.is-leaving {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  will-change: transform;
}

.slider-project.is-forward .slider-slide.is-entering {
  animation: project-slide-in-forward 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.slider-project.is-forward .slider-slide.is-leaving {
  animation: project-slide-out-forward 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.slider-project.is-backward .slider-slide.is-entering {
  animation: project-slide-in-backward 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.slider-project.is-backward .slider-slide.is-leaving {
  animation: project-slide-out-backward 320ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

@keyframes project-slide-in-forward {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes project-slide-out-forward {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes project-slide-in-backward {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes project-slide-out-backward {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

.project-photo img,
.slider-project .slider-slide img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  background: var(--muted);
}

.slider-project {
  padding-bottom: 0;
}

.section-more {
  margin-top: 1.6rem;
}

@media (min-width: 800px) {
  .project-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-copy {
    min-height: 6.25rem;
  }

  .slider-project .slider-slide {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .slider-project .slider-slide.is-entering,
  .slider-project .slider-slide.is-leaving {
    animation: none;
  }
}

@media (min-width: 1024px) {
  .brand img {
    height: 4.75rem;
  }

  .nav-toggle,
  .header-call {
    display: none;
  }

  .site-nav {
    display: flex;
    align-items: center;
    gap: 1.35rem;
  }

  .primary-menu {
    flex-direction: row;
    align-items: center;
    gap: 1.35rem;
  }

  .hero {
    grid-template-columns: 1.4fr 0.7fr;
    align-items: end;
    padding-top: 4.2rem;
    padding-bottom: 3.2rem;
  }

  .side-note {
    justify-self: end;
    margin-bottom: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

::selection {
  background: var(--ink);
  color: var(--white);
}
