/*
Theme Name: Schildersbedrijf Prisma
Theme URI: https://schildersbedrijfprisma.nl
Author: Schildersbedrijf Prisma
Description: WordPress-thema voor Schildersbedrijf Prisma, gebaseerd op het bestaande statische ontwerp.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: schildersbedrijf-prisma
*/

:root {
  --ink: #10100f;
  --paper: #f7f4ee;
  --soft: #e8e0d3;
  --muted: #6f6a61;
  --white: #ffffff;
  --line: rgba(255, 255, 255, 0.18);
  --red: #f14d43;
  --yellow: #f1c849;
  --green: #3bbc78;
  --blue: #4094e8;
  --violet: #7c5ad8;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(16, 16, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 16, 15, 0.82);
  color: var(--white);
  backdrop-filter: blur(18px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 72px;
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  width: clamp(252px, 31vw, 396px);
  height: auto;
  max-height: 53px;
  object-fit: contain;
}

.custom-logo {
  width: clamp(252px, 31vw, 396px);
  height: auto;
  max-height: 53px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  cursor: pointer;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.14);
  outline: none;
}

.menu-toggle-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.menu-toggle-icon span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-icon span:nth-child(1) {
  top: 0;
}

.menu-toggle-icon span:nth-child(2) {
  top: 7px;
}

.menu-toggle-icon span:nth-child(3) {
  top: 14px;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-links,
.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

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

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

.button-outline {
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button-outline-dark {
  border-color: var(--line);
  color: var(--ink);
}

.hero {
  position: relative;
  min-height: 92vh;
  padding: 124px 0 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.94), rgba(16, 16, 15, 0.7)),
    radial-gradient(circle at 78% 46%, rgba(255, 255, 255, 0.12), transparent 24%),
    var(--ink);
  color: var(--white);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  align-items: end;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(92vh - 180px);
  margin: 0 auto;
  gap: 54px;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 5.8vw, 5.95rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-panel {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 18px;
  padding-bottom: 12px;
}

.hero-art {
  display: grid;
  place-items: center;
  min-height: 280px;
  margin: 0;
}

.hero-art img {
  width: min(100%, 520px);
  height: auto;
  filter: drop-shadow(0 26px 54px rgba(0, 0, 0, 0.34));
}

.quote-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.quote-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.quote-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-size: 1.1rem;
}

main section {
  padding: 86px 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(280px, 0.5fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service {
  min-height: 230px;
  padding: 24px;
  border: 1px solid rgba(16, 16, 15, 0.12);
  border-radius: var(--radius);
  background: var(--white);
}

.service-link {
  display: block;
}

.service-link:hover {
  border-color: var(--ink);
  box-shadow: 0 8px 24px rgba(16, 16, 15, 0.08);
}

.service-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 5px;
}

.service span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.service h3,
.step h3,
.contact-panel h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.service p,
.step p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.work {
  background: var(--soft);
}

.work-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(0, 1fr);
  gap: 42px;
  align-items: stretch;
}

.brand-photo {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  padding: clamp(20px, 4vw, 44px);
  box-shadow: var(--shadow);
}

.brand-photo img {
  width: 100%;
  max-width: 860px;
  height: auto;
  object-fit: contain;
}

.steps {
  display: grid;
  gap: 12px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.step-number {
  color: var(--muted);
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.projects-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 14px;
}

.projects-strip-count-1 {
  grid-template-columns: minmax(280px, 420px);
}

.project {
  position: relative;
  min-height: auto;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(16, 16, 15, 0.12), rgba(16, 16, 15, 0.48)),
    var(--soft);
}

.project-link {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--white);
}

.project::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(120deg, transparent 0 38%, rgba(255, 255, 255, 0.32) 38% 41%, transparent 41%),
    repeating-linear-gradient(
      90deg,
      rgba(16, 16, 15, 0.08) 0 1px,
      transparent 1px 38px
    );
}

.project:nth-child(1) {
  background-color: #d8d0c4;
}

.project:nth-child(2) {
  background-color: #bbc8c4;
}

.project:nth-child(3) {
  background-color: #d7c0ad;
}

.project-label {
  position: absolute;
  left: 18px;
  bottom: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.72);
}

.project-media {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.project-media-single {
  grid-template-columns: 1fr;
}

.project-shot {
  position: relative;
  display: grid;
  place-items: end start;
  padding: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-shot-image {
  overflow: hidden;
  padding: 0;
}

.project-shot-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: brightness(0.78);
}

.project-shot-image span {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(16, 16, 15, 0.76);
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1;
}

.project-shot-before {
  background:
    linear-gradient(145deg, rgba(16, 16, 15, 0.18), rgba(16, 16, 15, 0.54)),
    #b9b1a5;
}

.project-shot-after {
  background:
    linear-gradient(145deg, rgba(16, 16, 15, 0.08), rgba(16, 16, 15, 0.38)),
    #d8d0c4;
}

.section-actions {
  margin-top: 22px;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
  gap: 46px;
  align-items: start;
}

.contact h2 {
  max-width: 760px;
}

.contact .lede {
  max-width: 610px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 760px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.form-field {
  display: grid;
  gap: 7px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid rgba(64, 148, 232, 0.42);
  border-color: var(--blue);
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

.form-status a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  padding: 150px 0 70px;
  background:
    linear-gradient(90deg, rgba(16, 16, 15, 0.96), rgba(16, 16, 15, 0.72)),
    var(--ink);
  color: var(--white);
}

.page-hero .eyebrow,
.page-hero .hero-copy {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero-cta {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
}

.page-hero-cta .hero-copy {
  flex: 1 1 560px;
}

.page-hero-cta .button {
  flex: 0 0 auto;
  margin-top: 28px;
}

.project-grid {
  display: grid;
  gap: 24px;
}

.post-type-archive-prisma_project .project-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 420px));
  justify-content: start;
}

.project-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid rgba(16, 16, 15, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 48px rgba(16, 16, 15, 0.12);
}

.post-type-archive-prisma_project .project-card {
  max-width: 420px;
}

.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: auto;
  aspect-ratio: 16 / 10;
}

.before-after-single {
  grid-template-columns: 1fr;
}

.project-photo {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 0;
  min-width: 0;
  background:
    linear-gradient(145deg, rgba(16, 16, 15, 0.08), rgba(16, 16, 15, 0.34)),
    var(--soft);
}

.project-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.project-photo-button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.project-photo-button:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: -6px;
}

.project-photo-button img {
  display: block;
  transition: transform 220ms ease;
}

.project-photo-button:hover img,
.project-photo-button:focus-visible img {
  transform: scale(1.035);
}

.project-photo-empty {
  padding: 24px;
  color: rgba(16, 16, 15, 0.52);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.photo-label {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(16, 16, 15, 0.78);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
}

.project-info {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
}

.project-group {
  width: fit-content;
  border-radius: 999px;
  padding: 7px 11px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.project-info h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.project-info p {
  margin: 0;
  color: var(--muted);
}

.project-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.single-prisma_project .project-grid {
  grid-template-columns: minmax(0, 920px);
}

.single-prisma_project .project-card {
  max-width: 920px;
}

.single-prisma_project .before-after {
  aspect-ratio: 16 / 9;
}

.prisma-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(16, 16, 15, 0.92);
}

.prisma-lightbox.is-open {
  display: flex;
}

.prisma-lightbox img {
  display: block;
  width: auto;
  max-width: min(100%, 1320px);
  max-height: calc(100vh - 56px);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.prisma-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(16, 16, 15, 0.72);
  color: var(--white);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
}

.prisma-lightbox-close:hover,
.prisma-lightbox-close:focus-visible {
  background: var(--white);
  color: var(--ink);
}

body.prisma-lightbox-open {
  overflow: hidden;
}

.vcard-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 150px 20px 72px;
  background: var(--soft);
}

.vcard-card {
  width: min(100%, 920px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  gap: 34px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: clamp(24px, 5vw, 48px);
  box-shadow: 0 24px 70px rgba(16, 16, 15, 0.08);
}

.vcard-logo {
  width: min(100%, 300px);
  height: auto;
  margin-bottom: 36px;
}

.vcard-details {
  display: grid;
  gap: 8px;
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.vcard-details strong {
  color: var(--ink);
}

.vcard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.vcard-qr-panel {
  display: grid;
  justify-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #faf9f6;
  padding: 22px;
  text-align: center;
}

.vcard-qr-panel img {
  width: min(100%, 260px);
  height: auto;
  border: 10px solid var(--white);
  border-radius: 6px;
}

.vcard-qr-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  padding: 24px 0;
  background: #080807;
  color: rgba(255, 255, 255, 0.58);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  gap: 24px;
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.page-main {
  padding: 140px 0 86px;
}

.page-container {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

.page-title {
  margin-bottom: 32px;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.entry-content {
  color: var(--ink);
  font-size: 1.05rem;
}

.entry-content a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content h2 {
  margin: 34px 0 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(16, 16, 15, 0.12);
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.entry-content p,
.entry-content ol,
.entry-content ul {
  margin-top: 0;
  margin-bottom: 14px;
}

.entry-content ol,
.entry-content ul {
  padding-left: 22px;
}

.prisma-interior > p,
.prisma-interior > ul,
.prisma-interior > .wp-block-group__inner-container > p,
.prisma-interior > .wp-block-group__inner-container > ul {
  max-width: 760px;
  margin-bottom: 24px;
}

.prisma-interior-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 36px 0;
}

.prisma-interior-photos .wp-block-image {
  margin: 0;
}

.prisma-interior-photos > .wp-block-group__inner-container {
  display: contents;
}

.prisma-interior-photos img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
}

.prisma-interior-photos figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.prisma-interior .wp-block-button__link {
  display: inline-block;
  padding: 16px 24px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.prisma-interior a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.prisma-interior .wp-block-buttons {
  margin: 28px 0 20px;
}

@media (max-width: 560px) {
  .prisma-interior-photos {
    grid-template-columns: 1fr;
  }
}

.entry-content li + li {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .nav {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links,
  .nav-menu {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 88px);
    margin: 0;
    padding: 10px;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    background: rgba(16, 16, 15, 0.98);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .nav.is-menu-open .nav-links,
  .nav.is-menu-open .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-links a,
  .nav-menu a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 48px;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
  }

  .nav-links a:last-child,
  .nav-menu li:last-child a {
    border-bottom: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-links .button {
    justify-content: center;
    margin-top: 8px;
    color: var(--ink);
  }

  .hero-inner,
  .section-heading,
  .work-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 760px;
    align-items: end;
  }

  .services-grid,
  .projects-strip {
    grid-template-columns: 1fr;
  }

  .before-after {
    aspect-ratio: 4 / 3;
  }

  .post-type-archive-prisma_project .project-grid {
    grid-template-columns: 1fr;
  }

  .post-type-archive-prisma_project .project-card {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .nav {
    width: min(100% - 28px, 1180px);
    min-height: 66px;
  }

  .brand {
    font-size: 0.95rem;
  }

  .brand-logo {
    width: min(64vw, 312px);
    max-height: 46px;
  }

  .hero,
  main section {
    padding-left: 0;
    padding-right: 0;
  }

  .container,
  .hero-inner,
  .footer-inner,
  .page-container {
    width: min(100% - 28px, 1180px);
  }

  .hero-inner {
    min-height: 710px;
    gap: 28px;
  }

  .hero-art {
    min-height: auto;
  }

  .button {
    width: 100%;
  }

  .page-hero-cta {
    display: block;
  }

  .vcard-card {
    grid-template-columns: 1fr;
  }

  .vcard-actions .button {
    width: 100%;
  }

  .step {
    grid-template-columns: 1fr;
  }

  .quote-form {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .before-after {
    grid-template-columns: 1fr;
    aspect-ratio: auto;
  }

  .project-photo {
    aspect-ratio: 4 / 3;
  }

  .project-info {
    padding: 22px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .page-main {
    padding: 110px 0 56px;
  }
}
