/* CebimifAi, cebimifai.com v3: the scroll in three layers. Merkboek 1.4 tokens. */

@font-face { font-family: "Source Serif 4"; src: url("../assets/fonts/source-serif-4-latin.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../assets/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

:root {
  --soil: #0F0F0E; --cream: #FAF8F5; --bone: #EDE7DB; --iron: #1A2820; --olive: #9DB050;
  --duif: #5E84A0; --duif-deep: #4F7590; --duif-light: #BED4E5; --duif-field: #DCE8F1;
  --goud: #D4A72C; --goud-deep: #926A00; --goud-light: #E8D098; --goud-field: #F2E5C7;
  --lichen: #7A8463; --lichen-deep: #6B7555; --lichen-light: #CED4C1; --lichen-field: #E4E8DD;
  --rule: rgba(15, 15, 14, 0.14); --rule-dark: rgba(237, 231, 219, 0.18);
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Inter", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "JetBrains Mono", "Courier New", monospace;
  --gutter: clamp(16px, 4vw, 56px); --wrap: 1180px;
  --ease: cubic-bezier(.22, .72, .18, 1); --ease-out: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--cream); color: var(--soil); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--duif-deep); text-decoration: none; text-underline-offset: 3px; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.1; letter-spacing: -0.008em; }
h3 { font-size: 22px; margin-bottom: 8px; }
p { margin: 0 0 1em; max-width: 66ch; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.05em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--goud); color: var(--soil); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 16px var(--gutter); transition: background .4s, box-shadow .4s, padding .3s, color .3s; }
.top.on-dark { color: var(--bone); }
.top.solid { background: rgba(250, 248, 245, 0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--rule); padding: 10px var(--gutter); }
.top.solid.on-dark { background: rgba(26, 40, 32, 0.9); box-shadow: 0 1px 0 var(--rule-dark); }
.brand { display: block; height: 32px; transition: opacity .4s; }
.brand img { height: 32px; width: auto; }
.brand .brand-dark { display: none; }
.top.on-dark .brand-light { display: none; }
.top.on-dark .brand-dark { display: block; }
.top:not(.solid) .brand { opacity: 0; pointer-events: none; }
body.deep .top:not(.solid) .brand { opacity: 1; pointer-events: auto; }
.nav { margin-left: auto; display: flex; gap: 22px; font-size: 14px; font-weight: 500; }
.nav a { color: inherit; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--goud); transition: right .35s var(--ease); }
.nav a:hover { text-decoration: none; }
.nav a:hover::after, .nav a.active::after { right: 0; }
.lang { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.08em; border: 1px solid currentColor; padding: 6px 10px; color: inherit; border-radius: 2px; transition: background .25s, color .25s, border-color .25s; }
.lang:hover { text-decoration: none; background: var(--goud); border-color: var(--goud); color: var(--soil); }
.mobile-nav .mobile-lang { font-family: var(--mono); font-size: 14px; color: var(--goud); border: 0; margin-top: 18px; }
.menu { display: none; margin-left: 8px; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; padding: 8px; color: inherit; }
.menu span { display: block; height: 1.5px; background: currentColor; margin: 7px 0; transition: transform .3s; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4.25px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
.mobile-nav { display: none; position: fixed; inset: 0; z-index: 40; background: var(--iron); color: var(--bone); padding: 96px var(--gutter) 40px; flex-direction: column; gap: 6px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--bone); font-family: var(--serif); font-size: 31px; padding: 10px 0; border-bottom: 1px solid var(--rule-dark); }

/* progress rail */
.rail { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 30; display: flex; flex-direction: column; gap: 10px; }
.rail a { display: flex; align-items: center; gap: 8px; color: var(--soil); opacity: .35; transition: opacity .3s; text-decoration: none; }
.rail a::before { content: ""; width: 14px; height: 1.5px; background: currentColor; transition: width .3s var(--ease); }
.rail a .mono { font-size: 10.5px; }
.rail a.active { opacity: 1; }
.rail a.active::before { width: 26px; background: var(--goud); }
.rail.on-dark a { color: var(--bone); }

/* screens */
.scr { position: relative; }
.sec { padding: clamp(88px, 13vw, 170px) 0; }
.sec-bone { background: var(--bone); }
.sec-iron { background: var(--iron); color: var(--bone); }
.sec-iron a { color: var(--goud); }
.sec-iron .kicker { color: var(--goud); }
.kicker { font-family: var(--sans); font-weight: 500; font-size: 13.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--duif-deep); display: flex; align-items: center; gap: 12px; margin: 0 0 22px; }
.kicker .mono { font-size: 12px; padding: 3px 7px; border: 1px solid currentColor; border-radius: 2px; }
.kop { font-size: clamp(34px, 5.2vw, 68px); font-weight: 300; max-width: 16ch; margin: 0 0 clamp(20px, 2.6vw, 32px); }
.display { font-size: clamp(36px, 6vw, 82px); line-height: 1.04; max-width: none; letter-spacing: -0.014em; color: var(--bone); }
.regel { margin-bottom: 22px; }

/* headline words rise from a mask */
.w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; transform: translateY(112%); transition: transform 1s var(--ease-out); transition-delay: calc(var(--i) * 55ms); will-change: transform; }
.in .w > span { transform: translateY(0); }

/* reveals */
.rv { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.in .rv, .rv.in { opacity: 1; transform: none; }
.img-rv { clip-path: inset(6% 0 6% 0); opacity: 0; transition: clip-path 1.3s var(--ease-out), opacity .9s var(--ease); }
.img-rv img { transform: scale(1.06); transition: transform 1.6s var(--ease-out); }
.in .img-rv, .img-rv.in { clip-path: inset(0 0 0 0); opacity: 1; }
.in .img-rv img, .img-rv.in img { transform: scale(1); }

/* lees meer */
.meer { margin: 8px 0 24px; max-width: 66ch; }
.meer summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 14.5px; color: var(--duif-deep); padding: 6px 0; }
.meer summary::-webkit-details-marker { display: none; }
.meer summary:hover .meer-label { text-decoration: underline; text-underline-offset: 3px; }
.plus { position: relative; width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; flex: none; transition: transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: currentColor; transform: translate(-50%, -50%); }
.plus::before { width: 8px; height: 1.2px; }
.plus::after { width: 1.2px; height: 8px; transition: transform .4s var(--ease); }
.meer.open .plus::after { transform: translate(-50%, -50%) scaleY(0); }
.meer.open .plus { transform: rotate(90deg); }
.meer-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.meer.open .meer-body { grid-template-rows: 1fr; }
.meer-inner { overflow: hidden; }
.meer-inner p { margin: 14px 0 0; font-size: 16px; line-height: 1.65; }
.meer-inner p:first-child { margin-top: 10px; }
.meer-inner p { opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease) .15s, transform .5s var(--ease) .15s; }
.meer.open .meer-inner p { opacity: 1; transform: none; }
.sec-iron .meer summary { color: var(--goud); }

/* buttons */
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 8px; }
.btn { display: inline-block; font-weight: 500; font-size: 15px; padding: 13px 22px; border-radius: 2px; border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-goud { background: var(--goud); color: var(--soil); border-color: var(--goud); }
.btn-goud:hover { background: var(--goud-light); border-color: var(--goud-light); }
.btn-ghost { color: var(--bone); border-color: var(--bone); }
.btn-ghost:hover { background: var(--bone); color: var(--iron); }
.btn-soil { background: var(--soil); color: var(--cream); border-color: var(--soil); }
.btn-soil:hover { background: var(--iron); border-color: var(--iron); }
.sub { font-size: 14.5px; color: var(--bone); opacity: .85; }
.deep { font-weight: 500; font-size: 14.5px; }

/* hero */
.hero { min-height: 100svh; background: var(--iron); color: var(--bone); display: grid; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero-weave { position: absolute; inset: -12% -10% -12% -10%; background: url("../assets/patroon/weefsel-bone.svg") center / 1400px auto repeat; opacity: .55; z-index: -1; mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, #000 20%, transparent 80%); will-change: transform; }
.hero-logo { width: clamp(250px, 30vw, 400px); margin-bottom: clamp(36px, 6vh, 72px); }
.hero .regel { color: var(--bone); opacity: .92; max-width: 54ch; }
.hero .meer summary { color: var(--goud); }
.hero .meer-inner p { color: var(--bone); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); color: var(--bone); opacity: .6; letter-spacing: .18em; text-transform: uppercase; font-size: 11px; }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 28px; background: var(--goud); margin: 8px auto 0; animation: hint 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes hint { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* bands */
.band { padding: clamp(48px, 7vw, 96px) var(--gutter); }
.band-bone { background: var(--bone); }
.band-iron { background: var(--iron); color: var(--bone); }
.band-line { font-family: var(--serif); font-weight: 300; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.25; max-width: 30ch; margin: 0 auto; text-align: center; }
.band blockquote { max-width: 960px; margin: 0 auto; }
.band blockquote p { font-family: var(--serif); font-weight: 300; font-size: clamp(25px, 3.4vw, 44px); line-height: 1.2; max-width: none; margin: 0; }
.band blockquote p::before { content: "\201C"; color: var(--goud); margin-right: .08em; }
.band blockquote p::after { content: "\201D"; color: var(--goud); margin-left: .04em; }

/* layouts */
.two { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.photo { margin: 0; }
figcaption.mono { margin-top: 10px; font-size: 11.5px; opacity: .8; }
.blocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 36px); margin-top: clamp(40px, 6vw, 72px); padding-top: clamp(28px, 4vw, 44px); border-top: 1px solid var(--rule); }
.blk p { font-size: 15px; margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); margin: clamp(28px, 4vw, 48px) 0; }
.card { background: var(--cream); padding: clamp(22px, 3vw, 34px); border-top: 3px solid var(--c); border-radius: 2px; }
.card-goud { --c: var(--goud); } .card-duif { --c: var(--duif); } .card-lichen { --c: var(--lichen); }
.card .dot { display: block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); margin-bottom: 18px; }
.card h3 { font-size: 26px; }
.card > p { font-size: 15.5px; }
.card .meer { margin-bottom: 0; }
.twin { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--rule); }
.twin blockquote { margin: 0; }
.twin p { font-family: var(--serif); font-size: clamp(19px, 1.9vw, 24px); line-height: 1.32; margin: 0; }
.twin p::before { content: "\201C"; color: var(--goud); } .twin p::after { content: "\201D"; color: var(--goud); }
.checks { list-style: none; margin: 8px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 32px; max-width: 900px; }
.checks li { padding: 13px 0 13px 26px; border-top: 1px solid var(--rule); font-size: 16.5px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 21px; width: 12px; height: 1.6px; background: var(--goud); }
.row { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 40px; }
.row li { padding: 20px 0; border-top: 1px solid var(--rule); }
.row h3 { font-size: 20px; margin-bottom: 4px; }
.row p { margin: 0; font-size: 15px; }
.divisions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.5vw, 32px); margin-top: clamp(28px, 4vw, 48px); }
.climate header { display: flex; align-items: center; gap: 10px; border-top: 3px solid var(--c); padding-top: 16px; margin-bottom: 18px; }
.climate-intelligent { --c: var(--goud); } .climate-people { --c: var(--lichen); } .climate-matter { --c: var(--duif); }
.swatch { width: 11px; height: 11px; border-radius: 50%; background: var(--c); }
.climate h3 { margin: 0; font-size: 22px; }
.climate ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.div { background: var(--bone); padding: 20px 20px 18px; border-radius: 2px; }
.div img { width: 100%; margin-bottom: 12px; }
.div p { margin: 0; font-size: 14.5px; }
.sec-zalk { padding-top: 0; }
.full { margin: 0 0 clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.full img { width: 100%; height: clamp(320px, 60vw, 760px); object-fit: cover; }
.full figcaption { position: absolute; right: var(--gutter); bottom: 14px; background: rgba(250, 248, 245, .9); padding: 6px 10px; border-radius: 2px; }
.lines { list-style: none; margin: 0 0 20px; padding: 0; max-width: 760px; }
.lines li { padding: 12px 0; border-top: 1px solid var(--rule); font-family: var(--serif); font-size: clamp(18px, 1.7vw, 22px); }
.lines li:last-child { border-bottom: 1px solid var(--rule); }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); margin-top: clamp(28px, 4vw, 48px); }
.trio article { background: var(--cream); padding: clamp(22px, 3vw, 34px); border-top: 3px solid var(--lichen); border-radius: 2px; }
.trio p { margin: 0; font-size: 15px; }
.refusals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 80px); margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--rule); }
.refusals ul { list-style: none; margin: 0; padding: 0; }
.refusals li { padding: 12px 0 12px 24px; border-top: 1px solid var(--rule); position: relative; font-size: 15.5px; }
.refusals li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 1.5px; background: var(--goud); }
.trust-line { font-family: var(--serif); font-size: clamp(22px, 2.4vw, 31px); line-height: 1.3; margin: clamp(32px, 5vw, 64px) 0 0; max-width: 32ch; }
.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 40px); counter-reset: s; }
.steps li { border-top: 1px solid var(--soil); padding-top: 18px; }
.steps li .mono { display: block; color: var(--duif-deep); margin-bottom: 10px; }
.steps p { margin: 0; font-size: 15.5px; }
.contact { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 36px 0 0; padding-top: 30px; border-top: 1px solid var(--rule-dark); }
.contact dt { color: var(--goud); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.contact dd { margin: 0; font-family: var(--serif); font-size: 22px; line-height: 1.3; }
.contact dd a { color: var(--bone); }
.contact dd a:hover { color: var(--goud); }
.sec-iron .regel { color: var(--bone); }

/* deep pages */
.deep-page .sec { padding-top: 150px; }
.deep-page h1.kop { font-size: clamp(34px, 4.6vw, 58px); }
.deep-page h2 { font-size: 26px; margin: 40px 0 14px; }
.points { list-style: none; margin: 0; padding: 0; }
.points li { padding: 14px 0; border-top: 1px solid var(--rule); font-size: 16px; line-height: 1.6; }
.points li:last-child { border-bottom: 1px solid var(--rule); }
.points b { font-family: var(--serif); font-weight: 600; font-size: 18px; }

/* footer */
.foot { background: var(--soil); color: var(--bone); padding: 48px 0 32px; }
.foot-logo { width: 150px; margin-bottom: 22px; }
.foot p { opacity: .8; max-width: none; margin: 0 0 8px; }
.foot-img { opacity: .6; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--rule-dark); }
.foot a { color: var(--goud); }

/* review captures */
html.capture .hero { min-height: 860px; }
html.capture .rv, html.capture .in .rv { opacity: 1; transform: none; transition: none; }
html.capture .w > span { transform: none; transition: none; }
html.capture .img-rv { clip-path: inset(0); opacity: 1; } html.capture .img-rv img { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rv, .in .rv { opacity: 1; transform: none; transition: none; }
  .w > span { transform: none; transition: none; }
  .img-rv { clip-path: inset(0); opacity: 1; transition: none; } .img-rv img { transform: none; }
  .scroll-hint::after { animation: none; }
  .meer-body { transition: none; } .meer-inner p { transition: none; opacity: 1; transform: none; }
}
@media (max-width: 1100px) { .rail { display: none; } }
@media (max-width: 1024px) {
  .two, .refusals { grid-template-columns: 1fr; }
  .blocks, .cards, .divisions, .trio, .steps, .contact { grid-template-columns: 1fr; }
  .twin { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav, .lang { display: none; }
  .menu { display: block; margin-left: auto; }
  .hero { padding-top: 100px; padding-bottom: 70px; }
  .hero-logo { width: 230px; }
  .display { font-size: clamp(26px, 7.6vw, 40px); }
  .kop { font-size: clamp(30px, 9vw, 40px); }
  .lead { font-size: 17.5px; }
  .div { padding: 16px; }
  .full figcaption { position: static; display: inline-block; margin: 8px var(--gutter) 0; }
}
