/* =====================================================================
   ByMarthijs · Website UI Kit · Styles
   Modeled after bymarthijs.nl (live site)
   ===================================================================== */

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bm-white);
  color: var(--bm-black);
  font-family: var(--font-body);
}

/* ---------- Shared atoms ---------- */

.bm-display {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(56px, 7.2vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
.bm-display em { font-style: normal; color: var(--bm-blue); }

.bm-h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.bm-h1 em { font-style: normal; color: var(--bm-blue); }

.bm-h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 0;
}
.bm-h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}

.bm-body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  color: var(--bm-black);
}
.bm-lede {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  color: var(--bm-gray-600);
  max-width: 62ch;
  text-wrap: pretty;
}
.bm-small { font-size: 13px; color: var(--bm-gray-600); }

.bm-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bm-blue);
}
.bm-eyebrow--inverse { color: rgba(255,255,255,.7); }

/* Buttons */
.bm-btn {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--bm-black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all .2s cubic-bezier(.2,.7,.2,1);
  white-space: nowrap;
}
.bm-btn--lg { padding: 16px 28px; font-size: 15px; }
.bm-btn--primary { background: var(--bm-blue); color: #fff; }
.bm-btn--primary:hover { background: var(--bm-blue-700); box-shadow: var(--shadow-blue); transform: translateY(-1px); color: #fff; }
.bm-btn--ghost { border-color: var(--bm-black); color: var(--bm-black); }
.bm-btn--ghost:hover { background: var(--bm-black); color: #fff; }
.bm-btn--outline-inverse { border-color: #fff; color: #fff; }
.bm-btn--outline-inverse:hover { background: #fff; color: var(--bm-black); }
.bm-btn span[aria-hidden] { transition: transform .2s cubic-bezier(.2,.7,.2,1); }
.bm-btn:hover span[aria-hidden] { transform: translateX(3px); }

/* ---------- Nav ---------- */
.bm-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 16px 32px;
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.bm-nav__brand img { height: 32px; display: block; }
.bm-nav__links { display: flex; gap: 28px; margin-left: auto; align-items: center; }
.bm-nav__links a { font-family: var(--font-body); font-size: 14px; color: var(--bm-black); text-decoration: none; padding: 6px 0; position: relative; }
.bm-nav__links a:hover { color: var(--bm-blue); }
.bm-nav__links a.active { color: var(--bm-blue); font-weight: 700; }
.bm-nav__links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--bm-blue); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.bm-nav__links a:hover::after, .bm-nav__links a.active::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.bm-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 80px 32px 96px;
  max-width: 1280px;
  margin: 0 auto;
}
.bm-hero__copy { display: flex; flex-direction: column; gap: 22px; }
.bm-hero__sub { font-family: var(--font-display); font-weight: 500; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.1; margin: 0; color: var(--bm-gray-600); }
.bm-hero__rotator { display: inline-block; }
.bm-hero__rotator em {
  font-style: normal; color: var(--bm-blue); font-weight: 800;
  animation: rotateIn .45s cubic-bezier(.2,.7,.2,1);
  display: inline-block;
}
@keyframes rotateIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.bm-hero__cta { display: flex; gap: 12px; margin-top: 6px; }
.bm-hero__socials { display: flex; gap: 18px; padding-top: 24px; border-top: 1px solid var(--bm-gray-200); margin-top: 24px; }
.bm-hero__socials a { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--bm-black); text-decoration: none; }
.bm-hero__socials a:hover { color: var(--bm-blue); }

.bm-hero__visual {
  position: relative; aspect-ratio: 1/1.1;
  border-radius: 26px; overflow: hidden;
  background: var(--bm-black);
}
.bm-hero__video { position: absolute; inset: 0; }
.bm-hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.bm-hero__video-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  color: #fff; background:rgba(0,0,0,.4);
}
.bm-hero__play {
  width: 64px; height: 64px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.15); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.4); font-size: 18px;
}
.bm-hero__play-label { font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: 0.04em; }
.bm-hero__badge {
  position: absolute; bottom: 18px; left: 18px; z-index: 1;
  background: var(--bm-blue); color: #fff;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px; border-radius: 999px;
}
.bm-hero__badge img { width: 28px; height: 28px; filter: invert(1) brightness(2); }
.bm-hero__badge span { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 0.02em; }

/* ---------- Clients strip ---------- */
.bm-clients {
  overflow: hidden;
  background: var(--bm-white);
  padding: 36px 0 48px;
  border-top: 1px solid var(--bm-gray-200);
  border-bottom: 1px solid var(--bm-gray-200);
}
.bm-clients__head {
  text-align: center;
  margin-bottom: 24px;
}
.bm-clients__track {
  display: flex; gap: 56px; align-items: center;
  animation: scrollX 36s linear infinite;
  width: max-content;
}
.bm-clients__item {
  flex-shrink: 0;
  height: 64px; width: auto;
  display: flex; align-items: center; justify-content: center;
  filter: grayscale(1) brightness(0.95);
  opacity: 0.72;
  transition: filter .25s ease, opacity .25s ease;
}
.bm-clients__item:hover { filter: none; opacity: 1; }
.bm-clients__item img { height: 100%; width: auto; max-width: 180px; display: block; object-fit: contain; }
.bm-clients__chip {
  flex-shrink: 0; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: 24px;
  color: var(--bm-gray-400); letter-spacing: -0.01em;
  transition: color .2s ease;
}
.bm-clients__chip:hover { color: var(--bm-black); }
@keyframes scrollX { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Work grid ---------- */
.bm-work { padding: 96px 32px; max-width: 1280px; margin: 0 auto; }
.bm-section-head { margin: 0 auto 56px; display: flex; flex-direction: column; gap: 16px; max-width: 980px; }
.bm-section-head--row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 24px; max-width: none; }
.bm-work__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
.bm-work__item { text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 12px; }
.bm-work__item--0 { grid-column: span 4; }
.bm-work__item--1 { grid-column: span 2; }
.bm-work__item--2 { grid-column: span 2; }
.bm-work__item--3 { grid-column: span 4; }
.bm-work__media {
  aspect-ratio: 16/10; border-radius: 22px; background-size: cover; background-position: center;
  position: relative; overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.bm-work__item:hover .bm-work__media { transform: scale(1.012); box-shadow: var(--shadow-2); }
.bm-work__tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.95); color: var(--bm-black);
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}
.bm-work__meta { display: flex; justify-content: space-between; align-items: center; padding: 0 4px; }
.bm-work__arrow { font-family: var(--font-display); font-size: 18px; color: var(--bm-blue); transition: transform .2s ease; }
.bm-work__item:hover .bm-work__arrow { transform: translateX(4px); }

/* ---------- Services ---------- */
.bm-services { background: var(--bm-gray-100); padding: 96px 32px; }
.bm-services__grid {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.bm-service {
  padding: 36px; border-radius: 22px;
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; color: var(--bm-black);
  border: 1px solid var(--bm-gray-200);
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease;
  min-height: 280px;
}
.bm-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.bm-service--black { background: var(--bm-black); color: #fff; border-color: transparent; }
.bm-service--blue  { background: var(--bm-blue); color: #fff; border-color: transparent; }
.bm-service__num {
  font-family: var(--font-display); font-weight: 800; font-size: 64px; line-height: 1;
  color: var(--bm-blue); letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.bm-service--black .bm-service__num { color: #fff; }
.bm-service--blue  .bm-service__num { color: rgba(255,255,255,.85); }
.bm-service .bm-body { color: inherit; }
.bm-service__cta { margin-top: auto; padding-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--bm-blue); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.bm-service--black .bm-service__cta, .bm-service--blue .bm-service__cta { color: #fff; }
.bm-service__cta span { transition: transform .2s ease; }
.bm-service__cta:hover span { transform: translateX(3px); }

/* ---------- About ---------- */
.bm-about {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px;
  padding: 96px 32px; max-width: 1240px; margin: 0 auto;
  align-items: center;
}
.bm-about__portrait { position: relative; }
.bm-about__photo {
  aspect-ratio: 4/5; border-radius: 22px;
  background: var(--bm-gray-200);
  background-image: url('https://images.unsplash.com/photo-1531123897727-8f129e1688ce?auto=format&fit=crop&w=900&q=70');
  background-size: cover; background-position: center;
}
.bm-about__sticker {
  position: absolute; bottom: -18px; left: -18px;
  background: var(--bm-blue); color: #fff;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 12px; border-radius: 999px;
  box-shadow: var(--shadow-blue);
}
.bm-about__sticker img { width: 28px; height: 28px; filter: invert(1) brightness(2); }
.bm-about__sticker span { font-family: var(--font-display); font-weight: 600; font-size: 13px; }
.bm-about__copy { display: flex; flex-direction: column; gap: 18px; }
.bm-about__facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px 32px;
  margin: 24px 0 0; padding: 24px 0 0; border-top: 1px solid var(--bm-gray-200);
}
.bm-about__facts div { display: flex; flex-direction: column; }
.bm-about__facts dt { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--bm-gray-600); font-weight: 700; }
.bm-about__facts dd { margin: 4px 0 0; font-family: var(--font-display); font-weight: 700; font-size: 17px; }

/* ---------- FAQ ---------- */
.bm-faq { padding: 96px 32px; max-width: 1080px; margin: 0 auto; }
.bm-faq__list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--bm-gray-200); }
.bm-faq__item { border-bottom: 1px solid var(--bm-gray-200); }
.bm-faq__item summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bm-faq__item summary::-webkit-details-marker { display: none; }
.bm-faq__q { font-family: var(--font-display); font-weight: 600; font-size: 18px; color: var(--bm-black); }
.bm-faq__icon { font-family: var(--font-display); font-weight: 400; font-size: 28px; color: var(--bm-blue); line-height: 1; transition: transform .2s ease; }
.bm-faq__item[open] .bm-faq__icon { transform: rotate(45deg); }
.bm-faq__a { font-family: var(--font-body); font-size: 14px; line-height: 1.6; color: var(--bm-gray-600); padding: 0 4px 22px; margin: 0; max-width: 760px; }

/* ---------- Footer ---------- */
.bm-footer { background: var(--bm-black); color: #fff; }
.bm-footer__cta {
  padding: 96px 32px 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 1240px; margin: 0 auto;
  align-items: start;
}
.bm-footer__cta-copy { display: flex; flex-direction: column; gap: 20px; }
.bm-footer__cta .bm-display { color: #fff; }
.bm-footer__cta .bm-display em { color: var(--bm-blue); }
.bm-footer__lede { font-family: var(--font-body); font-size: 15px; line-height: 1.55; color: rgba(255,255,255,.65); margin: 0; max-width: 46ch; }
.bm-footer__form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.bm-field { display: flex; flex-direction: column; gap: 6px; }
.bm-field--full { grid-column: span 2; }
.bm-field label { font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.bm-field input, .bm-field textarea {
  font-family: var(--font-body); font-size: 14px; color: #fff;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.18); border-radius: 12px;
  padding: 12px 14px; outline: none; resize: none;
  transition: border .15s ease, background .15s ease;
}
.bm-field input:focus, .bm-field textarea:focus { border-color: var(--bm-blue); background: rgba(255,255,255,.08); }
.bm-field input::placeholder, .bm-field textarea::placeholder { color: rgba(255,255,255,.35); }
.bm-footer__form button { grid-column: span 2; justify-self: start; }

.bm-footer__bottom {
  padding: 48px 32px;
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 36px;
  border-top: 1px solid rgba(255,255,255,.18);
}
.bm-footer__brand img { height: 36px; filter: brightness(0) invert(1); }
.bm-footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.bm-footer__cols h4 { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.5); margin: 0 0 12px; font-weight: 700; }
.bm-footer__cols a { display: block; color: #fff; text-decoration: none; font-size: 13px; padding: 4px 0; opacity: 0.85; }
.bm-footer__cols a:hover { color: var(--bm-blue); opacity: 1; }
.bm-footer__legal {
  display: flex; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18);
  font-size: 11px; color: rgba(255,255,255,.5);
}

/* ---------- Marquee ---------- */
.bm-marquee {
  background: var(--bm-black); color: #fff;
  border-top: 1px solid rgba(255,255,255,.12);
  overflow: hidden; padding: 22px 0;
}
.bm-marquee__track {
  display: flex; gap: 36px; align-items: center;
  width: max-content;
  animation: scrollX 32s linear infinite;
}
.bm-marquee__word {
  font-family: var(--font-display); font-weight: 700; font-size: 30px;
  letter-spacing: -0.02em; white-space: nowrap;
}
.bm-marquee__star { width: 22px; height: 22px; flex-shrink: 0; }
