/*
Theme Name: Eigenmodus
Author: Susanne Hermsen
Description: De officiële Eigenmodus-huisstijl met alle bestaande pagina's, het interactieve Startkompas en ruimte voor toekomstig aanbod.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: eigenmodus
*/

:root {
  --ink: #17231f;
  --forest: #173f35;
  --forest-deep: #102f28;
  --sage: #a8b7a3;
  --sage-soft: #dce4d8;
  --lilac: #ded5e2;
  --lavender: #aa97b6;
  --plum: #55435d;
  --cream: #f3efe7;
  --paper: #fbf9f4;
  --line: rgba(23, 35, 31, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
body.admin-bar .site-header { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #b69ac6;
  outline-offset: 4px;
}
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  z-index: 99999;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 12px 16px;
  clip: auto;
  background: #fff;
  color: var(--forest);
  font-weight: 700;
}
.entry-content > *, .entry-content > .wp-block-group,
.page-hero-copy > *, .wp-block-group > * {
  margin-block-start: 0;
  margin-block-end: 0;
}
.site-main { min-height: 60vh; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(16, 47, 40, 0.97);
  color: #f8f4ec;
  backdrop-filter: blur(16px);
}
.header-inner {
  display: flex;
  width: min(100% - 40px, 1380px);
  height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}
.brand-link, .custom-logo-link { display: inline-flex; flex: 0 0 auto; align-items: center; }
.brand-link img, .custom-logo-link img {
  display: block;
  width: 205px;
  max-height: 42px;
  object-fit: contain;
}
.desktop-nav { margin-left: auto; }
.primary-menu {
  display: flex;
  align-items: center;
  gap: 29px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
}
.primary-menu > li { position: relative; display: flex; align-items: center; min-height: 78px; }
.primary-menu a { color: rgba(255,255,255,.7); transition: color .18s ease; }
.primary-menu a:hover, .primary-menu .current-menu-item > a, .primary-menu .current-menu-ancestor > a { color: #fff; }
.primary-menu > .menu-item-has-children > a::after { margin-left: 6px; color: #bcaac5; content: "↓"; font-size: 9px; }
.primary-menu .sub-menu {
  position: absolute;
  top: 65px;
  left: -20px;
  display: grid;
  visibility: hidden;
  min-width: 260px;
  margin: 0;
  padding: 12px;
  transform: translateY(-6px);
  border: 1px solid rgba(23,35,31,.08);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 24px 65px rgba(5,24,18,.26);
  opacity: 0;
  list-style: none;
  counter-reset: submenu;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}
.primary-menu .menu-item-has-children:hover > .sub-menu,
.primary-menu .menu-item-has-children:focus-within > .sub-menu {
  visibility: visible;
  transform: translateY(0);
  opacity: 1;
}
.primary-menu .sub-menu li { counter-increment: submenu; }
.primary-menu .sub-menu a {
  display: grid;
  grid-template-columns: 29px 1fr;
  align-items: center;
  padding: 10px;
  border-radius: 9px;
  color: #45524c;
  font-size: 11px;
}
.primary-menu .sub-menu a::before {
  color: #826f89;
  content: "0" counter(submenu);
  font-family: Georgia, "Times New Roman", serif;
}
.primary-menu .sub-menu a:hover, .primary-menu .sub-menu .current-menu-item > a { background: #e8e3eb; color: var(--forest); }
.header-cta {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.header-cta:hover { background: #f7f2e9; color: var(--forest); }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary {
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  list-style: none;
}
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav {
  position: absolute;
  top: 49px;
  right: 0;
  width: min(320px, calc(100vw - 28px));
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  padding: 12px;
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 20px 55px rgba(4,22,17,.25);
  color: var(--ink);
}
.mobile-menu-list, .mobile-menu-list .sub-menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu-list > li > a, .mobile-start-link, .mobile-extra-link {
  display: block;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
}
.mobile-menu-list .sub-menu { padding: 2px 0 8px; }
.mobile-menu-list .sub-menu a { display: block; padding: 8px 12px 8px 27px; color: #65716b; font-size: 11px; font-weight: 700; }
.mobile-start-link { margin-top: 6px; border-radius: 9px; background: var(--forest); color: #fff; }

.page-hero {
  position: relative;
  display: grid;
  min-height: 490px;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  overflow: hidden;
  background: var(--forest);
  color: #f8f4ec;
}
.page-hero.home { min-height: 640px; }
.page-hero-copy {
  display: flex;
  max-width: 790px;
  flex-direction: column;
  justify-content: center;
  padding: 78px 52px 78px max(40px, calc((100vw - 1260px) / 2));
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 25px !important;
  color: #c8d1c4;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow::before { width: 24px; height: 1px; background: var(--lavender); content: ""; }
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 6vw, 87px);
  font-weight: 400;
  letter-spacing: -.065em;
  line-height: .96;
}
.page-hero h1 em { display: block; color: #baa8c4; font-weight: 400; }
.page-hero-intro { max-width: 650px; margin: 27px 0 0 !important; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 25px; align-items: center; margin-top: 33px; }
.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 21px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  transition: transform .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { background: #f5f0e7; color: var(--forest-deep); }
.button-light:hover { background: #fff; }
.button-outline { border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.85); }
.page-hero-visual {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,.1);
  background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px), #1c493e;
  background-size: 52px 52px;
}
.page-hero-visual::before { position: absolute; width: 410px; height: 410px; border: 1px dashed rgba(255,255,255,.22); border-radius: 50%; content: ""; }
.page-hero-visual::after { position: absolute; width: 300px; height: 300px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; background: rgba(170,151,182,.12); content: ""; }
.mode-map { position: relative; z-index: 2; width: 390px; height: 390px; }
.mode-map-center {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: flex;
  width: 220px;
  height: 220px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(16,47,40,.93);
  box-shadow: 0 26px 65px rgba(4,25,19,.35);
}
.mode-logo {
  display: block;
  width: 126px;
  height: 85px;
  background: url("assets/images/monogram-light.png") center / contain no-repeat;
}
.mode-map-center small { margin-top: 13px; color: rgba(255,255,255,.53); font-size: 8px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.map-word { position: absolute; padding: 9px 13px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; background: rgba(85,67,93,.9); font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.word-north { top: 5px; left: 50%; transform: translateX(-50%); }
.word-east { top: 50%; right: -5px; transform: translateY(-50%); }
.word-south { bottom: 5px; left: 50%; transform: translateX(-50%); }
.word-west { top: 50%; left: -5px; transform: translateY(-50%); }

.section-label { margin: 0; color: #6b756f; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.section-label-light { color: rgba(255,255,255,.58); }
.section-intro { display: grid; grid-template-columns: .7fr 1.3fr; gap: 18px 70px; }
.section-intro h1, .section-intro h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(38px, 4.3vw, 61px); font-weight: 400; letter-spacing: -.05em; line-height: 1.05; }
.section-intro > p:last-child { grid-column: 2; max-width: 660px; margin: 0; color: #5e6863; font-size: 14px; line-height: 1.72; }
.compact-intro { grid-template-columns: .55fr 1.45fr; }

.route-section { padding: 95px max(35px, calc((100vw - 1240px) / 2)); background: var(--paper); }
.route-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 54px; }
.route-card {
  display: grid;
  min-height: 220px;
  grid-template-columns: 48px 1fr auto;
  gap: 15px;
  align-items: start;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform .18s ease, border-color .18s ease;
}
.route-card:hover { transform: translateY(-3px); border-color: rgba(85,67,93,.45); }
.route-card > span { color: #796880; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.route-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 29px; font-weight: 400; letter-spacing: -.035em; }
.route-card p { max-width: 450px; margin: 13px 0 0; color: #5b6660; font-size: 13px; line-height: 1.65; }
.route-card p.section-label { margin: 0 0 10px; color: #7d6b84; font-size: 8px; }
.route-card > strong { font-size: 20px; font-weight: 400; }
.route-card.sage { background: #e5ebe1; }
.route-card.lilac { background: #e7e0e9; }
.route-card.paper { background: #f3efe7; }
.route-card.plum { background: var(--plum); color: #fff; }
.route-card.plum p, .route-card.plum > span { color: rgba(255,255,255,.66); }

.content-section { padding: 88px max(35px, calc((100vw - 1120px) / 2)); background: var(--paper); }
.content-grid, .post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.info-card { min-height: 245px; padding: 27px; border: 1px solid var(--line); border-radius: 18px; background: var(--cream); }
.info-card > span { color: #7c6b83; font-family: Georgia, "Times New Roman", serif; font-size: 16px; }
.info-card h2, .info-card h3 { margin: 50px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: 27px; font-weight: 400; letter-spacing: -.035em; }
.info-card p { margin: 13px 0 0; color: #5d6762; font-size: 13px; line-height: 1.7; }
.post-grid { margin-top: 54px; }
.post-card h2 { margin-top: 30px; }
.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 88px max(35px, calc((100vw - 1120px) / 2)); background: var(--lilac); }
.split-section h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(37px, 4vw, 55px); font-weight: 400; letter-spacing: -.05em; line-height: 1.05; }
.split-section .section-label + h2 { margin-top: 18px; }
.split-section p { color: #58635d; font-size: 14px; line-height: 1.75; }
.clean-list { margin: 27px 0 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.clean-list li { position: relative; padding: 17px 0 17px 24px; border-bottom: 1px solid var(--line); color: #53605a; font-size: 13px; line-height: 1.5; }
.clean-list li::before { position: absolute; top: 23px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--plum); content: ""; }
.mini-nav { display: flex; justify-content: center; gap: 8px; padding: 18px 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mini-nav a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: #5c6761; font-size: 11px; font-weight: 700; }
.mini-nav a span { color: #806d87; font-family: Georgia, "Times New Roman", serif; }
.mini-nav a.active { border-color: var(--plum); background: var(--plum); color: #fff; }
.mini-nav a.active span { color: #d6c5dd; }
.offer-mini-nav { flex-wrap: wrap; }
.detail-split { background: var(--paper); }
.detail-split h2 { font-size: clamp(31px, 3.4vw, 45px); }
.detail-try, .status-box { margin-top: 28px; padding: 23px; border-left: 3px solid var(--plum); background: var(--lilac); }
.detail-try span, .status-box span { color: #796580; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.detail-try p, .status-box p { margin: 9px 0 0; color: #535f59; font-size: 13px; line-height: 1.68; }
.status-box strong { display: block; margin-top: 9px; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; }
.detail-button { margin-top: 25px; background: var(--forest); color: #fff; }
.recognition-list { margin-top: 42px; border-top: 1px solid var(--line); }
.recognition-row { display: grid; grid-template-columns: 65px 1fr; align-items: center; min-height: 77px; border-bottom: 1px solid var(--line); }
.recognition-row span { color: #7e6c85; font-family: Georgia, "Times New Roman", serif; }
.recognition-row p { margin: 0; font-size: 16px; font-weight: 700; letter-spacing: -.02em; }

.compass-section { padding: 82px max(35px, calc((100vw - 1120px) / 2)); background: var(--forest); color: #fff; }
.compass-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 24px; }
.compass-tabs { display: flex; flex-direction: column; }
.compass-tabs button { display: grid; grid-template-columns: 42px 1fr; min-height: 72px; align-items: center; padding: 0 15px; border: 0; border-bottom: 1px solid rgba(255,255,255,.16); background: transparent; color: rgba(255,255,255,.6); cursor: pointer; font: inherit; font-size: 14px; text-align: left; }
.compass-tabs button:first-child { border-top: 1px solid rgba(255,255,255,.16); }
.compass-tabs button span { color: #b9a5c4; font-family: Georgia, "Times New Roman", serif; }
.compass-tabs button.active { padding-left: 24px; background: rgba(255,255,255,.075); color: #fff; }
.compass-result { display: flex; min-height: 430px; flex-direction: column; padding: clamp(28px, 5vw, 56px); border-radius: 23px; background: #eee7f0; color: var(--ink); }
.compass-result > span { color: #78677f; font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.compass-result h2 { margin: 18px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(34px, 4vw, 48px); font-weight: 400; letter-spacing: -.045em; line-height: 1.06; }
.compass-result > p { color: #56615b; font-size: 14px; line-height: 1.75; }
.try-box { margin-top: 23px; padding: 21px; border-left: 3px solid var(--plum); background: rgba(255,255,255,.58); }
.try-box strong { color: #75627d; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.try-box p { margin: 8px 0 0; font-size: 13px; line-height: 1.65; }

.about-section { display: grid; grid-template-columns: .8fr 1.2fr; background: var(--paper); }
.about-visual { position: relative; display: grid; min-height: 610px; place-items: center; overflow: hidden; background: linear-gradient(rgba(23,63,53,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(23,63,53,.06) 1px,transparent 1px),#a9b8a5; background-size: 52px 52px; }
.about-visual::before { position: absolute; width: 390px; height: 390px; border: 1px dashed rgba(23,63,53,.34); border-radius: 50%; content: ""; }
.initials { position: relative; z-index: 2; display: grid; width: 220px; height: 220px; place-items: center; border-radius: 50%; background: var(--forest); color: #fff; font-family: Georgia, "Times New Roman", serif; font-size: 68px; letter-spacing: -.08em; box-shadow: 0 26px 70px rgba(23,63,53,.25); }
.about-copy { align-self: center; max-width: 730px; padding: 75px clamp(35px, 7vw, 100px); }
.about-copy h2 { margin: 20px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(46px, 5vw, 68px); font-weight: 400; letter-spacing: -.06em; }
.about-lead { color: var(--plum) !important; font-family: Georgia, "Times New Roman", serif; font-size: 22px !important; line-height: 1.4 !important; }
.about-copy p { color: #5d6762; font-size: 14px; line-height: 1.76; }

.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 42px 1fr 20px; gap: 12px; align-items: center; min-height: 76px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span, .faq-list summary i { color: #7d6b84; font-family: Georgia, "Times New Roman", serif; font-style: normal; font-weight: 400; }
.faq-list summary i { font-size: 22px; transition: transform .18s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > p { margin: -2px 36px 26px 54px; color: #5d6762; font-size: 13px; line-height: 1.72; }

.short-cta { display: flex; align-items: center; justify-content: space-between; gap: 35px; padding: 65px max(35px, calc((100vw - 1120px) / 2)); background: var(--plum); color: #fff; }
.short-cta h2 { max-width: 710px; margin: 16px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(31px, 3.6vw, 48px); font-weight: 400; letter-spacing: -.045em; line-height: 1.07; }
.site-footer { padding: 50px max(30px, calc((100vw - 1260px) / 2)); background: var(--forest-deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 50px; }
.site-footer .brand-link img, .site-footer .custom-logo-link img { width: 220px; }
.site-footer p { max-width: 330px; color: rgba(255,255,255,.52); font-size: 12px; line-height: 1.65; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px 25px; font-size: 11px; font-weight: 700; }
.footer-links a:hover { color: #d9c7e1; }
.footer-bottom { margin-top: 42px; padding-top: 19px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.4); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }

.article-header { padding: 85px max(35px, calc((100vw - 900px) / 2)); background: var(--forest); color: #fff; }
.article-header h1 { max-width: 850px; margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 6vw, 78px); font-weight: 400; letter-spacing: -.055em; line-height: 1; }
.article-header > p:last-child { color: rgba(255,255,255,.6); font-size: 12px; }
.article-content { padding: 70px max(25px, calc((100vw - 760px) / 2)); background: var(--paper); font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.75; }
.article-content h2, .article-content h3 { font-family: Arial, Helvetica, sans-serif; }

@media (max-width: 1080px) {
  .primary-menu { gap: 19px; }
  .brand-link img, .custom-logo-link img { width: 180px; }
}

@media (max-width: 960px) {
  .desktop-nav, .header-inner > .header-cta { display: none; }
  .mobile-menu { display: block; margin-left: auto; }
  .page-hero { grid-template-columns: 1fr; }
  .page-hero-copy { max-width: none; padding: 70px 32px; }
  .page-hero-visual { min-height: 500px; border-top: 1px solid rgba(255,255,255,.1); border-left: 0; }
  .section-intro, .compact-intro, .split-section, .compass-layout, .about-section { grid-template-columns: 1fr; }
  .section-intro > p:last-child { grid-column: 1; }
  .content-grid, .post-grid { grid-template-columns: repeat(2, 1fr); }
  .short-cta { align-items: flex-start; flex-direction: column; }
  .about-visual { min-height: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mini-nav { justify-content: flex-start; overflow-x: auto; }
  .mini-nav a { flex: 0 0 auto; }
}

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

@media (max-width: 620px) {
  .header-inner { width: calc(100% - 28px); height: 70px; }
  .brand-link img, .custom-logo-link img { width: 175px; max-height: 38px; }
  .page-hero.home { min-height: 0; }
  .page-hero-copy { padding: 60px 22px; }
  .page-hero h1 { font-size: clamp(47px, 14vw, 65px); }
  .page-hero-visual { min-height: 420px; }
  .mode-map { width: 320px; height: 320px; }
  .mode-map-center { width: 190px; height: 190px; }
  .mode-logo { width: 112px; height: 72px; }
  .route-section, .content-section, .split-section, .compass-section { padding: 70px 22px; }
  .route-grid, .content-grid, .post-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 205px; grid-template-columns: 38px 1fr auto; padding: 22px; }
  .info-card { min-height: 220px; }
  .compass-result { min-height: 0; padding: 28px 22px; }
  .about-copy { padding: 65px 22px; }
  .short-cta { padding: 57px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding: 45px 22px; }
  .faq-list summary { grid-template-columns: 34px 1fr 18px; }
  .faq-list details > p { margin-left: 46px; }
}

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