:root {
  --ink: #18211f;
  --ink-soft: #47534f;
  --paper: #f4f0e7;
  --paper-light: #fbf9f4;
  --forest: #173c34;
  --forest-light: #235448;
  --gold: #c6984b;
  --gold-light: #e8c980;
  --line: rgba(24, 33, 31, 0.16);
  --white: #fff;
  --shadow: 0 24px 70px rgba(19, 34, 30, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: min(1180px, calc(100% - 40px));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper-light);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .28;
  background-image: radial-gradient(rgba(23, 60, 52, .13) .6px, transparent .6px);
  background-size: 8px 8px;
  pointer-events: none;
}

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

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--forest);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--forest);
  border-radius: 4px;
}
.skip-link:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--white);
  background: rgba(16, 34, 30, .94);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: var(--wrap);
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--forest);
  background: var(--gold-light);
  clip-path: polygon(50% 0, 93% 15%, 86% 78%, 50% 100%, 14% 78%, 7% 15%);
  font: 700 17px/1 var(--serif);
  letter-spacing: -.08em;
}

.brand-text { display: grid; line-height: 1.05; }
.brand-text strong { font-family: var(--serif); font-size: 20px; font-weight: 500; }
.brand-text small { margin-top: 6px; color: #c9d2ce; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 25px; }
.main-nav a {
  position: relative;
  color: #e7ece9;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--gold-light);
  transition: right .25s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { right: 0; }
.main-nav .nav-contact { padding: 9px 14px; border: 1px solid rgba(232,201,128,.6); border-radius: 999px; }
.main-nav .nav-contact::after { display: none; }

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  cursor: pointer;
}
.menu-button span { display: block; height: 2px; margin: 5px 0; background: currentColor; transition: .25s; }

.hero {
  min-height: 700px;
  display: grid;
  align-items: end;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10,25,22,.87) 0%, rgba(10,25,22,.5) 48%, rgba(10,25,22,.08) 74%),
    linear-gradient(0deg, rgba(10,25,22,.7), transparent 50%),
    url("afbeeldingen/heuvelfort-britse-landschap.webp") center/cover no-repeat;
}
.hero-inner { width: var(--wrap); margin: 0 auto; padding: 132px 0 94px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 35px; height: 1px; background: currentColor; }
.hero h1,
.page-hero h1 {
  max-width: 850px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6.8rem);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-lead { max-width: 650px; margin: 28px 0 0; color: #e1e8e4; font-size: clamp(1.06rem, 2vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s, background .2s, border-color .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--forest); background: var(--gold-light); }
.button-secondary { color: var(--white); border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.05); }

.section { padding: 105px 0; }
.section-compact { padding: 72px 0; }
.section-dark { color: var(--white); background: var(--forest); }
.section-paper { background: var(--paper); }
.wrap { width: var(--wrap); margin: 0 auto; }
.intro-grid { display: grid; grid-template-columns: .82fr 1.4fr; gap: 9vw; align-items: start; }
.section-kicker { margin: 0 0 15px; color: #a07026; font-size: 12px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.section-dark .section-kicker { color: var(--gold-light); }
.section-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.035em;
}
.section-lead { margin: 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.7vw, 2rem); line-height: 1.45; }
.text-link { color: var(--forest); font-weight: 750; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.section-dark .text-link { color: var(--gold-light); }

.topic-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 55px; }
.topic-card {
  min-height: 335px;
  grid-column: span 4;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--ink);
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  text-decoration: none;
  box-shadow: 0 16px 45px rgba(25,43,38,.05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.topic-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.topic-card:nth-child(2) { background: var(--forest); color: var(--white); }
.topic-number { color: #a07026; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
.topic-card:nth-child(2) .topic-number { color: var(--gold-light); }
.topic-card h3 { margin: 60px 0 12px; font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.08; }
.topic-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.topic-card:nth-child(2) p { color: #cbd8d3; }
.card-arrow { margin-top: 24px; font-weight: 750; }

.feature-grid { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 580px; }
.feature-image { min-height: 520px; background: url("afbeeldingen/restauratie-leien-kasteeldak.webp") center/cover no-repeat; }
.feature-copy { padding: clamp(45px, 8vw, 105px); background: var(--forest); color: var(--white); }
.feature-copy h2 { margin: 0 0 24px; font: 400 clamp(2.4rem,5vw,4rem)/1.03 var(--serif); letter-spacing: -.035em; }
.feature-copy p { color: #ccdad5; }
.feature-copy .text-link {
  color: var(--gold-light);
  text-decoration-color: rgba(232, 201, 128, .72);
}
.feature-copy .text-link:hover { color: var(--white); }

.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 55px; }
.article-card { padding-top: 22px; border-top: 1px solid var(--line); }
.article-meta { color: #8a6a35; font-size: 12px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.article-card h3 { margin: 16px 0 13px; font: 400 27px/1.15 var(--serif); }
.article-card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 15px; }

.page-hero {
  min-height: 435px;
  padding: 120px 0 70px;
  display: flex;
  align-items: end;
  color: var(--white);
  background: linear-gradient(135deg, #102b25 0%, #1e4a40 60%, #9a7538 140%);
  overflow: hidden;
  position: relative;
}
.page-hero::after {
  content: "KA";
  position: absolute;
  right: -35px;
  bottom: -125px;
  color: rgba(255,255,255,.035);
  font: 400 clamp(17rem, 35vw, 35rem)/1 var(--serif);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { max-width: 970px; font-size: clamp(3rem, 6vw, 5.7rem); }
.page-intro { max-width: 780px; margin: 24px 0 0; color: #d7e1dd; font-size: 20px; }
.breadcrumbs { margin: 0 0 30px; color: #bdcbc6; font-size: 13px; }
.breadcrumbs a { color: var(--gold-light); text-decoration: none; }

.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 85px; align-items: start; }
.prose { max-width: 770px; }
.prose h2 { margin: 2.1em 0 .55em; font: 400 clamp(2rem,4vw,3rem)/1.12 var(--serif); letter-spacing: -.02em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.8em 0 .45em; font: 400 1.55rem/1.25 var(--serif); }
.prose p { margin: 0 0 1.35em; color: #33413d; }
.prose a { color: #145347; font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.prose a:hover { color: #8a5d14; }
.prose blockquote {
  margin: 40px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--gold);
  font: italic 400 1.45rem/1.5 var(--serif);
  color: var(--forest);
}
.prose ul { padding-left: 20px; }
.prose li { margin-bottom: 10px; }
.article-image { margin: 38px 0; }
.article-image img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.article-image figcaption { padding: 10px 0; color: #68736f; font-size: 13px; border-bottom: 1px solid var(--line); }

.side-nav { position: sticky; top: 108px; padding: 24px; background: var(--paper); border-top: 3px solid var(--gold); }
.side-nav strong { display: block; margin-bottom: 13px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.side-nav a { display: block; padding: 9px 0; color: var(--ink-soft); font-size: 14px; text-decoration: none; border-bottom: 1px solid var(--line); }
.side-nav a:hover { color: var(--forest); }

.fact-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: -1px; color: var(--white); background: #102b25; }
.fact { padding: 28px; border-right: 1px solid rgba(255,255,255,.12); }
.fact strong { display: block; color: var(--gold-light); font-family: var(--serif); font-size: 27px; font-weight: 400; }
.fact span { color: #c7d3cf; font-size: 13px; }

.callout { margin: 45px 0; padding: 30px; color: var(--white); background: var(--forest); border-left: 5px solid var(--gold); }
.callout h3 { margin-top: 0; color: var(--white); }
.callout p:last-child { margin-bottom: 0; color: #d5dfdb; }
.callout a {
  color: var(--gold-light);
  text-decoration-color: rgba(232, 201, 128, .72);
}
.callout a:hover { color: var(--white); }

.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.contact-card { padding: 35px; background: var(--forest); color: var(--white); }
.contact-card h2 { margin-top: 0; font: 400 2rem/1.1 var(--serif); }
.contact-list { list-style: none; padding: 0; margin: 25px 0 0; }
.contact-list li { padding: 15px 0; border-top: 1px solid rgba(255,255,255,.15); }
.contact-list span { display: block; color: #9fb2ab; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a { color: var(--gold-light); text-decoration: none; }
.contact-list a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 750; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #bdc6c2;
  border-radius: 0;
  font: inherit;
}
.field textarea { min-height: 170px; resize: vertical; }
.form-note { grid-column: 1/-1; margin: 0; color: var(--ink-soft); font-size: 13px; }

.site-footer { padding: 68px 0 28px; color: #d4dfdb; background: #0d2520; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr; gap: 70px; }
.footer-about { max-width: 500px; }
.footer-about p { color: #9fb2ab; font-size: 14px; }
.footer-title { margin: 0 0 18px; color: var(--gold-light); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 9px 0; }
.footer-links a { color: #d4dfdb; font-size: 14px; text-decoration: none; }
.footer-links a:hover { color: var(--gold-light); }
.footer-bottom { margin-top: 55px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; color: #849b92; font-size: 12px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 980px) {
  .menu-button { display: block; }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    padding: 18px 20px 26px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    background: #102b25;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 20px 40px rgba(0,0,0,.22);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav a::after { display: none; }
  .main-nav .nav-contact { margin-top: 12px; text-align: center; }
  .intro-grid, .content-layout, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .side-nav { position: static; order: -1; }
  .topic-card { grid-column: span 6; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-image { min-height: 430px; }
  .article-list { grid-template-columns: 1fr 1fr; }
  .fact-strip { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .footer-about { grid-column: 1/-1; }
}

@media (max-width: 640px) {
  :root { --wrap: calc(100% - 28px); }
  body { overflow-x: hidden; }
  .nav-wrap, .hero-inner, .wrap { width: calc(100% - 28px); max-width: none; }
  body { font-size: 16px; }
  .nav-wrap { min-height: 70px; }
  .menu-button { flex: 0 0 44px; margin-left: auto; }
  .brand-mark { width: 35px; height: 40px; }
  .brand-text strong { font-size: 17px; }
  .brand-text small { display: none; }
  .main-nav { top: 70px; }
  .hero { min-height: 650px; background-position: 62% center; }
  .hero-inner { padding: 120px 0 60px; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 3.25rem); overflow-wrap: anywhere; }
  .hero .eyebrow { gap: 7px; font-size: 10.5px; letter-spacing: .13em; }
  .hero .eyebrow::before { width: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section { padding: 72px 0; }
  .topic-grid, .article-list { grid-template-columns: 1fr; }
  .topic-card { grid-column: 1/-1; min-height: 280px; }
  .feature-image { min-height: 330px; }
  .feature-copy { padding: 45px 25px; }
  .page-hero { min-height: 390px; padding: 105px 0 52px; }
  .page-intro { font-size: 17px; }
  .content-layout { gap: 30px; }
  .side-nav { padding: 20px; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .contact-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-about { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
