/* ==========================================================================
   v6-chrome.css — the shared shell for the v6 family.

   index-v6.html is the ONE page that does not use this file: it carries its
   own inline copy of these rules and is deliberately left alone, because it is
   the page the client has been reviewing since round 3 and a refactor of it
   before the steering group is risk with no upside. The three pages added on
   18 aug (projecten / nieuws / artikel) share this file instead, so the nav,
   the footer and the card components are fixed in one place across them.

   When v6 is promoted to index.html, fold the homepage's inline chrome into
   this file and delete the duplicate — see CLAUDE.md.

   Prefix: .v6- is the FAMILY prefix for chrome and shared components. Each
   page still owns its own prefix for its own sections (.pr-, .nw-, .ar-).
   ========================================================================== */

*,*::before,*::after{box-sizing:border-box}
html{overflow-x:clip}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
body{
  --f-head:var(--f-head-v6);
  --f-body:var(--f-body-v6);
  --f-mono:var(--f-mono-v6);
  --fs-h2:var(--fs-h2-v6);
  --fs-statement:var(--fs-statement-v6);
  margin:0;background:var(--c-paper);color:var(--c-ink);
  font:var(--fw-regular) var(--fs-15)/var(--lh-body) var(--f-body);
  -webkit-font-smoothing:antialiased;overflow-x:clip;
}
img,video{max-width:100%;display:block}
a{color:inherit}
:focus-visible{outline:2px solid var(--c-focus);outline-offset:3px}
.v6-footer :focus-visible,.v6-menu :focus-visible,
.v6-nav:not(.is-solid) :focus-visible{outline-color:var(--c-mint)}
/* the subpages have no full-bleed hero, so the nav is solid from the first
   pixel — it must never sit transparent over white body copy */
.v6-nav.is-static{background:var(--c-paper);color:var(--c-ink);
  border-bottom:1px solid var(--c-line)}

/* ---- layout ------------------------------------------------------------ */
.v6-wrap{max-width:var(--page-max);margin:0 auto;padding:0 var(--sp-section-x)}
.v6-section{padding:var(--sp-section-y-lg) 0}
.v6-section--md{padding:var(--sp-section-y-md) 0}
.v6-skip{position:absolute;left:-9999px;top:0;z-index:calc(var(--z-nav) + 2);
  background:var(--c-paper);color:var(--c-ink);padding:var(--sp-12) var(--sp-16);
  border-radius:var(--r-14)}
.v6-skip:focus{left:var(--sp-16);top:var(--sp-16)}

/* ---- type -------------------------------------------------------------- */
.v6-eyebrow{
  display:inline-block;margin:0 0 var(--sp-eyebrow);
  padding-top:var(--sp-12);border-top:2px solid var(--c-mint);
  font:var(--fw-medium) var(--fs-13)/1 var(--f-body);
  letter-spacing:var(--ls-normal);color:var(--c-indigo);
}
.v6-eyebrow--on-dark{color:var(--c-on-navy)}
.v6-h2{font:var(--fw-medium) var(--fs-h2)/var(--lh-title) var(--f-head);
  letter-spacing:var(--ls-tight);color:var(--c-ink);margin:0;text-wrap:balance}
.v6-body{font:var(--fw-regular) var(--fs-lede)/var(--lh-body) var(--f-body);
  color:var(--c-ink-soft);max-width:58ch;margin:0}

/* ---- buttons ----------------------------------------------------------- */
.v6-btn{
  display:inline-flex;align-items:center;gap:var(--sp-12);
  background:var(--c-indigo);color:var(--c-on-navy);text-decoration:none;
  border:0;border-radius:var(--r-pill);
  padding:var(--sp-12) var(--sp-12) var(--sp-12) var(--sp-24);
  font:var(--fw-medium) var(--fs-15)/1 var(--f-body);
  min-height:44px;cursor:pointer;white-space:nowrap;
  transition:background var(--dur-fast) var(--ease);
}
.v6-btn__dot{
  width:var(--sp-32);height:var(--sp-32);border-radius:var(--r-circle);background:var(--c-mint);
  display:grid;place-items:center;flex:none;position:relative;overflow:hidden;
}
.v6-btn__dot svg{width:14px;height:14px;fill:var(--c-indigo);transform:rotate(90deg)}
.v6-btn:hover{background:var(--c-indigo-soft)}
.v6-btn--on-dark{background:var(--c-paper);color:var(--c-indigo)}
.v6-btn--on-dark:hover{background:var(--c-mint-soft)}
.v6-btn-ghost{
  position:relative;display:inline-block;
  font:var(--fw-medium) var(--fs-15)/1 var(--f-body);text-decoration:none;
  border-bottom:1px solid var(--c-mint);padding-bottom:3px;
  transition:border-color var(--dur-fast) var(--ease);
}
.v6-btn-ghost:hover{border-color:var(--c-indigo)}
.v6-btn-ghost::after{content:"";position:absolute;inset:-14px -8px}
/* the plug scene — built in JS on hover, so nothing decorative is in markup */
.v6-plug__wall,.v6-plug__cord{position:absolute;pointer-events:none;border-radius:var(--r-pill)}
.v6-plug__cord{z-index:0}
.v6-plug__wall{z-index:2}
.v6-btn__dot svg{position:relative;z-index:1}
.v6-plug__wall--right{right:var(--sp-4);top:22%;width:2px;height:56%;transform:scaleY(0)}
.v6-plug__cord--right{left:0;top:50%;height:2px;width:44%;margin-top:-1px;
  transform:scaleX(0);transform-origin:left center}
.v6-btn__dot .v6-plug__wall,.v6-btn__dot .v6-plug__cord{background:var(--c-indigo)}

/* ---- nav --------------------------------------------------------------- */
.v6-nav{
  position:fixed;inset:0 0 auto;z-index:var(--z-nav);
  display:flex;align-items:center;justify-content:space-between;
  gap:var(--sp-24);padding:var(--sp-12) var(--sp-section-x);
  color:var(--c-on-navy);
  transition:background var(--dur-mid) var(--ease),color var(--dur-mid) var(--ease);
}
.v6-nav.is-solid{background:var(--c-paper);color:var(--c-ink);border-bottom:1px solid var(--c-line)}
.v6-nav.is-menu-open{
  z-index:calc(var(--z-drawer) + 1);
  background:none;border-bottom-color:transparent;color:var(--c-on-navy);
}
.v6-nav.is-menu-open .v6-btn{display:none}
.v6-nav__brand{position:relative;display:flex;align-items:center;text-decoration:none;line-height:0}
.v6-nav__brand img{width:var(--sp-56);height:var(--sp-56);display:block}
.v6-nav__links{display:flex;gap:var(--sp-24);list-style:none;margin:0;padding:0}
.v6-nav__links a{position:relative;white-space:nowrap;
  font:var(--fw-regular) var(--fs-14)/1 var(--f-body);text-decoration:none}
.v6-nav__links a::after{content:"";position:absolute;inset:-14px 0}
.v6-nav__links a:hover{opacity:.7}
.v6-nav__links a[aria-current="page"]{font-weight:var(--fw-medium);color:var(--c-indigo)}
.v6-nav__end{display:flex;align-items:center;gap:var(--sp-16)}
.v6-nav .v6-btn{padding:var(--sp-8) var(--sp-8) var(--sp-8) var(--sp-16);font-size:var(--fs-14)}
.v6-nav .v6-btn__dot{width:26px;height:26px}

.v6-burger{display:none;flex-direction:column;align-items:center;justify-content:center;
  width:44px;height:44px;padding:0;border:0;background:none;color:inherit;cursor:pointer}
.v6-burger span{display:block;width:22px;height:2px;background:currentColor;
  border-radius:var(--r-4);
  transition:transform var(--dur-mid) var(--ease),opacity var(--dur-fast) var(--ease)}
.v6-burger span + span{margin-top:5px}
.v6-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.v6-burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.v6-burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

.v6-menu{
  position:fixed;inset:0;z-index:var(--z-drawer);
  background:var(--c-indigo-deep);color:var(--c-on-navy);
  display:flex;flex-direction:column;justify-content:center;
  padding:var(--sp-96) var(--sp-section-x-mobile) var(--sp-48);
  opacity:0;visibility:hidden;overflow-y:auto;
  transition:opacity var(--dur-mid) var(--ease),visibility var(--dur-mid) var(--ease);
}
.v6-menu[hidden]{display:none}
.v6-menu.is-open{opacity:1;visibility:visible}
.v6-menu ul{list-style:none;margin:0 0 var(--sp-40);padding:0}
.v6-menu li + li{margin-top:var(--sp-20,18px)}
.v6-menu ul a{display:inline-block;text-decoration:none;
  font:var(--fw-medium) var(--fs-h3)/1.2 var(--f-head);letter-spacing:var(--ls-tight)}
.v6-menu__cta{align-self:flex-start}

/* ---- page header: the subpages' answer to the homepage hero ------------
   No video and no full viewport — these are reading pages, and the client
   values a page that gets to its content. Just the nav's clearance, an
   eyebrow, the title and a lede. */
.v6-pagehead{padding:calc(var(--sp-96) + var(--sp-64)) 0 var(--sp-64);
  border-bottom:1px solid var(--c-line)}
.v6-pagehead__inner{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);
  gap:var(--sp-64);align-items:end}
.v6-pagehead__title{font:var(--fw-medium) var(--fs-h1-page)/var(--lh-display) var(--f-head);
  letter-spacing:var(--ls-tight);color:var(--c-ink);margin:0;max-width:16ch;
  text-wrap:balance}
.v6-pagehead__lede{font:var(--fw-regular) var(--fs-lede)/var(--lh-body) var(--f-body);
  color:var(--c-ink-soft);margin:0;max-width:46ch}
/* the way back up a level, above the title */
.v6-crumb{display:flex;width:fit-content;align-items:center;gap:var(--sp-8);
  margin:0 0 var(--sp-24);text-decoration:none;
  font:var(--fw-medium) var(--fs-13)/1 var(--f-body);color:var(--c-ink-soft)}
.v6-crumb:hover{color:var(--c-indigo)}
.v6-crumb svg{width:14px;height:14px;flex:none}

/* ---- cards: shared by the project and news overviews ------------------- */
/* height:100% because the card is usually a child of the grid's <li>, not the
   grid item itself — align-items:stretch sizes the <li>, and without this the
   card sits at content height inside it and rows come out ragged. Combined
   with .v6-card__more's auto top margin, the slack collects above the "lees
   meer" line, so every card in a row ends at the same baseline. */
.v6-card{position:relative;height:100%;background:var(--c-paper);
  border:1px solid var(--c-line);
  border-radius:var(--r-20);overflow:hidden;display:flex;flex-direction:column;
  transition:transform var(--dur-slow) var(--ease-out),border-color var(--dur-fast) var(--ease)}
.v6-card:hover{transform:translateY(-6px);border-color:var(--c-mint)}
.v6-card__media{position:relative;display:block;overflow:hidden;
  border-bottom:3px solid var(--c-mint)}
.v6-card__media img{width:100%;aspect-ratio:3/2;object-fit:cover;
  transition:transform var(--dur-luxe) var(--ease-luxe)}
.v6-card:hover .v6-card__media img{transform:scale(1.03)}
/* which transitielijn a project belongs to — icon AND word, per the 18 aug
   call: "wel goed als het woord tweedehands slash reparatie onderhoud daar ook
   in staat, dat het niet alleen het icoontje is" */
.v6-card__chip{position:absolute;left:var(--sp-16);bottom:var(--sp-16);
  display:inline-flex;align-items:center;gap:var(--sp-8);
  padding:var(--sp-8) var(--sp-12);border-radius:var(--r-pill);
  background:var(--c-mint);color:var(--c-indigo);
  font:var(--fw-medium) var(--fs-13)/1 var(--f-body)}
/* a project can belong to two transitielijnen (Tieme, 4 sep — "max 2 labels
   is voldoende"); the row owns the placement so the chips stop overlapping */
.v6-card__chips{position:absolute;left:var(--sp-16);bottom:var(--sp-16);
  display:flex;flex-wrap:wrap;gap:var(--sp-8)}
.v6-card__chips .v6-card__chip{position:static}
.v6-card__chip svg{width:14px;height:14px;fill:currentColor;flex:none}
.v6-card__body{display:flex;flex-direction:column;flex:1;
  padding:var(--sp-24) var(--sp-24) var(--sp-32)}
.v6-card__meta{margin:0 0 var(--sp-12);
  font:var(--fw-regular) var(--fs-13)/1 var(--f-body);color:var(--c-ink-soft)}
.v6-card__title{font:var(--fw-medium) var(--fs-card)/var(--lh-title) var(--f-head);
  letter-spacing:var(--ls-tight);margin:0}
.v6-card__title a{text-decoration:none}
/* stretched link: one link per card rather than a nest of them */
.v6-card__title a::after{content:"";position:absolute;inset:0}
.v6-card__text{font:var(--fw-regular) var(--fs-14)/var(--lh-body) var(--f-body);
  color:var(--c-ink-soft);margin:var(--sp-12) 0 var(--sp-24)}
.v6-card__more{margin:auto 0 0;padding-top:var(--sp-16);
  border-top:1px solid var(--c-line);
  font:var(--fw-medium) var(--fs-13)/1.4 var(--f-body);color:var(--c-indigo)}
/* A finished project is marked in WORDS by the card's meta line ("Afgerond ·
   maart – juni 2026"), not by greying it out. The greyscale treatment was
   tried and dropped on 19 aug: in a single uniform grid one desaturated card
   reads as disabled rather than completed. */

/* ---- footer ------------------------------------------------------------ */
.v6-footer{position:relative;overflow:hidden;
  background:var(--c-indigo-deep);color:var(--c-on-navy);
  padding:var(--sp-64) 0;border-top:1px solid rgba(255,255,255,.12)}
.v6-footer__mark{position:absolute;right:-4%;top:50%;translate:0 -50%;
  width:min(24vw,280px);height:auto;opacity:.07;pointer-events:none}
.v6-footer__mark path{fill:var(--c-on-navy)}
.v6-footer__inner{position:relative;display:flex;justify-content:space-between;
  align-items:center;gap:var(--sp-32);flex-wrap:wrap}
.v6-footer__brand{display:flex;align-items:center;text-decoration:none;line-height:0}
.v6-footer__brand img{width:var(--sp-64);height:var(--sp-64);display:block}
.v6-footer__links{display:flex;align-items:center;gap:var(--sp-24);row-gap:var(--sp-32);
  list-style:none;margin:0;padding:0;flex-wrap:wrap}
.v6-footer__links a{position:relative;font:var(--fw-regular) var(--fs-14)/1 var(--f-body);
  text-decoration:none;opacity:.8}
.v6-footer__links a::after{content:"";position:absolute;inset:-14px 0}
.v6-footer__links a:hover{opacity:1}
/* LinkedIn closes the footer link row — same opacity ramp as its text
   neighbours, so the icon reads as one more item in the list */
.v6-footer__social{display:block;line-height:0}
.v6-footer__social svg{width:16px;height:16px;fill:currentColor;display:block}
.v6-footer__credit{font:var(--fw-regular) var(--fs-13)/1 var(--f-body);
  color:var(--c-on-navy-soft);margin:0}

/* ---- responsive --------------------------------------------------------- */
@media(max-width:1180px){ .v6-nav__links{gap:var(--sp-16)} }
@media(max-width:1024px){
  .v6-pagehead__inner{grid-template-columns:1fr;gap:var(--sp-24);align-items:start}
}
@media(max-width:860px){
  .v6-nav__links{display:none}
  .v6-burger{display:flex}
  .v6-nav{padding-left:var(--sp-section-x-mobile);padding-right:var(--sp-section-x-mobile)}
  .v6-wrap{padding:0 var(--sp-section-x-mobile)}
  .v6-section{padding:var(--sp-section-y-mobile) 0}
  .v6-section--md{padding:var(--sp-section-y-mobile) 0}
  .v6-pagehead{padding:calc(var(--sp-96) + var(--sp-32)) 0 var(--sp-48)}
}

/* ---- reveal ------------------------------------------------------------
   At rest only once the script has confirmed it can animate — .v6-anim is set
   by v6-chrome.js. With no JS, no IntersectionObserver, or reduced motion, the
   class is never added and [data-reveal] is simply visible. */
.v6-anim [data-reveal]{opacity:0;transform:translateY(24px);
  transition:opacity var(--dur-slow) var(--ease-out),transform var(--dur-slow) var(--ease-out)}
.v6-anim [data-reveal].is-in{opacity:1;transform:none}
@media(prefers-reduced-motion:reduce){
  .v6-anim [data-reveal]{opacity:1;transform:none;transition:none}
}
