/* cappacity.be one-pager */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --ink: #0e1a2b;
  --ink-2: #3b4a5f;
  --red: #c61d23;
  --red-dark: #a3151b;
  --paper: #ffffff;
  --tint: #f4f2ee;
  --line: #e2dfd8;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h1 em { font-style: italic; color: var(--red); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.wrap { width: min(var(--max), 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin: 0 0 1rem; }
.eyebrow--light { color: #ff8a8e; }
.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 54ch; }
.lead--light { color: #cfd7e3; }

/* buttons */
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; padding: .85rem 1.5rem; border-radius: 4px; border: 2px solid var(--red); transition: background .15s, color .15s, border-color .15s; }
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn--sm { padding: .5rem 1rem; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: transparent; color: #fff; border-color: #fff; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.nav__brand img { height: 34px; width: auto; }
.nav__list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__list a:not(.btn) { text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2); }
.nav__list a:not(.btn):hover { color: var(--red); }

.lang { font-size: .9rem; font-weight: 600; color: var(--ink-2); border-left: 1px solid var(--line); padding-left: 1.2rem; }
.lang a { text-decoration: none; color: var(--ink-2); }
.lang a[aria-current] { color: var(--ink); border-bottom: 2px solid var(--red); }
.lang a:hover { color: var(--red); }

/* hero */
.hero { background: linear-gradient(180deg, var(--tint), #fff); padding: clamp(2.5rem, 6vw, 5rem) 0 0; overflow: hidden; }
.hero__in { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2rem; align-items: center; }
.hero__text { padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero h1 { margin-bottom: 1.4rem; }
.slogan { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--ink); border-left: 3px solid var(--red); padding-left: 1rem; margin: 1.6rem 0 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__visual { min-height: clamp(280px, 38vw, 480px); border-radius: 8px 8px 0 0; background: #243b55 url("/img/hero-nyc.jpg") center 55% / cover no-repeat; align-self: stretch; margin-bottom: -1px; }

/* sections */
.sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sec--tint { background: var(--tint); }
.sec--dark { background: var(--ink); color: #fff; }
.sec h2 { margin-bottom: 1.4rem; }
.grid2 { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.prose p { color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; border-top: 1px solid var(--line); padding-top: 2rem; }
.fact { text-align: center; }
.fact strong { display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--red); margin-bottom: .4rem; }
.fact span { color: var(--ink-2); font-size: .98rem; }

/* steps */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); padding: 1.6rem 1.4rem; border-radius: 0 0 6px 6px; }
.steps__n { display: block; font-family: var(--serif); font-size: 1.1rem; color: var(--red); margin-bottom: .6rem; }
.steps h3 { margin-bottom: .6rem; }
.steps p { color: var(--ink-2); font-size: .98rem; margin: 0; }

/* cases */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 2.5rem; }
.case { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.case__img { position: relative; aspect-ratio: 16/10; display: grid; place-items: center; color: rgba(255,255,255,.7); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.case__img { overflow: hidden; background: #243b55; }
.case__img img { width: 100%; height: 100%; object-fit: cover; }
.case__img--soilite img { object-position: center 40%; }
.case__tag { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); }
.badge { position: absolute; top: .9rem; right: .9rem; width: 84px; height: 84px; border-radius: 50%; background: #c9a24a; color: #2a1f05; display: grid; place-content: center; text-align: center; font-size: .66rem; line-height: 1.2; font-weight: 600; box-shadow: 0 2px 10px rgba(0,0,0,.35); border: 2px solid #f1d98c; letter-spacing: .02em; text-transform: none; }
.badge b { font-size: .9rem; letter-spacing: .08em; }
.case__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.case__logo { height: 72px; display: flex; align-items: center; margin-bottom: 1rem; }
.case__logo img { height: 60px; max-width: 100%; width: auto; object-fit: contain; object-position: left center; }
.case__logo img.logo--box { border-radius: 3px; }
.case__more { color: var(--red); font-weight: 600; text-decoration: none; }
.case__more:hover { text-decoration: underline; }
.case h3 { font-size: 1.2rem; margin-bottom: .7rem; }
.case p { color: var(--ink-2); font-size: .98rem; margin: 0; }

/* placeholder logo (tot de officiële logo's er zijn) */
.logo-ph { font-family: var(--sans); font-weight: 700; letter-spacing: .04em; color: var(--ink-2); font-size: 1.15rem; border: 1.5px dashed #b8b3a8; padding: .2rem .7rem; border-radius: 3px; }
.logo-ph--light { color: #fff; border-color: rgba(255,255,255,.5); font-size: .9rem; }

/* vietnam */
.vn { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.vn h2 { color: #fff; }
.vn__cta { display: flex; flex-direction: column; align-items: flex-start; gap: 1.2rem; }
.vn__badge { display: inline-flex; flex-direction: column; align-items: flex-start; gap: .6rem; color: #cfd7e3; font-size: .95rem; }
.vn__logo { background: #fff; border-radius: 8px; padding: .7rem 1rem; display: block; }
.vn__logo img { width: 240px; height: auto; }

/* logos */
.logos { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 1.4rem 1.6rem; align-items: center; }
.logos li { min-height: 72px; display: grid; place-items: center; }
.logos img { max-height: 52px; width: auto; max-width: 130px; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; mix-blend-mode: multiply; }
.logos img.logo--box { mix-blend-mode: normal; border-radius: 3px; max-width: 130px; opacity: .85; }
.logos li:hover img { filter: none; opacity: 1; }

/* contact */
.contact__in { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.contact__photo { margin: 0; }
.contact__photo img { width: 100%; max-width: 440px; margin-left: auto; mix-blend-mode: multiply; }
.contact__card { margin-top: 1.5rem; border: 1px solid var(--line); border-left: 4px solid var(--red); padding: 2rem; border-radius: 0 6px 6px 0; background: var(--tint); }
.contact__name { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; margin-bottom: .3rem; }
.contact__mail { font-size: 1.15rem; color: var(--red); font-weight: 600; text-decoration: none; }
.contact__mail:hover { text-decoration: underline; }

/* footer */
.foot { background: var(--ink); color: #cfd7e3; padding: 2.5rem 0; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.foot p { margin: 0; font-family: var(--serif); font-style: italic; }
.foot__li { display: inline-flex; align-items: center; gap: .5rem; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; }
.foot__li:hover { color: #ff8a8e; }
.foot .foot__small { font-family: var(--sans); font-style: normal; font-size: .85rem; opacity: .7; }
.foot__small a { color: inherit; text-decoration: underline; }
.foot img { height: 30px; width: auto; }

/* 404 */
.nf { min-height: 70vh; display: grid; place-content: center; text-align: center; gap: 1rem; padding: 2rem; }

/* responsive */
@media (max-width: 980px) {
  .logos { grid-template-columns: repeat(4, 1fr); }
  .hero__in, .grid2, .vn, .contact__in { grid-template-columns: 1fr; }
  .contact__photo img { max-width: 320px; margin-inline: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cases { grid-template-columns: 1fr; }
  .nav__list li:not(.nav__cta):not(.lang) { display: none; }
}
@media (max-width: 600px) {
  .logos { grid-template-columns: repeat(3, 1fr); }
  .facts, .steps { grid-template-columns: 1fr; }
  body { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
