/* EEF 22 September 2026: final, scoped review layer.
   Existing photography, films and desktop heroes remain the foundation. */
body.refined {
  --opt-ink: #0f1f3d;
  --opt-muted: #516071;
  --opt-line: #dce2e7;
  --opt-accent: #4fdff3;
  --opt-wash: #eef9fb;
}

/* Keep actions recognisable and allow long labels to wrap on small screens. */
body.refined #main .button {
  max-width: 100%;
  white-space: normal;
  text-align: center;
  overflow-wrap: anywhere;
}
body.refined #main .button > span[aria-hidden="true"] { flex-shrink: 0; }
body.refined #main :is(a, button, select, input, textarea, summary):focus-visible {
  outline: 3px solid var(--opt-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--opt-accent);
}
body.refined .menu-toggle {
  appearance: none;
  border: 1px solid var(--opt-line);
  color: var(--opt-ink);
  box-shadow: none;
}

/* Open questions use the established palette and an explicit text label. */
body.refined #main .dp-open {
  color: var(--opt-ink);
  background: var(--opt-wash);
  border-left: 3px solid var(--opt-accent);
}
body.refined #main .dp-open-paper { border-left-color: var(--opt-accent); }

/* Homepage: make the tangible result the centre of the example. */
body.refined #main .dp-proof-layout.opt-proof {
  grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr);
}
body.refined #main .opt-proof .dp-proof-desk { padding: 42px; }
body.refined #main .opt-proof .dp-proof-paper.opt-result {
  width: 100%;
  max-width: 540px;
  border-top: 3px solid var(--opt-accent);
  padding: 32px;
}
body.refined #main .opt-proof .dp-proof-paper.opt-result h4 {
  font-size: clamp(28px,2.7vw,38px);
  line-height: 1.15;
}
body.refined #main .opt-proof .dp-proof-next.opt-human {
  padding: 18px 0 0;
  border-top: 1px solid #c5d9df;
}
body.refined #main .opt-proof .opt-human .dp-proof-arrow {
  color: var(--opt-ink);
  background: var(--opt-accent);
  border-color: var(--opt-accent);
}

/* Organisations: one concrete handover, with evidence in the main position. */
body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof {
  grid-template-columns: minmax(0,.8fr) 18px minmax(0,1.4fr) 18px minmax(0,.8fr);
  gap: 14px;
  align-items: center;
  margin: 38px 0 30px;
}
body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > div {
  min-width: 0;
  padding: 22px;
  border: 0;
  background: transparent;
}
body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > div > strong {
  font: 600 clamp(22px,2.1vw,29px)/1.22 var(--serif);
  color: var(--opt-ink);
  letter-spacing: -.025em;
}
body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > .opt-result {
  padding: 30px;
  background: #fff;
  border: 1px solid var(--opt-line);
  border-top: 4px solid var(--opt-accent);
  box-shadow: 0 12px 32px -25px #0f1f3d66;
}
body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > .opt-human {
  background: var(--opt-wash);
  border-left: 3px solid var(--opt-accent);
}
body.refined[data-route="organisaties"] #main .opt-proof-details { margin: 24px 0 0; }
body.refined[data-route="organisaties"] #main .opt-proof-details > div {
  padding: 13px 0;
  border-top: 1px solid var(--opt-line);
}
body.refined[data-route="organisaties"] #main .opt-proof-details dt {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 500;
  color: var(--opt-muted);
}
body.refined[data-route="organisaties"] #main .opt-proof-details dd {
  margin: 0;
  color: var(--opt-ink);
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
body.refined[data-route="organisaties"] #main .organization-proof-grid {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--opt-line);
  gap: 34px;
}
body.refined[data-route="organisaties"] #main .organization-proof-grid > article {
  padding: 26px 0 0;
  background: transparent;
}
body.refined[data-route="organisaties"] #main .organization-control-grid {
  background: transparent;
  border: 0;
}
body.refined[data-route="organisaties"] #main .organization-control-grid article {
  background: transparent;
}
body.refined[data-route="organisaties"] #main .organization-control-grid .is-human-judgement {
  background: var(--opt-wash);
}
body.refined[data-route="organisaties"] #main .compact-implementation {
  border: 0;
  border-top: 1px solid var(--opt-line);
  background: transparent;
  gap: 28px;
  padding-top: 24px;
}
body.refined[data-route="organisaties"] #main .compact-implementation > div {
  padding: 0;
  background: transparent;
}

/* Entrepreneurs: show a result, rather than three equal claims. */
body.refined[data-route="ondernemers"] #main .audience-result-line.opt-proof {
  grid-template-columns: minmax(0,.85fr) minmax(0,1.3fr) minmax(0,.85fr);
  align-items: center;
  gap: 24px;
  border: 0;
  background: transparent;
  margin: 32px 0;
}
body.refined[data-route="ondernemers"] #main .audience-result-line.opt-proof > div {
  min-width: 0;
  padding: 24px;
  background: transparent;
}
body.refined[data-route="ondernemers"] #main .audience-result-line.opt-proof > .opt-result {
  background: #f3f5f5;
  border-top: 3px solid var(--opt-accent);
  padding: 30px;
}
body.refined[data-route="ondernemers"] #main .audience-result-line.opt-proof > .opt-human {
  background: var(--opt-wash);
  border-left: 3px solid var(--opt-accent);
}

/* Native mobile role chooser; the full grid remains the no-JavaScript fallback. */
body.refined[data-route="ai-team"] #main .opt-team-picker { display: none; }
body.refined[data-route="ai-team"] #main .opt-team-picker label {
  color: var(--opt-ink);
  font-size: 15px;
  font-weight: 600;
}
body.refined[data-route="ai-team"] #main .opt-team-select {
  width: 100%;
  max-width: 100%;
  min-height: 52px;
  padding: 12px;
  border: 1px solid #8d9da9;
  border-radius: 4px;
  background: #fff;
  color: var(--opt-ink);
  font: 400 16px/1.4 var(--sans);
}
body.refined[data-route="ai-team"] #main .opt-team-picker :is(p, small) {
  margin: 0;
  color: var(--opt-muted);
  font-size: 14px;
  line-height: 1.5;
}
body.refined[data-route="ai-team"] #main #werkvoorbeeld { scroll-margin-top: 112px; }

/* Tablet: preserve faces while bringing the promise and action into view. */
@media (min-width:701px) and (max-width:1000px) {
  body.refined #main .hd-hero .hd-image,
  body.refined #main .hd-hero[data-page-hero] .hd-image {
    height: clamp(290px,38vw,340px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center top;
  }
  body.refined #main .hd-inner { padding: 28px 32px 34px; }
  body.refined #main .hd-hero .hd-kicker { margin-bottom: 16px; }
  body.refined #main .hd-hero h1,
  body.refined #main .interior-page .hd-hero[data-page-hero] h1,
  body.refined #main .interior-page.ed-support-page .hd-hero h1 {
    font-size: clamp(42px,7.2cqw,52px);
    line-height: 1.07;
    margin-bottom: 20px;
  }
  body.refined #main .hd-hero .hd-lead,
  body.refined #main .interior-page .hd-hero .hd-lead {
    font-size: 18px;
    line-height: 1.55;
    margin-bottom: 24px;
  }
}

@media (max-width:1000px) {
  body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof {
    grid-template-columns: minmax(0,1fr);
    gap: 12px;
    max-width: 680px;
    margin-inline: auto;
  }
  body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > b {
    justify-self: center;
    transform: rotate(90deg);
  }
  body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > div:first-child {
    padding: 8px 0 4px;
  }
  body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > .opt-human {
    padding: 22px 26px;
  }
}
@media (max-width:800px) {
  body.refined #main .dp-proof-layout.opt-proof { grid-template-columns: minmax(0,1fr); }
  body.refined #main .opt-proof .dp-proof-desk { padding: 28px 18px; }
  body.refined #main .opt-proof .dp-proof-paper.opt-result { padding: 26px 22px; }
  body.refined[data-route="ondernemers"] #main .audience-result-line.opt-proof {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
  }
  body.refined[data-route="ondernemers"] #main .audience-result-line.opt-proof > div:first-child {
    padding: 10px 0;
  }
  body.refined[data-route="organisaties"] #main .organization-proof-grid { gap: 26px; }
  body.refined[data-route="organisaties"] #main .compact-implementation { gap: 22px; }
}
@media (max-width:700px) {
  body.refined[data-route="ai-team"] #main .opt-team-picker:not([hidden]) {
    display: grid;
    gap: 10px;
    margin: 24px 0 0;
    padding: 20px;
    background: var(--opt-wash);
    border-top: 3px solid var(--opt-accent);
  }
  body.refined[data-route="ai-team"] #main .ai-specialists.is-team-enhanced .ai-role-cards {
    display: none;
  }
  body.refined[data-route="ai-team"] #main #werkvoorbeeld { scroll-margin-top: 92px; }
}
@media (max-width:360px) {
  body.refined #main .hd-inner { padding-inline: 20px; }
  body.refined #main .hd-hero h1 em { white-space: normal; }
  body.refined #main .hd-hero .hd-kicker { font-size: 11px; gap: 8px; }
  body.refined #main .hd-hero .hd-kicker:before { width: 24px; flex-shrink: 0; }
  body.refined #main .hd-actions .hd-primary { gap: 12px; padding-inline: 14px; }
  body.refined #main .hd-product-grid { width: calc(100% - 32px); }
  body.refined #main .interior-page .hd-product-hero .ef-hero-title h1 { font-size: 32px; }
  body.refined #main .opt-proof .dp-proof-desk { padding-inline: 12px; }
  body.refined #main .opt-proof .dp-proof-paper.opt-result { padding-inline: 18px; }
  body.refined[data-route="organisaties"] #main .continuity-flow.opt-proof > .opt-result { padding: 24px; }
}

/* Bridge into reflection stays close to its heading and easy to scan. */
body.refined[data-route="organisaties"] #main .interior-page .ed-org-film-intro .opt-section-intro {
  max-width: 64ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--opt-muted);
}
@media (max-width:700px) {
  body.refined[data-route="organisaties"] #main .interior-page .ed-org-film-intro .opt-section-intro {
    font-size: 17px;
  }
}

/* Small phones: readable full names beside compact, equal portrait cards. */
@media (max-width:480px) {
  body.refined[data-route="over-eef"] #main .interior-page .ed-founder-pair {
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
    max-width: none;
  }
  body.refined[data-route="over-eef"] #main .interior-page .ed-founder-person {
    display: grid;
    grid-template-columns: clamp(76px,22vw,96px) minmax(0,1fr);
    align-items: stretch;
  }
  body.refined[data-route="over-eef"] #main .interior-page .ed-founder-person > img {
    width: 100%;
    height: 100%;
    min-height: 146px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center 25%;
  }
  body.refined[data-route="over-eef"] #main .interior-page .ed-founder-person figcaption {
    min-width: 0;
    align-self: center;
    padding: 16px 12px;
  }
  body.refined[data-route="over-eef"] #main .interior-page .ed-founder-person h2 {
    font-size: 20px;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  body.refined[data-route="over-eef"] #main .interior-page .ed-founder-person p {
    font-size: 14px;
    line-height: 1.5;
  }
}

/* Match the existing hero-rule entrance on the Over EEF page. */
@media (prefers-reduced-motion: no-preference) {
  body.refined[data-route="over-eef"] #main .hd-people-hero .ed-kicker::before {
    animation: hd-rule-arrive 1s cubic-bezier(.2,.7,.2,1) both;
    transform-origin: left;
  }
}

/* Homepage: recognizable benefits and a fitting first step. */
body.refined[data-route=""] #main .opt-team-intro { padding:26px 24px 20px;scroll-margin-top:112px; }
body.refined[data-route=""] #main .opt-team-heading h2 { margin:0 0 8px;color:var(--opt-ink);font:600 30px/1.2 var(--serif);letter-spacing:-.025em; }
body.refined[data-route=""] #main .opt-team-heading p { margin:0;max-width:65ch;color:var(--opt-muted);font-size:17px;line-height:1.6; }
body.refined[data-route=""] #main .opt-team-benefits { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;list-style:none;padding:0;margin:28px 0; }
body.refined[data-route=""] #main .opt-team-benefits li { display:flex;align-items:flex-start;gap:12px;margin:0;padding:0;min-width:0; }
body.refined[data-route=""] #main .opt-team-icon { display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;background:#e8f8fa;color:#206879;border-radius:50%; }
body.refined[data-route=""] #main .opt-team-icon svg { width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;stroke-linecap:round; }
body.refined[data-route=""] #main .opt-team-benefits h3 { margin:0 0 7px;color:var(--opt-ink);font:600 22px/1.2 var(--serif);letter-spacing:-.015em; }
body.refined[data-route=""] #main .opt-team-benefits p { margin:0;color:var(--opt-muted);font-size:15px;line-height:1.5; }
body.refined[data-route=""] #main .opt-team-start { display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:24px;padding:22px 24px;border-left:3px solid var(--opt-accent);background:#f2f6f7; }
body.refined[data-route=""] #main .opt-team-start h3 { margin:0 0 7px;font:600 24px/1.2 var(--serif);letter-spacing:-.02em;color:var(--opt-ink); }
body.refined[data-route=""] #main .opt-team-start p { margin:0;max-width:55ch;font-size:15px;line-height:1.55;color:var(--opt-muted); }
body.refined[data-route=""] #main .opt-team-actions { display:flex;flex-direction:column;align-items:flex-start;gap:10px; }
body.refined[data-route=""] #main .opt-team-actions .button { white-space:normal;min-height:48px;font-size:14px; }
body.refined[data-route=""] #main .opt-team-actions .dp-link { font-size:14px; }
body.refined[data-route=""] #main .opt-team-note { margin:12px 0 0;color:var(--opt-muted);font-size:12px;line-height:1.5; }
body.refined[data-route=""] #main .opt-home-approach { width:calc(100% - 112px);max-width:1280px;margin:30px auto 0;color:var(--opt-muted);font-size:17px;line-height:1.6;scroll-margin-top:112px; }
body.refined[data-route=""] #main .opt-home-approach .dp-link { margin-left:12px;font-size:16px; }
@media(max-width:900px) {
 body.refined[data-route=""] #main .opt-team-benefits { gap:18px; }
 body.refined[data-route=""] #main .opt-team-benefits li { display:block; }
 body.refined[data-route=""] #main .opt-team-icon { margin-bottom:12px; }
 body.refined[data-route=""] #main .opt-team-start { grid-template-columns:minmax(0,1fr);gap:18px; }
 body.refined[data-route=""] #main .opt-team-actions { flex-direction:row;align-items:center;flex-wrap:wrap;gap:14px 24px; }
}
@media(max-width:700px) {
 body.refined[data-route=""] #main .opt-team-intro { padding:20px 10px 10px;scroll-margin-top:92px; }
 body.refined[data-route=""] #main .opt-team-heading h2 { font-size:27px; }
 body.refined[data-route=""] #main .opt-team-heading p { font-size:16px;line-height:1.55; }
 body.refined[data-route=""] #main .opt-team-benefits { grid-template-columns:minmax(0,1fr);gap:19px;margin:23px 0; }
 body.refined[data-route=""] #main .opt-team-benefits li { display:flex;gap:12px; }
 body.refined[data-route=""] #main .opt-team-icon { margin:0; }
 body.refined[data-route=""] #main .opt-team-benefits h3 { margin-bottom:4px;font-size:22px; }
 body.refined[data-route=""] #main .opt-team-benefits p { font-size:14px; }
 body.refined[data-route=""] #main .opt-team-start { padding:18px 16px;gap:17px; }
 body.refined[data-route=""] #main .opt-team-start h3 { font-size:23px; }
 body.refined[data-route=""] #main .opt-team-start p { font-size:14px; }
 body.refined[data-route=""] #main .opt-team-actions { flex-direction:column;align-items:stretch;gap:12px; }
 body.refined[data-route=""] #main .opt-team-actions .button { width:100%;justify-content:space-between; }
 body.refined[data-route=""] #main .opt-team-actions .dp-link { align-self:flex-start; }
 body.refined[data-route=""] #main .opt-home-approach { width:calc(100% - 40px);margin-top:22px;font-size:16px;scroll-margin-top:92px; }
 body.refined[data-route=""] #main .opt-home-approach .dp-link { margin:8px 0 0; }
}
