:root {
  --bg: #f6f4ef;
  --surface: #fffdfa;
  --surface-soft: #ece7dc;
  --ink: #171a18;
  --text: #2c302c;
  --muted: #697067;
  --primary: #29483b;
  --primary-deep: #183228;
  --accent: #b76f7e;
  --accent-soft: #efd8dc;
  --line: #ded8cb;
  --line-strong: #c7beae;
  --radius: 8px;
  --shadow: 0 22px 60px rgba(23, 26, 24, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  font-family: "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
  color: var(--text);
  background:
    linear-gradient(90deg, rgba(41, 72, 59, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 100%);
  background-size: 56px 56px, auto;
  text-rendering: optimizeLegibility;
  overflow-wrap: break-word;
}

body::selection {
  color: #fff;
  background: var(--primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

p {
  margin: 0 0 1rem;
}

strong {
  color: var(--ink);
}

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 250, 0.92);
  border-bottom: 1px solid rgba(222, 216, 203, 0.78);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.25rem;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.78rem;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 70px;
  height: auto;
}

.brand-copy {
  display: grid;
  gap: 0.04rem;
}

.brand-text {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 0.96;
  color: var(--ink);
  white-space: nowrap;
}

.brand-subtitle,
.eyebrow,
.hero-panel span,
.news-meta,
label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.brand-subtitle {
  color: var(--muted);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.12rem;
  min-width: 0;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.62rem;
  border-radius: var(--radius);
  color: #454b45;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background-color 0.18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0.62rem;
  right: 0.62rem;
  bottom: 0.42rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--primary-deep);
  background: rgba(41, 72, 59, 0.06);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 0.92rem;
  border: 1px solid var(--primary);
  border-radius: var(--radius);
  color: #fff;
  background: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.header-cta:hover {
  color: #fff;
  background: var(--primary-deep);
}

.page-hero {
  position: relative;
  min-height: clamp(560px, 76vh, 760px);
  display: grid;
  align-items: end;
  padding: 8.8rem 0 4rem;
  overflow: hidden;
  background: var(--ink);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.035);
  filter: blur(2px) saturate(0.72) contrast(1.04);
}

body[data-page="home"] .hero-image,
body[data-page="voor-wie"] .hero-image,
body[data-page="contact"] .hero-image {
  object-position: center 45%;
}

body[data-page="stott"] .hero-image {
  object-position: center 28%;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 68%, rgba(12, 16, 14, 0.9) 0%, rgba(12, 16, 14, 0.68) 34%, rgba(12, 16, 14, 0.12) 68%, transparent 100%),
    linear-gradient(90deg, rgba(12, 16, 14, 0.88) 0%, rgba(12, 16, 14, 0.54) 44%, rgba(12, 16, 14, 0.16) 76%),
    linear-gradient(180deg, rgba(12, 16, 14, 0.18) 0%, rgba(12, 16, 14, 0.78) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 360px);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
}

body:not([data-page="home"]) .page-hero {
  min-height: clamp(430px, 58vh, 600px);
}

body:not([data-page="home"]) .hero-inner {
  grid-template-columns: minmax(0, 820px);
}

.hero-content {
  color: #fff;
  max-width: 820px;
  padding: clamp(1rem, 2vw, 1.35rem) 0;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.52);
}

.eyebrow {
  width: fit-content;
  margin: 0 0 1.1rem;
  padding: 0.45rem 0.62rem;
  color: #f3eadf;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

h1,
h2,
h3 {
  margin: 0 0 0.72rem;
  line-height: 1.05;
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(3rem, 8vw, 6.8rem);
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.62), 0 1px 2px rgba(0, 0, 0, 0.7);
}

body:not([data-page="home"]) h1 {
  font-size: clamp(2.7rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
}

h3 {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
}

.hero-lead {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.02rem, 1.65vw, 1.25rem);
  line-height: 1.72;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.56);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
  min-width: 0;
}

.hero-panel {
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  color: #fff;
  background: rgba(15, 18, 16, 0.42);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.hero-panel span {
  color: #f0cfd5;
}

.hero-panel strong {
  display: block;
  margin: 0.42rem 0 0.6rem;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.45;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.93rem;
}

.content-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(3.6rem, 8vw, 6.8rem) 0;
}

.section + .section {
  padding-top: 0;
}

.section-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 250, 0.88);
  box-shadow: 0 14px 42px rgba(23, 26, 24, 0.07);
  padding: clamp(1.25rem, 3vw, 2.35rem);
}

.section-intro,
.panel-intro {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.02rem;
}

.section-label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 0.85rem;
  padding: 0.38rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--accent);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 1rem;
}

.split > .section-card:first-child {
  background: var(--surface);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.78rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 14px 28px rgba(180, 106, 76, 0.28);
}

.btn-primary:hover {
  color: #fff;
  background: #9f5b68;
  box-shadow: 0 16px 34px rgba(159, 91, 104, 0.32);
}

.btn-outline,
.btn-ghost {
  color: var(--primary-deep);
  border-color: var(--line-strong);
  background: rgba(255, 253, 250, 0.82);
}

.btn-outline:hover,
.btn-ghost:hover {
  color: var(--primary-deep);
  border-color: var(--primary);
  background: #fff;
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.09);
}

.btn-ghost:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.16);
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.image-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.image-grid img,
.feature-image,
.profile img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(0.82) contrast(1.02);
}

.image-grid.three img {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.feature-image {
  aspect-ratio: 4 / 3;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

.fact {
  min-height: 118px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfaf6;
}

.fact strong {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.fact p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.training-panel {
  background:
    linear-gradient(145deg, rgba(41, 72, 59, 0.09), rgba(255, 253, 250, 0.94)),
    var(--surface);
}

.training-panel h3 {
  margin-bottom: 0.28rem;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.program-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: #fffdfa;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.program-card:hover {
  color: var(--text);
  border-color: var(--accent);
  box-shadow: 0 16px 34px rgba(23, 26, 24, 0.08);
  transform: translateY(-2px);
}

.program-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1.03rem;
  overflow-wrap: anywhere;
}

.program-card span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.studio-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
  align-items: stretch;
}

.studio-strip .feature-image {
  min-height: 100%;
}

.clarity-list {
  margin: 1.25rem 0 1.4rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.62rem;
}

.clarity-list li {
  position: relative;
  margin: 0;
  padding: 0.84rem 0.95rem 0.84rem 1.08rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #fffdfa;
  color: #424740;
}

.clarity-list li strong {
  color: var(--primary-deep);
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 1.4rem;
  padding: 1.4rem 0 0;
  margin-top: 1.4rem;
  border-top: 1px solid var(--line);
}

.profile:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.profile img {
  aspect-ratio: 4 / 5;
  min-height: 0;
  object-position: center top;
}

ul {
  margin: 0.4rem 0 1rem;
  padding-left: 1.2rem;
}

li {
  margin-bottom: 0.38rem;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.news-list {
  display: grid;
  gap: 0.9rem;
}

.news-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdfa;
  padding: 1.05rem;
}

.news-item h3 {
  margin-bottom: 0.25rem;
}

.news-meta {
  margin-top: 0;
  color: var(--accent);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 1rem;
}

.contact-side .contact-photo {
  width: 100%;
  min-height: 0;
  max-height: 300px;
  aspect-ratio: 4 / 3;
  object-position: center 42%;
  margin-top: 0.6rem;
}

form {
  display: grid;
  gap: 0.76rem;
}

label {
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  padding: 0.82rem 0.88rem;
  font: inherit;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(41, 72, 59, 0.14);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

.site-footer {
  margin-top: 1rem;
  color: rgba(255, 253, 250, 0.86);
  background: #18251f;
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 2rem 0;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  align-items: center;
  gap: 1.2rem 2rem;
}

.footer-brand {
  display: grid;
  gap: 0.3rem;
}

.footer-brand strong {
  color: #fff;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1;
}

.footer-brand span,
.footer-copy {
  color: rgba(255, 253, 250, 0.68);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.8rem 1rem;
}

.footer-links a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: #f0cfd5;
}

.footer-copy {
  grid-column: 1 / -1;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 253, 250, 0.14);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .header-inner {
    grid-template-columns: auto auto auto;
  }

  .menu-toggle {
    display: inline-grid;
    justify-self: end;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 20px;
    width: min(420px, calc(100vw - 40px));
    padding: 0.45rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    justify-content: flex-start;
    font-size: 0.95rem;
    padding: 0.66rem 0.78rem;
  }

  .main-nav a::after {
    display: none;
  }

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

@media (max-width: 940px) {
  .hero-inner,
  .split,
  .profile,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 680px;
  }

  .hero-panel {
    max-width: 520px;
  }

  .image-grid.three,
  .program-grid,
  .studio-strip,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .header-inner,
  .content-shell,
  .hero-inner,
  .footer-inner {
    width: min(100% - 28px, 1120px);
  }

  .brand img {
    width: 56px;
  }

  .brand-subtitle {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .page-hero {
    min-height: 560px;
    padding: 7.2rem 0 2.2rem;
  }

  h1 {
    font-size: 2.65rem;
  }

  body:not([data-page="home"]) h1 {
    font-size: 2.35rem;
  }

  .hero-panel {
    padding: 0.95rem;
  }

  .hero-actions,
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
    white-space: normal;
  }

  .section {
    padding: 3.2rem 0;
  }

  .fact-grid,
  .image-grid,
  .history-grid {
    grid-template-columns: 1fr;
  }

  .fact {
    min-height: 0;
  }
}

@media (max-width: 460px) {
  .brand-text {
    font-size: 1.18rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .section-card {
    padding: 1rem;
  }

  h1 {
    font-size: 2.25rem;
  }

  body:not([data-page="home"]) h1 {
    font-size: 2.05rem;
  }
}
