/* DMK Montage — visual system */
:root {
  --ink: #171529;
  --muted: #6b637f;
  --violet: #6427e8;
  --lavender: #eee6fa;
  --line: #d5ccdf;
  --shell: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; font-family: 'Segoe UI', Arial, sans-serif; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 3px solid #a374f8; outline-offset: 5px; }
[hidden] { display: none !important; }
.shell { width: min(var(--shell), calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; left: 18px; top: -100px; padding: 12px 20px; background: #fff; border: 2px solid var(--violet); }
.skip-link:focus { top: 10px; }
.eyebrow { display: flex; gap: 13px; align-items: center; font-size: 11px; letter-spacing: 3px; font-weight: 700; line-height: 1.5; }
.eyebrow::after { content: ''; width: 42px; height: 2px; background: linear-gradient(90deg, #6937ff, #d348ef); }
.icon { width: 56px; height: 56px; flex-shrink: 0; }
.icon-disc { display: grid; place-items: center; width: 90px; height: 90px; background: var(--lavender); border-radius: 50%; flex-shrink: 0; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 48px; border-radius: 5px; padding: 11px 27px; background: linear-gradient(110deg, #8560fa, #4d1ffa 38%, #7930fa 73%, #cb52ef); color: #fff; font-size: 17px; font-weight: 500; box-shadow: 0 4px 14px #6c28ff20; transition: transform .18s, filter .18s; }
.button:hover { transform: translateY(-2px); filter: brightness(1.08); }
.arrow { font-size: 27px; line-height: 1; font-weight: 300; }
.button-secondary { background: transparent; border: 1px solid #cbb7e6; color: #593184; box-shadow: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: #fffffff7; border-bottom: 1px solid #ede8f4; backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; gap: 30px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.brand-logo { width: 136px; height: 64px; object-fit: contain; }
.brand > span { font-size: 15px; font-weight: 500; }
.primary-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; font-size: 14px; font-weight: 500; }
.primary-nav a { position: relative; padding-block: 21px 17px; white-space: nowrap; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--violet); }
.primary-nav a[aria-current]::after { position: absolute; content: ''; height: 2px; bottom: 12px; left: 0; right: 0; background: linear-gradient(90deg, #5625ff, #da3ff7); }
.languages { display: flex; align-items: center; gap: 11px; font-size: 13px; }
.languages > span { color: #c4b8d7; }
.languages [data-lang] { color: var(--ink); background: none; border: 0; padding: 9px 0 5px; min-width: 25px; font-weight: 600; }
.languages [data-lang][aria-current='page'] { color: var(--violet); border-bottom: 2px solid #a53bff; }
.menu-button { display: none; }

/* Main hero — independent background and portrait assets */
.hero { overflow: hidden; color: white; background: #181629 url('assets/industrial-bg.png') center/cover no-repeat; }
.hero-inner { position: relative; min-height: 394px; }
.hero-copy { position: relative; z-index: 2; width: 630px; padding: 39px 0 33px 65px; }
.hero-eyebrow { font-size: 10px; font-weight: 600; letter-spacing: 3.7px; margin-bottom: 9px; }
.hero-title-block { position: relative; }
.hero-title-block::before { content: ''; position: absolute; width: 9px; top: 1px; bottom: 0; left: -32px; background: linear-gradient(#562dff, #b74ff1); }
.hero h1 { font-size: 56px; line-height: 1.04; letter-spacing: -1.8px; font-weight: 800; }
.hero-line { color: #e4d5ff; font-size: 35px; font-weight: 700; letter-spacing: -.8px; line-height: 1.12; }
html[lang='nl'] .hero-line { font-size: 31px; }
.hero-description { max-width: 460px; font-size: 17px; line-height: 1.4; margin: 13px 0 17px; color: #f8f6ff; }
.hero-portrait { position: absolute; width: 485px; right: 27px; top: 3px; pointer-events: none; }
.hero-portrait img { width: 100%; height: auto; }

/* Services */
.services-section { padding: 17px 0 22px; background: linear-gradient(120deg, #fff, #f7f4fc); }
.services-section .eyebrow { margin-bottom: 9px; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { display: flex; gap: 17px; padding: 0 23px 0 0; }
.service + .service { border-left: 1px solid var(--line); padding-left: 29px; }
.service h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.4px; margin: 18px 0 7px; }
.service p { font-size: 15px; color: var(--muted); line-height: 1.38; }

/* About and strengths */
.about-section { padding: 24px 0; background: radial-gradient(ellipse at bottom left, #eedffc, transparent 42%), linear-gradient(110deg, #fff, #faf8ff); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 65px; }
.about-copy .eyebrow { margin-bottom: 5px; }
.about-copy h2 { font-size: 35px; letter-spacing: -1.1px; line-height: 1.15; }
.about-role { font-size: 17px; line-height: 1.3; letter-spacing: -.4px; }
.about-copy > p:not(.eyebrow) { margin-top: 13px; font-size: 16px; line-height: 1.4; color: var(--muted); }
.about-copy .button { margin-top: 18px; }
.strength-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.strength { background: linear-gradient(135deg, #f1e9fc, #eceaf9); border-radius: 7px; padding: 14px 23px; }
.strength-heading { display: flex; align-items: center; gap: 17px; }
.strength .icon-disc { width: 66px; height: 66px; background: #e6d7f8; }
.strength .icon { width: 44px; height: 44px; }
.strength h3 { font-size: 21px; font-weight: 700; line-height: 1.1; letter-spacing: -.5px; }
.strength p { font-size: 16px; color: var(--muted); line-height: 1.3; }
.strength > p { margin-top: 7px; }

/* Direct contact */
.contact-section { color: white; background: linear-gradient(90deg, #171429b3, #171429b3), url('assets/industrial-bg.png') center/cover; }
.contact-grid { display: grid; grid-template-columns: 430px 1fr; gap: 80px; padding-block: 22px; }
.contact-section .eyebrow { font-size: 10px; font-weight: 500; }
.contact-section h2 { font-size: 22px; font-weight: 500; line-height: 1.2; margin-top: 5px; }
.contact-name { font-size: 14px; margin: 2px 0 7px; }
.contact-list { font-style: normal; }
.contact-list a, .contact-list p { display: flex; align-items: center; gap: 18px; font-size: 14px; line-height: 1.3; padding-block: 4px; }
.contact-list .icon { width: 21px; height: 21px; stroke-width: 4; }
.contact-list a:hover { text-decoration: underline; }
.contact-list p { align-items: flex-start; }
.contact-callout { display: flex; align-items: center; gap: 27px; border-left: 2px solid #a05bdf; padding-left: 65px; margin-block: 9px; }
.contact-callout > .icon { width: 43px; height: 43px; align-self: flex-start; margin-top: 9px; }
.contact-callout h3 { font-weight: 500; font-size: 18px; line-height: 1.4; }
.contact-callout p { font-size: 14px; line-height: 1.4; margin-top: 2px; }
.contact-callout .button { margin-top: 14px; min-height: 45px; font-size: 16px; }
.footer-bottom { background: #141020; color: #c1b7ce; font-size: 11px; padding-block: 11px; }

/* Project gallery */
.projects-page { background: #faf8fe; }
.page-intro { padding-top: 50px; }
.page-intro h1 { font-size: 44px; letter-spacing: -1.3px; margin-top: 9px; }
.page-intro > p:last-child { max-width: 650px; margin-top: 12px; color: var(--muted); font-size: 17px; line-height: 1.55; }
.project-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding-block: 30px; }
.project-card { border: 1px solid #e6def0; border-radius: 9px; background: #fff; overflow: hidden; }
.photo-link { display: block; position: relative; overflow: hidden; }
.photo-link img { width: 100%; height: 310px; object-fit: cover; transition: transform .25s; }
.photo-link:hover img { transform: scale(1.025); }
.photo-expand { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 35px; height: 35px; color: white; background: #1d152cbf; border-radius: 50%; font-size: 23px; }
.project-card figcaption { padding: 15px 18px; font-size: 15px; line-height: 1.4; }
.page-actions { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 45px; }
.photo-dialog { border: 0; padding: 0; background: #151221; color: white; border-radius: 10px; width: min(1050px, calc(100% - 32px)); max-height: calc(100dvh - 32px); }
.photo-dialog::backdrop { background: #0e0a15dc; backdrop-filter: blur(5px); }
.photo-dialog-inner { position: relative; }
#full-photo { max-height: calc(100dvh - 115px); width: 100%; object-fit: contain; }
.photo-close { position: absolute; top: 10px; right: 10px; width: 42px; height: 42px; color: white; background: #21172bc9; border: 1px solid #ffffff80; border-radius: 50%; font-size: 28px; }
.photo-controls { display: flex; gap: 20px; align-items: center; justify-content: space-between; padding: 12px 20px; }
.photo-controls p { text-align: center; font-size: 15px; line-height: 1.4; }
.photo-controls button { border: 1px solid #8d79ac; border-radius: 5px; color: white; background: transparent; width: 40px; height: 35px; font-size: 23px; flex-shrink: 0; }

/* About page */
.about-page { display: grid; grid-template-columns: .85fr 1.15fr; gap: 65px; padding-block: 50px; align-items: center; }
.about-photo { border-radius: 12px; overflow: hidden; background: #191629 url('assets/industrial-bg.png') center/cover; max-height: 650px; }
.about-photo img { width: 100%; height: auto; }
.story h1 { font-size: 44px; letter-spacing: -1.2px; margin-top: 8px; }
.story-role { font-weight: 600; font-size: 18px; margin: 4px 0 16px; }
.story > p:not(.eyebrow):not(.story-role) { font-size: 17px; color: var(--muted); line-height: 1.55; margin-top: 15px; }
.story h2 { font-size: 25px; letter-spacing: -.6px; margin-top: 28px; }
.story-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 27px; }

/* Laptop and tablet */
@media (max-width: 1150px) {
  .header-inner { gap: 22px; }
  .brand > span { display: none; }
  .primary-nav { gap: 25px; }
  .hero-copy { padding-left: 35px; width: 590px; }
  .hero h1 { font-size: 50px; }
  .hero-line { font-size: 31px; }
  html[lang='nl'] .hero-line { font-size: 28px; }
  .hero-portrait { right: -30px; width: 450px; }
  .service { gap: 13px; padding-right: 17px; }
  .service + .service { padding-left: 20px; }
  .service .icon-disc { width: 72px; height: 72px; }
  .service .icon { width: 46px; height: 46px; }
  .service h3 { font-size: 19px; margin-top: 11px; }
  .about-grid { gap: 35px; }
  .strength { padding: 14px; }
  .strength-heading { gap: 12px; }
  .strength h3 { font-size: 19px; }
  .strength p { font-size: 15px; }
  .contact-grid { grid-template-columns: 380px 1fr; gap: 35px; }
  .contact-callout { padding-left: 30px; gap: 20px; }
}
@media (max-width: 850px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 18px; flex-wrap: wrap; }
  .brand-logo { width: 125px; height: 60px; }
  .languages { margin-left: auto; }
  .primary-nav { width: 100%; margin-left: 0; flex-wrap: wrap; gap: 15px; padding-bottom: 10px; }
  .primary-nav a { padding: 8px 0; }
  .js .primary-nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--line); padding: 12px 20px; flex-direction: column; align-items: stretch; gap: 0; }
  .js .primary-nav.is-open { display: flex; }
  .js .primary-nav a { padding: 12px; }
  .primary-nav a[aria-current]::after { display: none; }
  .js .menu-button { display: flex; flex-direction: column; gap: 5px; justify-content: center; width: 30px; height: 40px; border: 0; background: none; padding: 3px; }
  .menu-button span { display: block; width: 24px; height: 2px; background: #20152d; }
  .hero-inner { min-height: 430px; }
  .hero-copy { width: min(580px, 100%); padding-left: 18px; padding-top: 36px; }
  .hero-eyebrow { font-size: 9px; letter-spacing: 2.3px; }
  .hero-title-block::before { width: 5px; left: -16px; }
  .hero h1 { font-size: 45px; }
  .hero-line { font-size: 29px; }
  html[lang='nl'] .hero-line { font-size: 26px; }
  .hero-description { max-width: 390px; font-size: 16px; }
  .hero-portrait { width: 390px; right: -130px; top: 10px; opacity: .6; }
  .hero-copy { text-shadow: 0 2px 5px #151221; }
  .hero-copy .button { text-shadow: none; }
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .services-section { padding-block: 26px; }
  .services-section .eyebrow { margin-bottom: 20px; }
  .service, .service + .service { padding: 0; border: 0; gap: 22px; }
  .service h3 { font-size: 22px; margin-top: 5px; }
  .service p { font-size: 16px; max-width: 460px; }
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .about-section { padding-block: 30px; }
  .strength { padding: 20px; }
  .strength h3 { font-size: 21px; }
  .strength p { font-size: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 25px; padding-block: 30px; }
  .contact-list a, .contact-list p { font-size: 16px; padding-block: 6px; }
  .contact-callout { border-left: 0; border-top: 1px solid #d0b6ee60; padding: 25px 0 0; margin: 0; }
  .contact-callout > .icon { margin-top: 2px; }
  .contact-callout p { font-size: 15px; }
  .project-gallery { grid-template-columns: 1fr 1fr; gap: 18px; }
  .about-page { grid-template-columns: 1fr; gap: 28px; padding-block: 30px; }
  .about-photo { max-height: 430px; width: min(450px, 100%); }
  .about-photo img { margin-top: 0; }
}
/* Phone: portrait has its own space, so it never obscures text. */
@media (max-width: 580px) {
  html { scroll-padding-top: 75px; }
  .hero-inner { min-height: 0; }
  .hero-copy { width: 100%; padding: 31px 0 10px 17px; }
  .hero h1 { font-size: clamp(30px, 8.8vw, 43px); letter-spacing: -1.2px; }
  .hero-line { font-size: clamp(21px, 5.7vw, 28px); letter-spacing: -.5px; }
  html[lang='nl'] .hero-line { font-size: clamp(18px, 5.2vw, 26px); }
  .hero-description { max-width: 100%; font-size: 16px; padding-right: 5px; }
  .hero-eyebrow { max-width: 310px; line-height: 1.6; }
  .hero-portrait { position: relative; top: auto; right: auto; width: min(330px, 100%); height: 290px; margin: 15px auto 0; opacity: 1; overflow: hidden; }
  .hero-portrait img { width: 100%; }
  .hero-copy { text-shadow: none; }
  .button { font-size: 16px; min-height: 47px; padding-inline: 23px; }
  .about-copy h2 { font-size: 33px; }
  .about-role { font-size: 17px; }
  .strength { padding: 15px; }
  .strength-heading { flex-direction: column; align-items: flex-start; gap: 10px; }
  .strength .icon-disc { width: 59px; height: 59px; }
  .strength .icon { width: 40px; height: 40px; }
  .strength h3 { font-size: 20px; }
  .strength p { font-size: 15px; }
  .strength > p { margin-top: 10px; }
  .contact-callout { gap: 17px; }
  .contact-callout > .icon { width: 30px; height: 30px; }
  .contact-callout h3 { font-size: 18px; }
  .contact-list { overflow-wrap: anywhere; }
  .contact-list a, .contact-list p { gap: 15px; }
  .page-intro { padding-top: 30px; }
  .page-intro h1, .story h1 { font-size: 35px; }
  .page-intro > p:last-child { font-size: 16px; }
  .project-gallery { grid-template-columns: 1fr; padding-top: 23px; }
  .photo-link img { height: 300px; }
  .about-photo { max-height: 360px; }
  .story > p:not(.eyebrow):not(.story-role) { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .photo-link img { transition: none; }
}
