/*
Theme Name: Thijn de Ruijter 2026
Theme URI: https://www.de-ruijter.info/
Author: Thijn de Ruijter
Description: Een rustig, modern en beeldgedreven WordPress-thema voor Thijn de Ruijter.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: thijn2026
*/

:root {
  --ink: #171715;
  --paper: #f7f4ef;
  --warm: #c7a783;
  --line: rgba(23,23,21,.16);
  --muted: #68645e;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { opacity: .72; }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
  color: #fff;
}
.site-header.is-scrolled,
body:not(.home) .site-header {
  background: rgba(247,244,239,.94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(12px);
}
.header-inner {
  width: min(calc(100% - 48px), var(--max));
  height: 84px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-branding { font-size: 17px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.site-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; font-size: 15px; }
.menu-toggle { display:none; border:0; background:transparent; color:inherit; font-size:28px; cursor:pointer; }

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(12,11,9,.58) 0%, rgba(12,11,9,.18) 45%, rgba(12,11,9,.03) 72%), url('assets/images/thijn-hero.jpg');
  background-size: cover;
  background-position: center 42%;
  transform: scale(1.01);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 180px 0 11vh;
}
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 650; margin-bottom: 20px; }
.hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(54px, 8vw, 118px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
}
.hero-intro { max-width: 700px; margin: 30px 0 0; font-size: clamp(19px, 2vw, 27px); line-height: 1.4; }
.hero-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:36px; }
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding: 12px 22px;
  border:1px solid currentColor;
  font-size:14px;
  font-weight:650;
  letter-spacing:.03em;
  transition: .2s ease;
}
.button:hover { opacity:1; background:#fff; color:var(--ink); }
.button.dark:hover { background:var(--ink); color:#fff; }

.section { padding: 112px 0; }
.section.alt { background:#ece7df; }
.wrap { width:min(calc(100% - 48px), var(--max)); margin:0 auto; }
.section-heading { display:grid; grid-template-columns: .8fr 2fr; gap:60px; align-items:start; margin-bottom:64px; }
.section-heading h2 {
  margin:0;
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  font-weight:400;
  line-height:1.04;
  letter-spacing:-.035em;
}
.lead { font-size: clamp(21px, 2.3vw, 31px); line-height:1.45; margin:0; max-width:820px; }
.text-link { display:inline-block; margin-top:24px; padding-bottom:4px; border-bottom:1px solid currentColor; font-size:15px; font-weight:650; }

.cards { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); border-top:1px solid var(--line); }
.card { min-height:320px; padding:42px 42px 44px 0; border-bottom:1px solid var(--line); }
.card:nth-child(odd) { border-right:1px solid var(--line); padding-right:52px; }
.card:nth-child(even) { padding-left:52px; }
.card-number { font-size:13px; letter-spacing:.14em; color:var(--muted); }
.card h3 { font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:42px; font-weight:400; margin:62px 0 12px; line-height:1.05; }
.card p { color:var(--muted); max-width:490px; margin:0; }

.projects { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
.project { min-height:460px; background:#ddd; position:relative; overflow:hidden; color:#fff; }
.project::before { content:""; position:absolute; inset:0; background:linear-gradient(0deg, rgba(0,0,0,.58), rgba(0,0,0,.03) 60%); }
.project:nth-child(1) { background:linear-gradient(135deg,#766a5d,#b29b80); }
.project:nth-child(2) { background:linear-gradient(135deg,#293238,#738080); }
.project:nth-child(3) { background:linear-gradient(135deg,#5b6656,#b0a788); }
.project-content { position:absolute; inset:auto 28px 30px; z-index:2; }
.project small { text-transform:uppercase; letter-spacing:.13em; }
.project h3 { font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight:400; font-size:34px; line-height:1.08; margin:10px 0 0; }

.quote { max-width:970px; margin:0; font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:clamp(38px, 5.6vw, 78px); font-weight:400; line-height:1.08; letter-spacing:-.04em; }

.posts-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.post-card { border-top:1px solid var(--line); padding-top:22px; }
.post-card time { color:var(--muted); font-size:14px; }
.post-card h3 { font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:30px; font-weight:400; line-height:1.15; }

.contact-block { display:grid; grid-template-columns:1.4fr .8fr; gap:80px; }
.contact-block h2 { font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:clamp(48px,6vw,88px); line-height:1; font-weight:400; letter-spacing:-.04em; margin:0; }
.contact-details { padding-top:12px; }
.contact-details a { display:block; margin-bottom:10px; }

.site-main-inner { width:min(calc(100% - 48px), 920px); margin:0 auto; padding:160px 0 100px; }
.entry-title { font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:clamp(48px,7vw,92px); font-weight:400; line-height:1; letter-spacing:-.04em; }
.entry-content h2 { font-family: "Avenir Next", Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:42px; font-weight:400; margin-top:1.8em; }
.entry-content a { text-decoration:underline; }

.site-footer { border-top:1px solid var(--line); padding:38px 0; font-size:14px; color:var(--muted); }
.footer-inner { width:min(calc(100% - 48px), var(--max)); margin:0 auto; display:flex; justify-content:space-between; gap:20px; }

@media (max-width: 860px) {
  .header-inner { width:min(calc(100% - 32px), var(--max)); height:72px; }
  .menu-toggle { display:block; }
  .site-nav { display:none; position:absolute; top:72px; left:0; right:0; padding:20px 24px 28px; background:var(--paper); color:var(--ink); border-top:1px solid var(--line); }
  .site-nav.is-open { display:block; }
  .site-nav ul { flex-direction:column; gap:16px; }
  .hero-content, .wrap, .site-main-inner { width:min(calc(100% - 32px), var(--max)); }
  .hero::before { background-position: 58% 50%; background-image:linear-gradient(0deg, rgba(12,11,9,.67) 0%, rgba(12,11,9,.05) 70%), url('assets/images/thijn-hero.jpg'); }
  .hero-content { padding-bottom:8vh; }
  .section { padding:78px 0; }
  .section-heading, .contact-block { grid-template-columns:1fr; gap:30px; }
  .cards { grid-template-columns:1fr; }
  .card, .card:nth-child(odd), .card:nth-child(even) { border-right:0; padding:34px 0; min-height:0; }
  .card h3 { margin-top:32px; }
  .projects, .posts-grid { grid-template-columns:1fr; }
  .project { min-height:380px; }
  .footer-inner { flex-direction:column; }
}


/* Beeldende binnenpagina's */
body.page:not(.home) .site-header:not(.is-scrolled) { background: transparent; color: #fff; box-shadow: none; }
.inner-page { overflow: hidden; }
.inner-page-hero { min-height: 76svh; position: relative; display: grid; align-items: end; color: #fff; isolation: isolate; }
.inner-page-hero__image { position: absolute; inset: 0; z-index: -2; background: url('assets/images/thijn-hero.jpg') center 42% / cover no-repeat; transform: scale(1.015); }
.inner-page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15,13,10,.78) 0%, rgba(15,13,10,.36) 46%, rgba(15,13,10,.08) 76%); }
.inner-page--projecten .inner-page-hero__image { background-image: url('https://www.de-ruijter.info/wp-content/uploads/2026/07/IMG_2494-1.jpeg'); background-position: center 56%; filter: saturate(.88) contrast(1.04); }
.inner-page--projecten .inner-page-hero::after { background: linear-gradient(90deg, rgba(42,31,19,.82), rgba(42,31,19,.18) 72%); }
.inner-page--visie .inner-page-hero__image { background-position: 72% 32%; filter: grayscale(.28) sepia(.08); }
.inner-page--visie .inner-page-hero::after { background: linear-gradient(110deg, rgba(21,29,27,.88), rgba(21,29,27,.12) 72%); }
.inner-page--contact .inner-page-hero__image { background-position: 64% 48%; }
.inner-page--contact .inner-page-hero::after { background: linear-gradient(95deg, rgba(34,25,20,.84), rgba(34,25,20,.12) 72%); }
.inner-page-hero__content { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 190px 0 10vh; }
.inner-page-hero .entry-title { max-width: 900px; margin: 0; color: #fff; font-size: clamp(70px, 10vw, 150px); font-weight: 400; line-height: .86; letter-spacing: -.065em; }
.inner-page-hero__content > p { max-width: 720px; margin: 30px 0 0; font-size: clamp(21px, 2.2vw, 30px); line-height: 1.35; }
.inner-page-body { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 120px 0 132px; display: grid; grid-template-columns: 230px minmax(0, 760px); gap: clamp(50px, 9vw, 145px); align-items: start; }
.inner-page-rail { position: sticky; top: 120px; display: flex; flex-direction: column; gap: 13px; padding-top: 12px; color: var(--muted); font-size: 13px; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
.inner-page-rail::before { content: ""; width: 58px; height: 1px; margin-bottom: 22px; background: var(--ink); }
.inner-page-article { min-width: 0; }
.inner-page .entry-content { font-size: clamp(19px, 1.7vw, 24px); line-height: 1.65; }
.inner-page .entry-content > p:first-child { margin-top: 0; font-size: clamp(28px, 3.5vw, 48px); line-height: 1.25; letter-spacing: -.035em; }
.inner-page .entry-content h2 { margin: 2.1em 0 .45em; font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.045em; }
.inner-page .entry-content h2::before { content: ""; display: block; width: 72px; height: 1px; margin-bottom: 28px; background: var(--warm); }
.inner-page .entry-content p { max-width: 760px; }
.inner-page .entry-content a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.inner-page-visual { width: min(calc(100% - 48px), var(--max)); min-height: 620px; margin: 0 auto 120px; display: grid; grid-template-columns: 1.6fr .75fr; background: #1d1c19; color: #fff; }
.inner-page-visual__image { min-height: 620px; background: linear-gradient(0deg, rgba(9,8,7,.16), rgba(9,8,7,.16)), url('assets/images/thijn-hero.jpg') 72% 45% / cover no-repeat; }
.inner-page--projecten .inner-page-visual__image { background-image: linear-gradient(0deg, rgba(9,8,7,.10), rgba(9,8,7,.10)), url('https://www.de-ruijter.info/wp-content/uploads/2026/07/288d078066bf0068954bbcc6fb12d18d1ff39407bf175d23080bfa9e76853dba-1.png'); background-position: center 50%; filter: saturate(.88); }
.inner-page--visie .inner-page-visual__image { background-position: 55% 38%; filter: grayscale(.7); }
.inner-page--contact .inner-page-visual__image { background-position: 76% 45%; }
.inner-page-visual__caption { align-self: end; padding: 54px 44px; }
.inner-page-visual__caption p { margin: 18px 0 0; font-size: clamp(26px, 3vw, 42px); line-height: 1.08; letter-spacing: -.04em; }
@media (max-width: 860px) {
  .inner-page-hero { min-height: 72svh; }
  .inner-page-hero__content { width: min(calc(100% - 32px), var(--max)); padding: 150px 0 9vh; }
  .inner-page-hero .entry-title { font-size: clamp(58px, 18vw, 100px); }
  .inner-page-hero__content > p { font-size: 20px; }
  .inner-page-body { width: min(calc(100% - 32px), var(--max)); padding: 78px 0 88px; grid-template-columns: 1fr; gap: 48px; }
  .inner-page-rail { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
  .inner-page-rail::before { flex-basis: 100%; margin-bottom: 8px; }
  .inner-page-visual { width: min(calc(100% - 32px), var(--max)); min-height: 0; margin-bottom: 72px; grid-template-columns: 1fr; }
  .inner-page-visual__image { min-height: 430px; }
  .inner-page-visual__caption { padding: 38px 28px 44px; }
}


/* Contact contrast repair */
.inner-page--contact .inner-page-body {
  background: #1d1c19;
  color: #f7efe7;
  box-shadow: 0 0 0 100vmax #1d1c19;
  clip-path: inset(0 -100vmax);
  grid-template-columns: 180px minmax(0, 1fr);
}
.inner-page--contact .inner-page-rail { color: #d9b38c; }
.inner-page--contact .inner-page-rail::before { background: #d9b38c; }
.inner-page--contact .tdr-contact-page { color: #f7efe7; }
.inner-page--contact .tdr-contact-card { background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); }
@media (max-width: 860px) {
  .inner-page--contact .inner-page-body { grid-template-columns: 1fr; }
}


/* SportDaad project showcase */
.sportdaad-showcase {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 120px;
  padding: 112px 0 120px;
  background: #ece7df;
  box-shadow: 0 0 0 100vmax #ece7df;
  clip-path: inset(0 -100vmax);
}
.sportdaad-showcase__intro {
  display: grid;
  grid-template-columns: .7fr 1.7fr;
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
  margin-bottom: 64px;
}
.sportdaad-showcase__intro h2 {
  grid-column: 2;
  margin: 0;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.065em;
}
.sportdaad-showcase__intro .eyebrow { grid-row: 1 / span 2; padding-top: 12px; }
.sportdaad-showcase__intro p {
  grid-column: 2;
  max-width: 760px;
  margin: 24px 0 0;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
}
.sportdaad-showcase__grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 24px;
  align-items: stretch;
}
.sportdaad-showcase figure { margin: 0; display: grid; grid-template-rows: 680px auto; background: #fff; }
.sportdaad-showcase img { width: 100%; height: 680px; display: block; }
.sportdaad-showcase__press img { object-fit: contain; background: #fff; }
.sportdaad-showcase__photo img { object-fit: cover; object-position: center 45%; }
.sportdaad-showcase figcaption {
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .03em;
}
@media (max-width: 860px) {
  .sportdaad-showcase { width: min(calc(100% - 32px), var(--max)); margin-bottom: 72px; padding: 78px 0 80px; }
  .sportdaad-showcase__intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 42px; }
  .sportdaad-showcase__intro .eyebrow,
  .sportdaad-showcase__intro h2,
  .sportdaad-showcase__intro p { grid-column: 1; grid-row: auto; }
  .sportdaad-showcase__grid { grid-template-columns: 1fr; gap: 20px; }
  .sportdaad-showcase figure { grid-template-rows: auto auto; }
  .sportdaad-showcase img { height: auto; max-height: none; }
  .sportdaad-showcase__photo img { aspect-ratio: 4 / 5; object-fit: cover; }
}

.sportdaad-showcase__press img { aspect-ratio: 1206 / 883; }


/* Subtler typography on Projects */
.inner-page--projecten .inner-page-hero .entry-title { font-size: clamp(60px, 8vw, 118px); letter-spacing: -.055em; }
.inner-page--projecten .inner-page-hero__content > p { max-width: 650px; font-size: clamp(19px, 1.7vw, 25px); }
.inner-page--projecten .entry-content { font-size: clamp(18px, 1.35vw, 21px); }
.inner-page--projecten .entry-content > p:first-child { font-size: clamp(25px, 2.7vw, 36px); }
.inner-page--projecten .entry-content h2 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.04em; }
.inner-page--projecten .sportdaad-showcase__intro h2 { font-size: clamp(50px, 6.5vw, 86px); letter-spacing: -.055em; }
.inner-page--projecten .sportdaad-showcase__intro p { font-size: clamp(19px, 1.65vw, 23px); }
.inner-page--projecten .inner-page-visual__caption p { font-size: clamp(23px, 2.4vw, 34px); }
@media (max-width: 860px) {
  .inner-page--projecten .inner-page-hero .entry-title { font-size: clamp(52px, 15vw, 78px); }
  .inner-page--projecten .entry-content h2 { font-size: clamp(32px, 11vw, 46px); }
}


/* Quieter Projects typography */
.inner-page--projecten .inner-page-hero .entry-title {
  font-size: clamp(52px, 6.4vw, 86px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: .94;
}
.inner-page--projecten .inner-page-hero__content > p {
  max-width: 620px;
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.5;
}
.inner-page--projecten .entry-content { font-size: clamp(17px, 1.2vw, 19px); }
.inner-page--projecten .entry-content > p:first-child {
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: -.02em;
  line-height: 1.4;
}
.inner-page--projecten .entry-content h2 {
  font-size: clamp(30px, 3.2vw, 43px);
  font-weight: 350;
  letter-spacing: -.025em;
  line-height: 1.08;
}
.inner-page--projecten .sportdaad-showcase__intro h2 {
  font-size: clamp(44px, 5vw, 66px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: .96;
}
.inner-page--projecten .sportdaad-showcase__intro p { font-size: clamp(17px, 1.4vw, 20px); }
.inner-page--projecten .inner-page-visual__caption p {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -.025em;
}
@media (max-width: 860px) {
  .inner-page--projecten .inner-page-hero .entry-title { font-size: clamp(44px, 12vw, 54px); }
  .inner-page--projecten .inner-page-hero__content > p { font-size: 17px; }
  .inner-page--projecten .entry-content h2 { font-size: clamp(29px, 9vw, 38px); }
  .inner-page--projecten .sportdaad-showcase__intro h2 { font-size: 42px; }
}


/* Quiet editorial typography site-wide */
.hero h1 {
  font-size: clamp(52px, 6.4vw, 86px);
  font-weight: 300;
  line-height: .96;
  letter-spacing: -.035em;
}
.hero-intro { max-width: 650px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.section-heading h2 { font-size: clamp(34px, 3.6vw, 48px); font-weight: 350; line-height: 1.08; letter-spacing: -.025em; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; }
.card h3 { font-size: clamp(26px, 2.4vw, 32px); font-weight: 350; letter-spacing: -.025em; }
.project h3 { font-size: clamp(25px, 2.5vw, 34px); font-weight: 350; line-height: 1.08; letter-spacing: -.025em; }
.quote { font-size: clamp(34px, 4vw, 54px); font-weight: 300; line-height: 1.15; letter-spacing: -.03em; }
.post-card h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 350; line-height: 1.2; }
.inner-page:not(.inner-page--projecten) .inner-page-hero .entry-title {
  font-size: clamp(52px, 6.4vw, 86px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: .94;
}
.inner-page:not(.inner-page--projecten) .inner-page-hero__content > p { max-width: 650px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.inner-page:not(.inner-page--projecten) .entry-content { font-size: clamp(17px, 1.2vw, 19px); }
.inner-page:not(.inner-page--projecten) .entry-content > p:first-child { font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.4; }
.inner-page:not(.inner-page--projecten) .entry-content h2 { font-size: clamp(30px, 3.2vw, 43px); font-weight: 350; letter-spacing: -.025em; line-height: 1.08; }
.inner-page:not(.inner-page--projecten) .inner-page-visual__caption p { font-size: clamp(20px, 2vw, 28px); line-height: 1.2; letter-spacing: -.025em; }
.inner-page--contact .tdr-contact-hero h2 { font-size: clamp(36px, 4vw, 52px); font-weight: 300; letter-spacing: -.03em; line-height: 1.02; }
.inner-page--contact .tdr-contact-hero p { font-size: clamp(17px, 1.4vw, 20px); }
.inner-page--contact .tdr-contact-card h3 { font-size: 21px; font-weight: 350; }
.inner-page--contact .tdr-contact-card p { font-size: 16px; line-height: 1.65; }
.inner-page--contact .tdr-contact-link { font-size: 15px; }
@media (max-width: 860px) {
  .hero h1 { font-size: clamp(46px, 13vw, 60px); }
  .hero-intro { font-size: 18px; }
  .section-heading h2 { font-size: clamp(31px, 9vw, 40px); }
  .quote { font-size: clamp(31px, 9vw, 40px); }
  .inner-page:not(.inner-page--projecten) .inner-page-hero .entry-title { font-size: clamp(44px, 12vw, 54px); }
  .inner-page:not(.inner-page--projecten) .inner-page-hero__content > p { font-size: 17px; }
  .inner-page:not(.inner-page--projecten) .entry-content h2 { font-size: clamp(29px, 9vw, 38px); }
}


/* Clearer menu bar over imagery */
body.home .site-header:not(.is-scrolled),
body.page:not(.home) .site-header:not(.is-scrolled) {
  background: rgba(18, 17, 15, .34);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px) saturate(115%);
  -webkit-backdrop-filter: blur(12px) saturate(115%);
}
body.home .site-header:not(.is-scrolled) .site-branding,
body.home .site-header:not(.is-scrolled) .site-nav,
body.page:not(.home) .site-header:not(.is-scrolled) .site-branding,
body.page:not(.home) .site-header:not(.is-scrolled) .site-nav {
  text-shadow: 0 1px 12px rgba(0, 0, 0, .28);
}


/* Clear visual page ending and footer */
.inner-page-visual {
  width: 100%;
  min-height: 440px;
  margin: 0;
  grid-template-columns: 1.55fr .85fr;
  background: #24221f;
}
.inner-page-visual__image { min-height: 440px; }
.inner-page-visual__caption { padding: 54px clamp(32px, 5vw, 72px); }
.inner-page-visual__caption::after {
  content: "Einde van deze pagina";
  display: block;
  margin-top: 34px;
  color: rgba(255,255,255,.48);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.site-footer {
  border-top: 1px solid rgba(255,255,255,.16);
  padding: 0;
  background: #171715;
  color: #f7f4ef;
}
.footer-inner {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 74px 0 38px;
  display: grid;
  grid-template-columns: 1.6fr .8fr;
  gap: 64px 80px;
}
.footer-brand .eyebrow { display: block; margin-bottom: 22px; color: #c7a783; }
.footer-brand strong {
  display: block;
  max-width: 650px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.025em;
}
.footer-nav { display: grid; align-content: start; gap: 13px; font-size: 16px; }
.footer-nav a { width: fit-content; padding-bottom: 3px; border-bottom: 1px solid rgba(255,255,255,.22); }
.footer-meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,.16);
  color: rgba(247,244,239,.58);
  font-size: 13px;
  letter-spacing: .04em;
}
@media (max-width: 860px) {
  .inner-page-visual { width: 100%; min-height: 0; margin: 0; grid-template-columns: 1fr; }
  .inner-page-visual__image { min-height: 320px; }
  .inner-page-visual__caption { padding: 40px 24px 48px; }
  .footer-inner { width: min(calc(100% - 32px), var(--max)); padding: 56px 0 30px; grid-template-columns: 1fr; gap: 42px; }
  .footer-meta { grid-column: 1; flex-direction: column; gap: 8px; }
}


/* Aligned duotone closing images */
.inner-page-visual__image {
  position: relative;
  overflow: hidden;
  filter: grayscale(1) sepia(.22) contrast(.92) brightness(.72);
}
.inner-page-visual__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23,23,21,.18), rgba(199,167,131,.52));
  mix-blend-mode: color;
  pointer-events: none;
}
.inner-page--over-thijn .inner-page-visual__image { background-position: 70% 24%; }
.inner-page--projecten .inner-page-visual__image { background-position: center 46%; }
.inner-page--visie .inner-page-visual__image { background-position: 62% 25%; }
.inner-page--contact .inner-page-visual__image { background-position: 70% 28%; }
@media (max-width: 860px) {
  .inner-page--over-thijn .inner-page-visual__image,
  .inner-page--visie .inner-page-visual__image,
  .inner-page--contact .inner-page-visual__image { background-position: 68% 25%; }
  .inner-page--projecten .inner-page-visual__image { background-position: center 48%; }
}


/* Refined duotone focus */
.inner-page-visual__image { filter: grayscale(1) sepia(.35) contrast(.9) brightness(.68); }
.inner-page-visual__image::after {
  background: linear-gradient(135deg, #24211d 0%, #b89a79 100%);
  opacity: .72;
  mix-blend-mode: color;
}
.inner-page--over-thijn .inner-page-visual__image { background-position: 70% 10%; }
.inner-page--visie .inner-page-visual__image { background-position: 62% 10%; }
.inner-page--contact .inner-page-visual__image { background-position: 70% 12%; }
@media (max-width: 860px) {
  .inner-page--over-thijn .inner-page-visual__image,
  .inner-page--visie .inner-page-visual__image,
  .inner-page--contact .inner-page-visual__image { background-position: 68% 10%; }
}


/* Refined portrait scale and alignment */
.inner-page:not(.inner-page--projecten) .inner-page-hero__image {
  background-color: #5b5045;
  background-size: 92% auto;
  background-position: right 24%;
}
.inner-page:not(.inner-page--projecten) .inner-page-visual__image {
  background-color: #282622;
  background-size: cover, 90% auto;
  background-position: center, center 34%;
  background-repeat: no-repeat;
}
@media (max-width: 860px) {
  .inner-page:not(.inner-page--projecten) .inner-page-hero__image {
    background-size: 96% auto;
    background-position: right 22%;
  }
  .inner-page:not(.inner-page--projecten) .inner-page-visual__image {
    background-size: cover, auto 90%;
    background-position: center, center 32%;
  }
}


/* Keep the complete portrait visible in the footer */
.inner-page:not(.inner-page--projecten) .inner-page-visual__image {
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat;
}
@media (max-width: 860px) {
  .inner-page:not(.inner-page--projecten) .inner-page-visual__image {
    background-size: cover, contain;
    background-position: center, center;
  }
}


/* Consistent portrait scale between desktop and mobile */
@media (max-width: 860px) {
  .inner-page:not(.inner-page--projecten) .inner-page-hero__image {
    background-size: auto 100%;
    background-position: 68% center;
  }
  .inner-page:not(.inner-page--projecten) .inner-page-visual__image {
    background-size: cover, auto 90%;
    background-position: center, 68% center;
  }
}


/* Closer mobile crop to match desktop */
@media (max-width: 860px) {
  .inner-page:not(.inner-page--projecten) .inner-page-hero__image {
    background-size: auto 135%;
    background-position: 68% 45%;
  }
}


/* Match Projects footer alignment to the other pages */
.inner-page--projecten .inner-page-visual__image {
  background-color: #282622;
  background-size: cover, contain;
  background-position: center, center;
  background-repeat: no-repeat;
  filter: grayscale(1) sepia(.35) contrast(.9) brightness(.68);
}
@media (max-width: 860px) {
  .inner-page--projecten .inner-page-visual__image {
    background-size: cover, auto 90%;
    background-position: center, center;
  }
}
