/*
Theme Name: Marius van Herk
Theme URI: https://maintenance-profiel-nl.solar-fawn-2789.chatgpt.site/
Author: Marius van Herk
Description: Maatwerkthema voor het professionele profiel van Marius van Herk op het gebied van maintenance en asset management.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: marius-van-herk
*/

:root {
  --paper: #f1eee7;
  --paper-deep: #e5dfd3;
  --ink: #17221f;
  --ink-soft: #56625e;
  --forest: #18362f;
  --forest-deep: #102722;
  --copper: #a8603b;
  --sage: #89968b;
  --line: rgba(23, 34, 31, 0.18);
  --line-light: rgba(241, 238, 231, 0.22);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Aptos, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.section-shell {
  padding-left: clamp(24px, 5.2vw, 84px);
  padding-right: clamp(24px, 5.2vw, 84px);
}

.site-header {
  align-items: center;
  background: rgba(241, 238, 231, 0.94);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(280px, 1fr) auto minmax(160px, 1fr);
  min-height: 84px;
  padding: 12px clamp(24px, 5.2vw, 84px);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
}

.brand {
  align-items: center;
  display: flex;
  gap: 14px;
  width: fit-content;
}

.brand-mark {
  align-items: center;
  background: var(--forest);
  color: var(--paper);
  display: flex;
  font-family: var(--serif);
  font-size: 18px;
  height: 42px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 42px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-transform: uppercase;
}

.brand-copy strong {
  font-size: 11px;
  letter-spacing: 0.17em;
}

.brand-copy span {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: clamp(22px, 2.4vw, 42px);
}

.main-nav a,
.header-contact {
  font-size: 12px;
  letter-spacing: 0.05em;
  position: relative;
}

.main-nav a::after {
  background: var(--copper);
  bottom: -9px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
  width: 100%;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-contact {
  justify-self: end;
  text-transform: uppercase;
}

.header-contact span {
  color: var(--copper);
  display: inline-block;
  margin-left: 8px;
  transition: transform 180ms ease;
}

.header-contact:hover span {
  transform: translate(3px, -3px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(430px, 0.95fr);
  min-height: calc(100vh - 84px);
}

.hero-copy {
  align-content: center;
  display: grid;
  padding: clamp(62px, 8vw, 128px) clamp(36px, 7vw, 112px) clamp(52px, 7vw, 104px) clamp(24px, 5.2vw, 84px);
}

.eyebrow {
  align-items: center;
  color: var(--copper);
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: 0.2em;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: currentColor;
  content: "";
  height: 1px;
  width: 28px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(54px, 6.2vw, 104px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
  margin: 0;
  max-width: 880px;
}

.hero-intro {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(18px, 1.55vw, 24px);
  line-height: 1.55;
  margin: clamp(34px, 4vw, 58px) 0 0;
  max-width: 650px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 38px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0.12em;
  min-height: 52px;
  padding: 0 24px;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button-primary {
  background: var(--forest);
  color: var(--paper);
}

.button-primary span {
  color: #c98a68;
  font-size: 17px;
  margin-left: 28px;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--forest-deep);
  transform: translateY(-2px);
}

.button-secondary {
  border-color: var(--line);
}

.text-link {
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  padding-bottom: 7px;
}

.text-link span {
  color: var(--copper);
  margin-left: 14px;
}

.hero-principles {
  align-items: center;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0;
  margin-top: clamp(52px, 7vw, 92px);
  max-width: 650px;
  padding-top: 20px;
}

.hero-principles span {
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-principles span:not(:last-child)::after {
  color: var(--copper);
  content: "/";
  margin: 0 clamp(16px, 2.2vw, 34px);
}

.hero-visual {
  min-height: 700px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.hero-visual img {
  filter: saturate(0.85) contrast(0.98);
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  position: absolute;
  width: 100%;
}

.visual-shade,
.interest-overlay {
  background: linear-gradient(180deg, rgba(10, 25, 22, 0.02) 26%, rgba(9, 27, 23, 0.76) 100%);
  inset: 0;
  position: absolute;
}

.hero-visual figcaption {
  bottom: 42px;
  color: var(--paper);
  display: grid;
  gap: 14px;
  left: clamp(28px, 3.5vw, 56px);
  max-width: 390px;
  position: absolute;
  z-index: 2;
}

.hero-visual figcaption span,
.interest-content > span {
  color: #d6b39f;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-visual figcaption strong {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.2;
}

.visual-index {
  color: rgba(241, 238, 231, 0.12);
  font-family: var(--serif);
  font-size: clamp(180px, 22vw, 340px);
  line-height: 1;
  position: absolute;
  right: -14px;
  top: -34px;
}

.section-label {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 27px 0 21px;
}

.section-label span {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-label span:last-child {
  color: var(--copper);
}

.section-label-light {
  border-color: var(--line-light);
}

.profile {
  padding-bottom: clamp(90px, 10vw, 160px);
}

.profile-grid {
  display: grid;
  gap: clamp(40px, 6vw, 96px);
  grid-template-columns: minmax(300px, 0.88fr) minmax(330px, 0.92fr) minmax(240px, 0.55fr);
  padding-top: clamp(68px, 8vw, 124px);
}

.profile-grid h2,
.expertise-heading h2,
.approach h2,
.personal h2,
.contact h2 {
  font-family: var(--serif);
  font-size: clamp(40px, 4.3vw, 68px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.03;
  margin: 0;
}

.profile-copy p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  margin: 0;
}

.profile-copy .lead {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.55;
  margin-bottom: 28px;
}

.profile-note {
  align-self: end;
}

.note-rule {
  background: var(--copper);
  display: block;
  height: 1px;
  margin-bottom: 22px;
  width: 40px;
}

.profile-note > p {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.profile-note blockquote {
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  margin: 18px 0 0;
}

.expertise {
  background: var(--forest);
  color: var(--paper);
  padding-bottom: clamp(80px, 9vw, 140px);
}

.expertise-heading {
  align-items: end;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr 0.7fr;
  padding: clamp(64px, 7vw, 110px) 0 clamp(48px, 6vw, 86px);
}

.expertise-heading p {
  color: rgba(241, 238, 231, 0.67);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 520px;
}

.expertise-grid {
  border-left: 1px solid var(--line-light);
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.expertise-card {
  border-bottom: 1px solid var(--line-light);
  border-right: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(28px, 3vw, 46px);
  transition: background 220ms ease, transform 220ms ease;
}

.expertise-card:hover {
  background: rgba(241, 238, 231, 0.055);
  transform: translateY(-3px);
}

.card-topline {
  color: #c79072;
  display: flex;
  font-size: 10px;
  justify-content: space-between;
  letter-spacing: 0.12em;
}

.expertise-card h3 {
  font-family: var(--serif);
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 400;
  line-height: 1.15;
  margin: 54px 0 20px;
}

.expertise-card p {
  color: rgba(241, 238, 231, 0.66);
  font-size: 14px;
  line-height: 1.72;
  margin: 0;
}

.expertise-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: auto 0 0;
  padding: 36px 0 0;
}

.expertise-card li {
  border: 1px solid var(--line-light);
  color: rgba(241, 238, 231, 0.7);
  font-size: 8px;
  letter-spacing: 0.12em;
  padding: 7px 9px;
  text-transform: uppercase;
}

.approach {
  padding-bottom: clamp(90px, 10vw, 160px);
}

.approach-layout {
  display: grid;
  gap: clamp(70px, 10vw, 160px);
  grid-template-columns: minmax(320px, 0.75fr) 1.25fr;
  padding-top: clamp(70px, 8vw, 126px);
}

.approach-intro > p:last-child {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
  margin: 34px 0 0;
  max-width: 460px;
}

.approach-steps {
  border-top: 1px solid var(--line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.approach-steps li {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 32px;
  grid-template-columns: 54px 1fr;
  padding: 34px 0 38px;
}

.step-number {
  color: var(--copper);
  font-size: 10px;
  letter-spacing: 0.12em;
  padding-top: 7px;
}

.approach-steps h3 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  margin: 0 0 12px;
}

.approach-steps p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  max-width: 620px;
}

.personal {
  background: var(--forest-deep);
  color: var(--paper);
  padding-bottom: clamp(72px, 7vw, 110px);
}

.personal-intro {
  display: grid;
  gap: 50px;
  grid-template-columns: minmax(120px, 0.35fr) minmax(380px, 1fr) minmax(300px, 0.7fr);
  padding: clamp(68px, 7vw, 112px) 0 clamp(48px, 6vw, 82px);
}

.personal-intro .eyebrow {
  align-self: start;
}

.personal-intro > p:last-child {
  align-self: end;
  color: rgba(241, 238, 231, 0.65);
  font-size: 15px;
  line-height: 1.72;
  margin: 0;
}

.interest-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr 1fr;
  min-height: 580px;
}

.interest-card {
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.interest-card img {
  filter: saturate(0.52);
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: filter 500ms ease, transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
  width: 100%;
}

.interest-card:hover img {
  filter: saturate(0.72);
  transform: scale(1.035);
}

.interest-content {
  bottom: 0;
  left: 0;
  padding: 32px;
  position: absolute;
  z-index: 2;
}

.interest-content h3 {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  margin: 14px 0 12px;
}

.interest-content p {
  color: rgba(241, 238, 231, 0.7);
  font-size: 13px;
  line-height: 1.62;
  margin: 0;
  max-width: 340px;
}

.interest-culture {
  background: #d6cec0;
  color: var(--ink);
}

.culture-art {
  inset: 0;
  overflow: hidden;
  position: absolute;
}

.culture-art::before {
  background: linear-gradient(115deg, transparent 44%, rgba(168, 96, 59, 0.18) 44%, rgba(168, 96, 59, 0.18) 52%, transparent 52%);
  content: "";
  inset: 0;
  position: absolute;
}

.arch {
  border: 1px solid rgba(23, 34, 31, 0.32);
  border-bottom: none;
  border-radius: 120px 120px 0 0;
  bottom: 0;
  position: absolute;
}

.arch-one {
  height: 72%;
  left: 13%;
  width: 74%;
}

.arch-two {
  height: 52%;
  left: 25%;
  width: 50%;
}

.arch-three {
  height: 34%;
  left: 37%;
  width: 26%;
}

.interest-content-dark > span {
  color: var(--copper);
}

.interest-content-dark p {
  color: var(--ink-soft);
}

.contact {
  padding-bottom: clamp(80px, 9vw, 136px);
  padding-top: clamp(80px, 9vw, 136px);
}

.contact-grid {
  display: grid;
  gap: clamp(70px, 12vw, 190px);
  grid-template-columns: 1.1fr 0.9fr;
}

.contact-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
  margin: 4px 0 0;
  max-width: 580px;
}

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

.contact-button {
  min-width: 250px;
}

.contact-copy small {
  color: var(--ink-soft);
  display: block;
  font-size: 10px;
  letter-spacing: 0.04em;
  margin-top: 14px;
}

.site-footer {
  align-items: end;
  background: var(--forest);
  color: var(--paper);
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr auto 1fr;
  min-height: 156px;
  padding: 38px clamp(24px, 5.2vw, 84px);
}

.site-footer > div {
  display: grid;
  gap: 6px;
}

.site-footer strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
}

.site-footer span,
.site-footer p,
.photo-credit a {
  color: rgba(241, 238, 231, 0.56);
  font-size: 8px;
  letter-spacing: 0.16em;
  margin: 0;
  text-transform: uppercase;
}

.photo-credit {
  justify-self: end;
}

.photo-credit a {
  border-bottom: 1px solid rgba(241, 238, 231, 0.3);
}

.reveal {
  animation: reveal-up 700ms cubic-bezier(0.22, 0.72, 0.26, 1) both;
}

.reveal-late {
  animation-delay: 100ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.8fr;
  }

  .hero-copy {
    padding-right: 48px;
  }

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

  .profile-note {
    grid-column: 2;
  }

  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .personal-intro {
    grid-template-columns: 0.4fr 1fr;
  }

  .personal-intro > p:last-child {
    grid-column: 2;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    min-height: 68px;
    padding: 10px 20px;
  }

  .brand-mark {
    flex: 0 0 38px;
    height: 38px;
    width: 38px;
  }

  .brand,
  .brand-copy {
    max-width: 100%;
    min-width: 0;
  }

  .brand-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-copy span,
  .header-contact {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .hero-copy {
    min-height: auto;
    padding: clamp(44px, 12vw, 62px) 24px 38px;
  }

  .hero .eyebrow {
    line-height: 1.45;
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(42px, 13vw, 64px);
    hyphens: auto;
    line-height: 0.98;
    overflow-wrap: anywhere;
  }

  .hero-intro {
    font-size: 17px;
    line-height: 1.5;
    margin-top: 28px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
    width: 100%;
  }

  .hero-actions .button-primary {
    justify-content: space-between;
    width: 100%;
  }

  .hero-actions .button-primary span {
    margin-left: 18px;
  }

  .hero-principles {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 38px;
    padding-top: 16px;
    width: 100%;
  }

  .hero-principles span {
    overflow-wrap: anywhere;
    text-align: center;
  }

  .hero-principles span:not(:last-child)::after {
    display: none;
  }

  .hero-visual {
    height: clamp(400px, 62svh, 520px);
    min-height: 0;
  }

  .hero-visual img {
    object-position: center;
  }

  .hero-visual figcaption {
    bottom: 28px;
    left: 24px;
    max-width: none;
    right: 24px;
  }

  .profile-grid,
  .expertise-heading,
  .approach-layout,
  .personal-intro,
  .contact-grid {
    display: grid;
    gap: 42px;
    grid-template-columns: 1fr;
  }

  .profile-grid {
    padding-top: 68px;
  }

  .profile-note,
  .personal-intro > p:last-child {
    grid-column: auto;
  }

  .expertise-heading {
    padding-top: 68px;
  }

  .expertise-grid,
  .interest-grid {
    grid-template-columns: 1fr;
  }

  .expertise-card {
    min-height: 340px;
  }

  .approach-layout {
    padding-top: 68px;
  }

  .personal-intro {
    padding-top: 68px;
  }

  .interest-card {
    min-height: 72svh;
  }

  .contact-grid {
    gap: 36px;
  }

  .site-footer {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .photo-credit {
    justify-self: start;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-copy {
    padding: 40px 18px 32px;
  }

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

  .hero-visual {
    height: 400px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* WordPress integration */
.admin-bar .site-header {
  top: 32px;
}

.wp-content-shell {
  min-height: 70vh;
  padding-bottom: clamp(80px, 9vw, 136px);
  padding-top: clamp(72px, 8vw, 120px);
}

.wp-content-shell > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 920px;
}

.wp-content-shell h1,
.wp-content-shell h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.wp-content-shell h1 {
  font-size: clamp(44px, 5vw, 72px);
}

.wp-content-shell a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.wp-content-shell article {
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
