/*
Theme Name: Pim v2
Theme URI: https://pimhaarsma.nl/
Description: One-page theme voor Pim Haarsma Media.
Author: Pim Haarsma
Template: twentytwentyfive
Version: 2.0.0
Text Domain: pim-v2
*/

:root {
  --bg: #f4efe7;
  --card: #fffdf9;
  --ink: #181614;
  --muted: #6d665c;
  --line: #e3dbcf;
  --orange: #f26a21;
  --orange-dark: #d95312;
  --dark: #171513;
  --radius: 28px;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(var(--wrap), calc(100% - 64px)); margin: 0 auto; }
section[id] { scroll-margin-top: 110px; }

.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: #f8f3eb;
  background: rgb(18 15 12 / 16%);
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 94px; }
.brand img { width: 156px; height: auto; }
.nav-links { display: flex; gap: 34px; font-size: 14px; font-weight: 600; letter-spacing: .02em; }
.nav-links a { position: relative; color: rgba(255,255,255,.86); }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 2px; background: var(--orange); transition: width .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; background: var(--orange); color: #fff; border: 1px solid var(--orange); border-radius: 999px; padding: 15px 24px; font-size: 14px; font-weight: 700; letter-spacing: .01em; transition: transform .18s ease, background .18s ease; }
.btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-1px); }
.btn span { font-size: 17px; line-height: 1; }
.btn-small { padding: 11px 19px; font-size: 13px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: #cfc5b7; }
.btn-white { background: #fff; color: var(--ink); border-color: #d8cfc2; }
.btn-white:hover { background: var(--dark); color: #fff; border-color: var(--dark); }
.btn-ghost:hover { background: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

.hero-dark { position: relative; overflow: hidden; background: var(--dark); color: #f8f3eb; padding: 156px 0 150px; border-bottom: 12px solid var(--orange); }
.hero-dark::before { content: ""; position: absolute; inset: -40px; background: url("assets/foto1-blur.jpg") center 18% / cover no-repeat; opacity: .92; transform: scale(1.04); }
.hero-dark::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,15,12,.86) 0%, rgba(18,15,12,.62) 43%, rgba(18,15,12,.24) 100%), linear-gradient(0deg, rgba(18,15,12,.92) 0%, rgba(18,15,12,.08) 58%); }
.hero { position: relative; z-index: 2; display: grid; grid-template-columns: .88fr 1.12fr; gap: 58px; align-items: center; }
.hero-photo { position: relative; }
.hero-photo::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -26px; top: 22px; background: rgba(242,106,33,.28); filter: blur(4px); }
.portrait { position: relative; width: 100%; height: 560px; object-fit: cover; object-position: 52% 20%; border-radius: 28px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 28px 60px rgba(0,0,0,.35); filter: saturate(.98); }

.hero-card { background: var(--card); color: var(--ink); border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: 42px 46px 32px; box-shadow: 0 30px 70px rgba(0,0,0,.28); }
.card-logo { margin: 0 0 14px; }
.card-logo img { width: 300px; }
.tagline { margin: 0 0 22px; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 800; color: var(--orange); }
.lead { max-width: 540px; margin: 0 0 26px; color: #4e4942; font-size: 17px; line-height: 1.65; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-top: 20px; border-top: 1px solid var(--line); }
.partner-logo { display: inline-flex; align-items: center; background: #9e9e9e; border-radius: 9px; padding: 7px 10px; transition: background .18s ease; }
.partner-logo:hover { background: var(--orange); }
.partner-logo img { width: 92px; height: auto; display: block; }
.footer-321 { display: inline-flex; align-items: center; opacity: .92; }
.footer-321 img { width: 78px; height: auto; display: block; }
.social-icons { display: flex; gap: 8px; }
.social-icons a { width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--muted); transition: color .18s ease, border-color .18s ease, background .18s ease; }
.social-icons a:hover { color: #fff; border-color: var(--orange); background: var(--orange); }

.ticker-track { white-space: nowrap; padding: 13px 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: none; }

.section { padding: 100px 0; }
.section-head { display: grid; grid-template-columns: 170px 1fr 330px; gap: 36px; align-items: start; margin-bottom: 46px; }
.kicker { padding-top: 9px; font-size: 11px; text-transform: uppercase; letter-spacing: .17em; font-weight: 800; color: var(--muted); }
h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; }
h2 em { font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif; font-weight: 400; color: var(--orange); letter-spacing: -.02em; }
.section-intro { margin: 6px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.service { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(45,35,22,.08); }
.service-image { height: 172px; overflow: hidden; background: #ddd; }
.service-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.95); }
.service-web { display: flex; align-items: flex-end; padding: 22px 24px; background: radial-gradient(circle at 18% 18%, #6fd2d0 0, #157c85 55%, #0d4550 100%); }
.service-web span { color: #fff; font-size: 42px; line-height: .9; letter-spacing: -.06em; font-weight: 900; opacity: .95; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 24px; }
.service-num { font-size: 11px; font-weight: 800; color: var(--orange); letter-spacing: .12em; margin-bottom: 14px; }
h3 { margin: 0 0 10px; font-size: 25px; letter-spacing: -.03em; }
.service p { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: auto; }
.tags span { border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; font-size: 10px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.section-dark { background: var(--dark); color: #f7f2ea; }
.section-dark .kicker { color: #a9a095; }
.section-dark h2 em { color: var(--orange); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work { position: relative; min-height: 360px; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; padding: 28px; background-size: cover; background-position: center; transition: transform .2s ease; }
.work:hover { transform: translateY(-4px); }
.work-live { background-image: url("assets/321live-van.jpg"); background-position: 58% center; }
.work-app { background: radial-gradient(circle at 22% 18%, #6fd2d0 0, #157c85 55%, #0d4550 100%); }
.work-studio { background-image: url("assets/control-room.jpg"); background-position: 55% center; }
.work-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,9,8,.72) 0%, rgba(10,9,8,.12) 62%, rgba(10,9,8,.03) 100%); }
.work-app .work-shade { background: linear-gradient(0deg, rgba(5,50,56,.65) 0%, rgba(5,50,56,.05) 70%); }
.work-content { position: relative; z-index: 1; width: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.work-mark { font-size: 44px; line-height: .86; font-weight: 900; letter-spacing: -.07em; color: #fff; }
.work-mark span { opacity: .72; }
.work-meta { display: flex; flex-direction: column; gap: 4px; color: #fff; text-align: right; }
.work-meta strong { font-size: 14px; }
.work-meta span { font-size: 11px; opacity: .78; max-width: 160px; }

.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.about-photo img { width: 100%; height: 480px; object-fit: cover; object-position: 50% 24%; border-radius: 24px; filter: saturate(.98); }
.about-copy h2 { margin: 16px 0 24px; }
.about-copy p { color: #4e4942; max-width: 590px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts div { display: flex; flex-direction: column; gap: 4px; }
.facts span { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--muted); }
.facts strong { font-size: 16px; }

.contact { background: linear-gradient(90deg, rgba(242,106,33,.96), rgba(217,83,18,.92)), url("assets/concert.jpg") center 45% / cover; color: #fff; padding: 90px 0; }
.contact-inner { display: flex; justify-content: space-between; align-items: end; gap: 50px; }
.contact h2 { font-size: clamp(46px, 5vw, 74px); }
.contact h2 em { color: #fff; opacity: .88; }
.contact p { max-width: 480px; margin: 20px 0 0; color: rgba(255,255,255,.9); }
.kicker-light { color: rgba(255,255,255,.72); }
.contact-actions { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.contact-socials { display: flex; gap: 18px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: none; }
.contact-socials a { border-bottom: 1px solid rgba(255,255,255,.45); padding-bottom: 3px; }

.footer { background: var(--dark); color: #9e968b; padding: 36px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 11px; }
.footer-phm { width: 150px; height: auto; filter: grayscale(1) brightness(1.6); opacity: .8; }
.footer-right { display: flex; align-items: center; gap: 18px; }
.social-icons-light a { border-color: rgba(255,255,255,.22); color: #cfc7bb; }
.social-icons-light a:hover { color: #fff; border-color: var(--orange); }
.footer a:hover { color: #fff; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr 1.15fr; gap: 34px; }
  .portrait { height: 520px; }
  .hero-card { padding: 34px 34px 28px; }
  .card-logo img { width: 250px; }
  .section-head { grid-template-columns: 130px 1fr; }
  .section-intro { grid-column: 2; max-width: 500px; }
  .about { gap: 40px; }
}
@media (max-width: 820px) {
  .wrap { width: calc(100% - 40px); }
  .nav { min-height: 80px; }
  .nav-links { display: none; }
  .brand img { width: 136px; }
  .hero-dark { padding: 124px 0 90px; }
  .hero { grid-template-columns: 1fr; }
  .portrait { height: 430px; }
  .hero-photo::before { width: 250px; height: 250px; right: -12px; top: 14px; }
  .hero-card { padding: 30px 26px 26px; }
  .card-logo img { width: 230px; }

  .section { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 12px; }
  .section-intro { grid-column: auto; }
  .services, .work-grid { grid-template-columns: 1fr; }
  .work { min-height: 280px; }
  .about { grid-template-columns: 1fr; }
  .about-photo img { height: 380px; }
  .contact-inner { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

.video-section { padding: 100px 0; background: #ece3d6; }
.video-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; }
.video-visual { position: relative; }
.video-main { width: 100%; height: 560px; object-fit: cover; border-radius: 26px; filter: saturate(.98); }
.video-inset { position: absolute; right: 20px; bottom: 20px; width: 190px; height: 120px; object-fit: cover; border: 6px solid #ece3d6; border-radius: 14px; box-shadow: 0 12px 30px rgba(25,18,12,.25); }
.video-caption { position: absolute; left: 20px; bottom: 20px; background: rgba(255,253,249,.94); backdrop-filter: blur(8px); padding: 10px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.video-copy h2 { margin: 14px 0 22px; }
.video-copy > p { margin: 0; max-width: 570px; color: #4e4942; }
.roles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(24,22,20,.14); }
.roles span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .13em; color: var(--orange); margin-bottom: 5px; }
.roles strong { display: block; font-size: 13px; margin-bottom: 4px; }
.roles p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.clients { margin-top: 64px; }
.clients-head { display: flex; justify-content: space-between; gap: 20px; padding-top: 16px; border-top: 1px solid rgba(24,22,20,.16); font-size: 10px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.clients-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 10px; border-top: 1px solid rgba(24,22,20,.16); }
.client { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 16px 20px 16px 0; border-bottom: 1px solid rgba(24,22,20,.16); }
.client:nth-child(3n+1) { padding-left: 0; }
.client:nth-child(3n+2) { padding-left: 20px; }
.client:nth-child(3n) { padding-left: 20px; }
.client strong { font-size: 14px; font-weight: 700; }
.client span { font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: right; }
.client:hover strong { color: var(--orange); }
@media (max-width: 1050px) { .video-grid { gap: 40px; } .video-main { height: 500px; } }
@media (max-width: 820px) {
  .video-section { padding: 70px 0; }
  .video-grid { grid-template-columns: 1fr; }
  .video-main { height: 400px; }
  .video-inset { width: 135px; height: 90px; right: 14px; bottom: 14px; border-width: 4px; }
  .play { width: 62px; height: 62px; }
  .play span { border-left-width: 16px; border-top-width: 10px; border-bottom-width: 10px; }
  .roles { grid-template-columns: 1fr; gap: 14px; }
  .clients { margin-top: 44px; }
  .clients-grid { grid-template-columns: 1fr; }
  .client, .client:nth-child(3n+1), .client:nth-child(3n+2), .client:nth-child(3n) { padding: 15px 0; }
}


/* WordPress-omgeving */
body.admin-bar .topbar { top: 32px; }
.wp-site-blocks, .entry-content { margin: 0; max-width: none; }
.entry-content > .wp-block-html { max-width: none; }
.page-main { padding: 150px 24px 80px; max-width: 900px; }
.page-main h1 { font-size: clamp(36px, 5vw, 58px); margin-bottom: 28px; }
.page-main h2 { margin-top: 42px; }
.page-main p, .page-main li { color: #4e4942; }
@media (max-width: 782px) { body.admin-bar .topbar { top: 46px; } }

/* Gutenberg-blokken */
.entry-content > .wp-block-group,
.entry-content > .wp-block-columns { margin-top: 0; margin-bottom: 0; }
.wp-block-group.section { margin-left: auto; margin-right: auto; margin-top: 0; margin-bottom: 0; }
.wp-block-columns { margin-top: 0; margin-bottom: 0; }
.wp-block-columns.hero { display: grid; grid-template-columns: .88fr 1.12fr; gap: 58px; align-items: center; margin: 0 auto; }
.hero-photo .wp-block-image { margin: 0; }
.hero-card { padding: 42px 46px 32px; align-self: center; }
.hero-card .wp-block-paragraph { margin-left: 0; margin-right: 0; }
.hero-card .tagline { margin-bottom: 22px; }
.hero-card .lead { margin-bottom: 26px; }
.section-head { margin-bottom: 46px; }
.section-head .wp-block-paragraph { margin-top: 0; margin-bottom: 0; }
.section-head .section-intro { margin-top: 6px; }
.services.wp-block-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; }
.service.wp-block-column { padding: 0; }
.service-image { margin: 0; }
.service-body { padding: 26px 28px 24px; }
.service-body .wp-block-heading { margin: 0 0 10px; }
.service-body .wp-block-paragraph { margin: 0 0 22px; }
.service-body .tags { margin: 0; }
.video-grid.wp-block-columns { display: grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items: center; margin: 0 auto; }
.video-image { margin: 0; }
.video-copy .wp-block-heading { margin: 14px 0 22px; }
.video-copy > .wp-block-paragraph { margin: 0; }
.video-copy > .kicker { margin-bottom: 0; }
.video-inset, .play, .video-caption { z-index: 2; }
.roles.wp-block-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid rgba(24,22,20,.14); }
.roles.wp-block-columns .wp-block-column { padding: 0; }
.roles .wp-block-column strong { display: block; font-size: 13px; margin-bottom: 4px; }
.roles .wp-block-column p { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.about.wp-block-columns { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; margin: 0; }
.about-photo .wp-block-image { margin: 0; }
.about-copy .kicker { margin-bottom: 0; }
.about-copy .wp-block-heading { margin: 16px 0 24px; }
.about-copy .wp-block-paragraph { margin-top: 0; }
.facts.wp-block-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 32px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.facts .wp-block-column { display: flex; flex-direction: column; gap: 4px; padding: 0; }
.facts .wp-block-column span { font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 800; color: var(--muted); }
.facts .wp-block-column strong { font-size: 16px; }
.contact-inner.wp-block-columns { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin: 0 auto; }
.contact-inner.wp-block-columns > .contact-copy { flex: 1 1 auto; }
.contact-inner.wp-block-columns > .contact-actions { flex: 0 0 auto; }
.contact-copy .wp-block-heading { margin-bottom: 0; }
.contact-copy .wp-block-paragraph { margin-bottom: 0; }
.contact-actions.wp-block-column { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
@media (max-width: 1050px) {
  .wp-block-columns.hero { grid-template-columns: 1fr 1.15fr; gap: 34px; }
  .video-grid.wp-block-columns { gap: 40px; }
  .about.wp-block-columns { gap: 40px; }
}
@media (max-width: 820px) {
  .wp-block-columns.hero { grid-template-columns: 1fr; }
  .hero-card { padding: 30px 26px 26px; }
  .services.wp-block-columns, .roles.wp-block-columns, .facts.wp-block-columns, .video-grid.wp-block-columns, .about.wp-block-columns { grid-template-columns: 1fr; }
  .roles.wp-block-columns { gap: 14px; }
  .contact-inner.wp-block-columns { flex-direction: column; align-items: flex-start; }
}

/* Block-afbeeldingen: core-styles overschrijven */
.hero-image img { width: 100%; height: 560px; object-fit: cover; object-position: 52% 20%; border-radius: 28px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 28px 60px rgba(0,0,0,.35); filter: saturate(.98); }
.video-image img { width: 100%; height: 560px; object-fit: cover; border-radius: 26px; filter: saturate(.98); }
@media (max-width: 1050px) { .hero-image img { height: 520px; } .video-image img { height: 500px; } }
@media (max-width: 820px) { .hero-image img { height: 430px; } .video-image img { height: 400px; } }

/* Rollen- en facts-blokken */
.roles .role-title { margin: 0 0 4px; }
.roles .role-title strong { font-size: 13px; color: var(--ink); }
.roles .role-text { margin: 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
.facts .fact { display: flex; flex-direction: column; gap: 4px; margin: 0; }

/* 404 */
.error-page { position: relative; min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; padding: 24px; background: var(--dark); color: #fff; }
.error-page::before { content: ""; position: absolute; inset: -30px; background: url("assets/foto1-blur.jpg") center 20% / cover no-repeat; opacity: .55; }
.error-page::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,15,12,.72), rgba(18,15,12,.92)); }
.error-card { position: relative; z-index: 2; width: min(410px, 100%); padding: 40px 36px 34px; text-align: center; background: var(--card); color: var(--ink); border: 1px solid rgba(255,255,255,.35); border-radius: 28px; box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.error-logo { display: block; margin: 0 auto 24px; }
.error-logo img { display: block; width: 210px; max-width: 100%; height: auto; margin: 0 auto; }
.error-card h1 { margin: 0 0 10px; font-size: clamp(1.3rem, 1.1rem + .6vw, 1.55rem); line-height: 1.15; letter-spacing: -.03em; }
.error-text { margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.error-back { width: 100%; }
@media (max-width: 520px) { .error-card { padding: 32px 24px 26px; } .error-logo img { width: 180px; } }
