/* Rivet project presentation, using Heika's existing brand palette. */
.rivet-feature{background:#121210;border-block:1px solid var(--rule);padding-block:clamp(48px,6.2vw,92px)}
.rivet-feature-layout,.rivet-service-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.42fr);gap:clamp(24px,5vw,78px);align-items:center}
.rivet-feature-copy p,.rivet-service-copy p{color:#c6c5bd;font-size:clamp(1rem,1.25vw,1.125rem);line-height:1.6;max-width:44ch}
.rivet-feature-copy .rivet-feature-name{font-family:Archivo,sans-serif;font-weight:650;color:var(--paper);margin:18px 0 5px}
.rivet-feature-copy h2,.rivet-service-copy h2{max-width:14ch;line-height:1.04}
.rivet-feature-copy .actions{margin-top:24px}
.rivet-feature-image{display:block;position:relative;overflow:hidden;border:1px solid #fff3;background:#171714}
.rivet-feature-image:hover{border-color:var(--orange)}
.rivet-shot{display:block;width:100%;height:auto;background:#20201c}
.rivet-feature-image .rivet-shot{transition:transform .32s ease}
@media (hover:hover) and (prefers-reduced-motion:no-preference){.rivet-feature-image:hover .rivet-shot{transform:scale(1.015)}}
.rivet-feature :focus-visible,.rivet-service-example :focus-visible,.rivet-project :focus-visible{outline:2px solid var(--orange);outline-offset:4px}
.rivet-service-example{border-block:1px solid var(--rule);background:#11110f}
.rivet-service-copy p{margin-block:17px 19px}
.rivet-service-copy .text-link,.rivet-chapter-copy .text-link{width:fit-content}
.rivet-media{min-width:0;margin:0}
.rivet-media .rivet-shot{border:1px solid #d5d3c9}
.rivet-image-frame{display:block;background:#20201c;border:1px solid #d5d3c9}
.rivet-media .rivet-image-frame .rivet-shot{height:100%;max-width:none;border:0;object-fit:contain}
.rivet-media figcaption{font-size:.875rem;line-height:1.5;margin:10px 0 0;color:#57564e}
.rivet-service-example figcaption{color:#c0beb5}
.rivet-service-example .rivet-shot{border-color:#fff3}
.rivet-service-example .rivet-shot-automatisatie,.rivet-chapter-automatisatie .rivet-shot{max-width:490px}
.rivet-project-hero{padding-block:clamp(28px,4vw,64px) clamp(36px,6vw,75px);background:#0d0d0c}
.rivet-project-hero .breadcrumbs{margin-bottom:clamp(22px,3vw,46px)}
.rivet-project-cover{display:grid;grid-template-columns:minmax(0,.84fr) minmax(0,1.16fr);align-items:center;gap:clamp(26px,4vw,58px)}
.rivet-project-intro h1{font-size:clamp(3.2rem,6.1vw,6.7rem);line-height:.96;letter-spacing:-.069em;max-width:11ch}
.rivet-project-intro .lead{max-width:33ch;color:#d4d3cc;margin-top:16px}
.rivet-project-intro .actions{margin-top:22px}
.rivet-hero-shot .rivet-shot{border-color:#fff3}
.rivet-walkthrough{background:#191915;color:var(--paper);padding-block:clamp(30px,5vw,56px);scroll-margin-top:94px}
.rivet-walkthrough-intro{display:flex;align-items:end;justify-content:space-between;gap:16px 30px;margin-bottom:23px}
.rivet-walkthrough h2{font-size:clamp(1.9rem,3.8vw,3.4rem);line-height:1.04}
.rivet-walkthrough p{max-width:66ch;color:#cbcac0;font-size:1rem;line-height:1.55;margin-top:10px}
.rivet-walkthrough-intro .button{flex-shrink:0}
.rivet-index ol{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:1px;list-style:none;padding:0;margin:0;border:1px solid #fff3;background:#fff3}
.rivet-index a{display:flex;align-items:start;gap:9px;height:100%;padding:13px;font-size:.88rem;line-height:1.28;font-weight:600;background:#191915;color:var(--paper)}
.rivet-index a:hover,.rivet-index a:focus-visible{background:#25241d;color:var(--orange)}
.rivet-index a span{color:var(--orange);font-family:Mono,monospace;font-size:.79rem}
.rivet-walkthrough .rivet-disclosure{font-size:.875rem;color:#bcbab2}
.rivet-chapters{color:var(--black)}
.rivet-project:has(.rivet-chapters){background:var(--paper)}
.rivet-chapter{display:grid;grid-template-columns:minmax(0,.73fr) minmax(0,1.52fr);align-items:center;gap:24px clamp(25px,5vw,74px);padding-block:clamp(42px,6vw,88px);border-bottom:1px solid #1515102c;scroll-margin-top:100px}
.rivet-chapter:last-child{border-bottom:0}
.rivet-chapter-copy h2{font-size:clamp(2rem,4vw,4.4rem);line-height:1.05;max-width:16ch}
.rivet-chapter-copy p{font-size:1rem;line-height:1.65;color:#45443d;margin-block:14px 18px;max-width:42ch}
.rivet-chapter-copy .text-link,.rivet-media figcaption .text-link{color:#24231c;border-bottom-color:#b44723}
.rivet-companion{grid-column:2}
.rivet-media figcaption .text-link{display:inline}
.rivet-chapter-automatisatie .rivet-media{justify-self:center;width:min(100%,490px)}
.rivet-project .cta-section{background:#11110e;color:var(--paper);border-top:1px solid #fff2}
@media(max-width:950px){.rivet-feature-layout,.rivet-service-layout{gap:28px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}.rivet-index ol{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.rivet-feature-layout,.rivet-service-layout,.rivet-project-cover,.rivet-chapter{grid-template-columns:minmax(0,1fr)}.rivet-companion{grid-column:1}.rivet-project-intro h1{max-width:13ch}.rivet-project-intro .lead{font-size:1.1rem}.rivet-walkthrough-intro{flex-wrap:wrap}.rivet-index ol{grid-template-columns:repeat(2,minmax(0,1fr))}.rivet-chapter-automatisatie .rivet-media{justify-self:start}}
